From 628ea235daf6958caf7ba60ae41040b40bfff366 Mon Sep 17 00:00:00 2001 From: jvyden Date: Fri, 12 Nov 2021 23:29:28 -0500 Subject: [PATCH] Fix types in CreateRoom match --- ProjectLighthouse/Types/Match/CreateRoom.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ProjectLighthouse/Types/Match/CreateRoom.cs b/ProjectLighthouse/Types/Match/CreateRoom.cs index 54c86276..371acad9 100644 --- a/ProjectLighthouse/Types/Match/CreateRoom.cs +++ b/ProjectLighthouse/Types/Match/CreateRoom.cs @@ -9,16 +9,20 @@ namespace LBPUnion.ProjectLighthouse.Types.Match { //[CreateRoom,["Players":["LumaLivy"],"Reservations":["0"],"NAT":[2],"Slots":[[1,3]],"RoomState":0,"HostMood":1,"PassedNoJoinPoint":0,"Location":[0x7f000001],"Language":1,"BuildVersion":289,"Search":""]] public List Players { get; set; } + public List Reservations { get; set; } + // v slot type, 1 = 2974 // "Slots":[[5,0]] // ^ slot id // no idea why this is an array, but we'll work with it i suppose public List> Slots { get; set; } + [JsonIgnore] - public List FirstSlot => this.Slots[0]; + public IEnumerable FirstSlot => this.Slots[0]; + public List NAT; - public int RoomState; + public RoomState RoomState; public int HostMood; public int PassedNoJoinPoint; public List Location;