public static void broadcastSelectedCharacterSpawnDataSingle(Kaminari.Client <ProtocolQueues> client, Kaminari.IBroadcaster <ProtocolQueues> broadcaster, CharacterSpawnData data) { client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.broadcastSelectedCharacterSpawnDataSingle(broadcaster, data)); }
public static void broadcastSelectedCharacterSpawnDataSingle(Kaminari.IBroadcaster <ProtocolQueues> broadcaster, CharacterSpawnData data) { Kaminari.Packet packet = Kaminari.Packet.make((ushort)Opcodes.opcodeSelectedCharacterSpawnData); data.pack(Marshal.instance, packet); broadcaster.broadcast((ProtocolQueues pq) => pq.sendReliable(packet)); }
public static void sendSelectedCharacterSpawnData(Kaminari.Client <ProtocolQueues> client, CharacterSpawnData data) { client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.sendSelectedCharacterSpawnData(client.getSuperPacket().getQueues(), data)); }
public static void sendSelectedCharacterSpawnData(ProtocolQueues pq, CharacterSpawnData data) { pq.sendReliable((ushort)Opcodes.opcodeSelectedCharacterSpawnData, data); }