public void Read(UdpPacket packet) { playerName = packet.ReadString(); colorPreference = packet.ReadColorRGB(); }
public void Read(UdpPacket packet) { playerName = packet.ReadString(); playerNumber = packet.ReadInt(); playerColor = packet.ReadColorRGB(); }