예제 #1
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(playerName);
     packet.WriteColorRGB(colorPreference);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(playerName);
     packet.WriteInt(playerNumber);
     packet.WriteColorRGB(playerColor);
 }