Fix types in CreateRoom match

This commit is contained in:
jvyden 2021-11-12 23:29:28 -05:00
commit 628ea235da
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -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<string> Players { get; set; }
public List<string> 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<List<int>> Slots { get; set; }
[JsonIgnore]
public List<int> FirstSlot => this.Slots[0];
public IEnumerable<int> FirstSlot => this.Slots[0];
public List<int> NAT;
public int RoomState;
public RoomState RoomState;
public int HostMood;
public int PassedNoJoinPoint;
public List<int> Location;