Beispiel #1
0
 public static void SendDeleteResponse(IPacketReceiver client, TicketInfoResponse response)
 {
     using (RealmPacketOut packet = new RealmPacketOut(RealmServerOpCode.SMSG_GMTICKET_DELETETICKET))
     {
         packet.Write((uint)response);
         client.Send(packet, false);
     }
 }
Beispiel #2
0
 public static void SendCreateResponse(IPacketReceiver client, TicketInfoResponse response)
 {
     using (var packet = new RealmPacketOut(RealmServerOpCode.SMSG_GMTICKET_CREATE))
     {
         packet.Write((uint)response);
         client.Send(packet, addEnd: false);
     }
 }
Beispiel #3
0
 public static void SendUpdateResponse(IPacketReceiver client, TicketInfoResponse response)
 {
     using (var packet = new RealmPacketOut(RealmServerOpCode.SMSG_GMTICKET_UPDATETEXT))
     {
         packet.Write((uint)response);
         client.Send(packet);
     }
 }
Beispiel #4
0
 public static void SendDeleteResponse(IPacketReceiver client, TicketInfoResponse response)
 {
     using (var packet = new RealmPacketOut(RealmServerOpCode.SMSG_GMTICKET_DELETETICKET))
     {
         // packet.Write(9);	// deleted successfully
         packet.Write((uint)response);
         client.Send(packet, addEnd: false);
     }
 }
Beispiel #5
0
		public static void SendDeleteResponse(IPacketReceiver client, TicketInfoResponse response)
		{
			using (var packet = new RealmPacketOut(RealmServerOpCode.SMSG_GMTICKET_DELETETICKET))
			{
				// packet.Write(9);	// deleted successfully
				packet.Write((uint)response);
				client.Send(packet);
			}
		}
Beispiel #6
0
		public static void SendCreateResponse(IPacketReceiver client, TicketInfoResponse response)
		{
			using (var packet = new RealmPacketOut(RealmServerOpCode.SMSG_GMTICKET_CREATE))
			{
				packet.Write((uint)response);
				client.Send(packet);
			}
		}