Added better GPS handling, Improved test mode, Fixed naming of players not being broadcast until a new HelloClient, Fixed lobby restarts, Fixed task handling
This commit is contained in:
@@ -197,6 +197,16 @@ public class CreateLobby : Message
|
||||
/// </summary>
|
||||
[JsonProperty("settings")]
|
||||
public GameSettingsOverrides? Settings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Optional. Live host display name from the nickname input field at
|
||||
/// the moment of CreateLobby. ClientHello-time name is stale because
|
||||
/// the handshake fires before the user has typed anything; this lets
|
||||
/// the server pick up the freshly-typed name without a separate
|
||||
/// rename round-trip.
|
||||
/// </summary>
|
||||
[JsonProperty("displayName")]
|
||||
public string? DisplayName { get; set; }
|
||||
}
|
||||
|
||||
public class CreateLobbyResponse : Message
|
||||
@@ -222,12 +232,19 @@ public class CreateLobbyResponse : Message
|
||||
public class JoinLobby : Message
|
||||
{
|
||||
public override string Type => "JoinLobby";
|
||||
|
||||
|
||||
[JsonProperty("joinCode")]
|
||||
public string JoinCode { get; set; } = "";
|
||||
|
||||
|
||||
[JsonProperty("password")]
|
||||
public string? Password { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Optional. Live joiner display name from the nickname input field
|
||||
/// at the moment of Join. See CreateLobby.DisplayName for rationale.
|
||||
/// </summary>
|
||||
[JsonProperty("displayName")]
|
||||
public string? DisplayName { get; set; }
|
||||
}
|
||||
|
||||
public class JoinLobbyResponse : Message
|
||||
|
||||
Reference in New Issue
Block a user