示例#1
0
文件: Rpc.cs 项目: AErbis/Kumo
 public static void broadcastSelfWorldUpdateSingle(Kaminari.Client <ProtocolQueues> client, Kaminari.IBroadcaster <ProtocolQueues> broadcaster, SelfUpdate data)
 {
     client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.broadcastSelfWorldUpdateSingle(broadcaster, data));
 }
示例#2
0
文件: Unsafe.cs 项目: AErbis/Kumo
 public static void broadcastSelfWorldUpdateSingle(Kaminari.IBroadcaster <ProtocolQueues> broadcaster, SelfUpdate data)
 {
     broadcaster.broadcast((ProtocolQueues pq) => pq.sendMostRecent((ushort)Opcodes.opcodeSelfWorldUpdate, data));
 }
示例#3
0
文件: Rpc.cs 项目: AErbis/Kumo
 public static void sendSelfWorldUpdate(Kaminari.Client <ProtocolQueues> client, SelfUpdate data)
 {
     client.getProtocol().getPhaseSync().OneShot(() => Kumo.Unsafe.sendSelfWorldUpdate(client.getSuperPacket().getQueues(), data));
 }
示例#4
0
文件: Unsafe.cs 项目: AErbis/Kumo
 public static void sendSelfWorldUpdate(ProtocolQueues pq, SelfUpdate data)
 {
     pq.sendMostRecent((ushort)Opcodes.opcodeSelfWorldUpdate, data);
 }