Exemple #1
0
 public static void sendCharactersList(Kaminari.Client <ProtocolQueues> client, CharactersListData data, Action callback)
 {
     client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.sendCharactersList(client.getSuperPacket().getQueues(), data, callback));
 }
Exemple #2
0
 public static void broadcastCharactersListSingle(Kaminari.IBroadcaster <ProtocolQueues> broadcaster, CharactersListData data)
 {
     Kaminari.Packet packet = Kaminari.Packet.make((ushort)Opcodes.opcodeCharactersList);
     data.pack(Marshal.instance, packet);
     broadcaster.broadcast((ProtocolQueues pq) => pq.sendReliable(packet));
 }
Exemple #3
0
 public static void broadcastCharactersListSingle(Kaminari.Client <ProtocolQueues> client, Kaminari.IBroadcaster <ProtocolQueues> broadcaster, CharactersListData data)
 {
     client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.broadcastCharactersListSingle(broadcaster, data));
 }
Exemple #4
0
 public static void sendCharactersList(ProtocolQueues pq, CharactersListData data)
 {
     pq.sendReliable((ushort)Opcodes.opcodeCharactersList, data);
 }