Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class loginalert : Interfaces.ipacket
- {
- byte[] buffer;
- public loginalert(uint data)
- {
- buffer = new byte[264 + 8];
- writer.writeuint16(264, 0, buffer);
- writer.writeuint16(2078, 2, buffer);
- writer.writeuint32(data, 4, buffer);
- }
- public void deserialize(byte[] buffer)
- {
- this.buffer = buffer;
- }
- public byte[] toarray()
- {
- return buffer;
- }
- public void send(client.gamestate client)
- {
- client.send(buffer);
- }
- }
Add Comment
Please, Sign In to add comment