public static void sendCharactersList(Kaminari.Client <ProtocolQueues> client, CharactersListData data, Action callback) { client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.sendCharactersList(client.getSuperPacket().getQueues(), data, callback)); }
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)); }
public static void broadcastCharactersListSingle(Kaminari.Client <ProtocolQueues> client, Kaminari.IBroadcaster <ProtocolQueues> broadcaster, CharactersListData data) { client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.broadcastCharactersListSingle(broadcaster, data)); }
public static void sendCharactersList(ProtocolQueues pq, CharactersListData data) { pq.sendReliable((ushort)Opcodes.opcodeCharactersList, data); }