fix(core): Converts remaining player packets (#374)
- [X] Converts the remainder of the player packets
This commit is contained in:
parent
1e2242bb1a
commit
540a879d63
17 changed files with 836 additions and 666 deletions
|
|
@ -4,7 +4,7 @@ namespace Server.HuePickers
|
|||
{
|
||||
public class HuePicker
|
||||
{
|
||||
private static int m_NextSerial = 1;
|
||||
private static Serial m_NextSerial = 1;
|
||||
|
||||
public HuePicker(int itemID)
|
||||
{
|
||||
|
|
@ -16,7 +16,7 @@ namespace Server.HuePickers
|
|||
ItemID = itemID;
|
||||
}
|
||||
|
||||
public int Serial { get; }
|
||||
public Serial Serial { get; }
|
||||
|
||||
public int ItemID { get; }
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ namespace Server.HuePickers
|
|||
|
||||
public void SendTo(NetState state)
|
||||
{
|
||||
state.Send(new DisplayHuePicker(this));
|
||||
state.SendDisplayHuePicker(Serial, ItemID);
|
||||
state.AddHuePicker(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue