fix(core): Converts remaining player packets (#374)

- [X] Converts the remainder of the player packets
This commit is contained in:
Kamron Batman 2020-12-30 16:09:51 -08:00 • committed by GitHub
parent 1e2242bb1a
commit 540a879d63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 836 additions and 666 deletions

View file

@ -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);
}
}