Ejemplo n.º 1
0
 public static void Initialize()
 {
     var builder = new PacketBuilder();
     builder.RegisterPackets(
         new RequestAuthPacket(),
         new AuthenticateUserPacket(),
         new UserDisconnectPacket(),
         new ServerDisconnectPacket(),
         new StartGamePacket(),
         new PlayCardRequestPacket(),
         new GameStatePacket()
         );
     Packet.Builder = builder;
 }
Ejemplo n.º 2
0
 public static void Initialize()
 {
     var builder = new PacketBuilder();
     builder.RegisterPackets(
         new ChatPacket(),
         new AuthRequestPacket(),
         new AuthResponsePacket());
     Packet.Builder = builder;
 }