Files
RRAC/RecRoomArchive.Models/API/GameSessions/JoinGameSessionResponse.cs
2026-02-27 19:30:49 -08:00

14 lines
446 B
C#

using System.Text.Json.Serialization;
namespace RecRoomArchive.Models.API.GameSessions
{
public class JoinGameSessionResponse
{
[JsonPropertyName(name: "Result")]
public JoinGameErrorCode Result { get; set; } = JoinGameErrorCode.Success;
[JsonPropertyName(name: "GameSession")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public GameSession? GameSession { get; set; }
}
}