Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // wobei packet1 wie immer packet(header dec) entspricht
- // raw data deklarier ich einmal dann im projekt, deshalb kein datentyp
- var packet1 = new NetworkMessage(netID);
- rawData = {
- 0x01, 0x00, // header
- 0x0C, 0x00, 0x00, 0x00,
- 0x01, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00,
- };
- packet1.PacketData = new MemoryStream(rawData);
- QueuingService.NetOutQueue.Enqueue(packet1);
Add Comment
Please, Sign In to add comment