Beispiel #1
0
 public static void broadcastLoginResponse(Kaminari.IBroadcaster <ProtocolQueues> broadcaster, StatusEx data)
 {
     Kaminari.Packet packet = Kaminari.Packet.make((ushort)Opcodes.opcodeLoginResponse);
     data.pack(Marshal.instance, packet);
     broadcaster.broadcast((ProtocolQueues pq) => pq.sendReliable(packet));
 }
Beispiel #2
0
 public static void broadcastLoginCharacterResultSingle(Kaminari.IBroadcaster <ProtocolQueues> broadcaster, StatusEx data, Action callback)
 {
     Kaminari.Packet packet = Kaminari.Packet.make((ushort)Opcodes.opcodeLoginCharacterResult, callback);
     data.pack(Marshal.instance, packet);
     broadcaster.broadcast((ProtocolQueues pq) => pq.sendReliable(packet));
 }