mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-30 00:38:38 +00:00
Fix types in CreateRoom match
This commit is contained in:
parent
7f80679264
commit
628ea235da
1 changed files with 6 additions and 2 deletions
|
@ -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":""]]
|
//[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> Players { get; set; }
|
||||||
|
|
||||||
public List<string> Reservations { get; set; }
|
public List<string> Reservations { get; set; }
|
||||||
|
|
||||||
// v slot type, 1 = 2974
|
// v slot type, 1 = 2974
|
||||||
// "Slots":[[5,0]]
|
// "Slots":[[5,0]]
|
||||||
// ^ slot id
|
// ^ slot id
|
||||||
// no idea why this is an array, but we'll work with it i suppose
|
// no idea why this is an array, but we'll work with it i suppose
|
||||||
public List<List<int>> Slots { get; set; }
|
public List<List<int>> Slots { get; set; }
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public List<int> FirstSlot => this.Slots[0];
|
public IEnumerable<int> FirstSlot => this.Slots[0];
|
||||||
|
|
||||||
public List<int> NAT;
|
public List<int> NAT;
|
||||||
public int RoomState;
|
public RoomState RoomState;
|
||||||
public int HostMood;
|
public int HostMood;
|
||||||
public int PassedNoJoinPoint;
|
public int PassedNoJoinPoint;
|
||||||
public List<int> Location;
|
public List<int> Location;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue