You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting server name from GameServerItem after query has finished refreshing:
for i in0..request.get_server_count().unwrap_or(0){ifletOk(server) = request.get_server_details(i){println!("{:?}", server.server_name);println!("{:?}", server.map);}}
Console output (name is empty, map is correct):
""
"Test Map"
Preview on Steam server browser (the name / map are being displayed correctly):
Not sure what's causing this (if it's something I've done wrong, or an issue with the crate)
The text was updated successfully, but these errors were encountered:
Upd: also there was a bug with server.set_server_name() fixed in 4e529e0 which still not on crates.io. Check if this might be the cause of this behavior
Setting server name:
Getting server name from GameServerItem after query has finished refreshing:
Console output (name is empty, map is correct):
Preview on Steam server browser (the name / map are being displayed correctly):
Not sure what's causing this (if it's something I've done wrong, or an issue with the crate)
The text was updated successfully, but these errors were encountered: