public static void broadcastSelfWorldUpdateSingle(Kaminari.Client <ProtocolQueues> client, Kaminari.IBroadcaster <ProtocolQueues> broadcaster, SelfUpdate data) { client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.broadcastSelfWorldUpdateSingle(broadcaster, data)); }
public static void broadcastSelfWorldUpdateSingle(Kaminari.IBroadcaster <ProtocolQueues> broadcaster, SelfUpdate data) { broadcaster.broadcast((ProtocolQueues pq) => pq.sendMostRecent((ushort)Opcodes.opcodeSelfWorldUpdate, data)); }
public static void sendSelfWorldUpdate(Kaminari.Client <ProtocolQueues> client, SelfUpdate data) { client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.sendSelfWorldUpdate(client.getSuperPacket().getQueues(), data)); }
public static void sendSelfWorldUpdate(ProtocolQueues pq, SelfUpdate data) { pq.sendMostRecent((ushort)Opcodes.opcodeSelfWorldUpdate, data); }