예제 #1
0
파일: Rpc.cs 프로젝트: 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));
 }
예제 #2
0
파일: Unsafe.cs 프로젝트: AErbis/Kumo
 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));
 }
예제 #3
0
파일: Rpc.cs 프로젝트: 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));
 }
예제 #4
0
파일: Unsafe.cs 프로젝트: AErbis/Kumo
 public static void sendCharactersList(ProtocolQueues pq, CharactersListData data)
 {
     pq.sendReliable((ushort)Opcodes.opcodeCharactersList, data);
 }