Ejemplo n.º 1
0
        public static void HandlePacketPlayerPositionRotation(TestClient client, PlayerPositionRotationPacket ppr)
        {
            client.Position = new AbsWorldCoords(ppr.X, ppr.Y, ppr.Z);

            client.SendPacket(ppr);
            client.WaitInitialPositionRequest = false;
        }
Ejemplo n.º 2
0
 public static void HandlePacketHandshake(TestClient client, HandshakePacket hp)
 {
     client.SendPacket(new LoginRequestPacket {
         ProtocolOrEntityId = 19, Username = client.UserName
     });
 }
Ejemplo n.º 3
0
 public static void HandlePacketKeepAlive(TestClient client, KeepAlivePacket ka)
 {
     client.SendPacket(new KeepAlivePacket());
 }
Ejemplo n.º 4
0
        public static void HandlePacketPlayerPositionRotation(TestClient client, PlayerPositionRotationPacket ppr)
        {
            client.Position = new AbsWorldCoords(ppr.X, ppr.Y, ppr.Z);

            client.SendPacket(ppr);
            client.WaitInitialPositionRequest = false;
        }
Ejemplo n.º 5
0
 public static void HandlePacketKeepAlive(TestClient client, KeepAlivePacket ka)
 {
     client.SendPacket(new KeepAlivePacket());
 }
Ejemplo n.º 6
0
 public static void HandlePacketHandshake(TestClient client, HandshakePacket hp)
 {
     client.SendPacket(new LoginRequestPacket { ProtocolOrEntityId = 19, Username = client.UserName });
 }