Esempio n. 1
0
File: Rpc.cs Progetto: AErbis/Kumo
 public static void sendCharactersList(Kaminari.Client <ProtocolQueues> client, CharactersListData data, Action callback)
 {
     client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.sendCharactersList(client.getSuperPacket().getQueues(), data, callback));
 }
Esempio n. 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));
 }
Esempio n. 3
0
File: Rpc.cs Progetto: AErbis/Kumo
 public static void broadcastCharactersListSingle(Kaminari.Client <ProtocolQueues> client, Kaminari.IBroadcaster <ProtocolQueues> broadcaster, CharactersListData data)
 {
     client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.broadcastCharactersListSingle(broadcaster, data));
 }
Esempio n. 4
0
 public static void sendCharactersList(ProtocolQueues pq, CharactersListData data)
 {
     pq.sendReliable((ushort)Opcodes.opcodeCharactersList, data);
 }