Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Authentication : Interfaces.IPacket
- {
- public string Username, Password, Server;
- public Authentication() { }
- public void Deserialize(byte[] buffer)
- {
- Username = Program.Encoding.GetString(buffer, 8, 32).Replace("\0", "");
- Password = Program.Encoding.GetString(buffer, 100, 32).Replace("\0", "");
- Server = Program.Encoding.GetString(buffer, 136, 16).Replace("\0", "");
- }
- public byte[] ToArray() { throw new NotImplementedException(); }
- public void Send(Client.GameState client) { }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement