Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public byte[] ToBytes() { PacketBuilder builder = new PacketBuilder(); builder.AddInt32(PACKET_HEADER); builder.AddByte((byte)_type); builder.AddString(_gameTitle); builder.AddVersion(_gameVersion); builder.AddIPAddress(_sourceIP); builder.AddIPAddress(_destinationIP); builder.AddString(_playerName); AddInstanceBytes(builder); builder.AddInt32(PACKET_FOOTER); return(builder.ToBytes()); }