예제 #1
0
 static bool ItemIsSendByMe(ItemPrintJsonPacket printJsonPacket) => printJsonPacket.Item.Player == session.ConnectionInfo.Slot;
예제 #2
0
 static bool ItemIsReceivedByMe(ItemPrintJsonPacket printJsonPacket) => printJsonPacket.ReceivingPlayer == session.ConnectionInfo.Slot;
예제 #3
0
 static void OnItemPrintJsonPacketReceived(ItemPrintJsonPacket printJsonPacket) =>
 OnPrintJsonPacketReceived(printJsonPacket, ItemIsSendByMe(printJsonPacket), ItemIsReceivedByMe(printJsonPacket), printJsonPacket.Item.Flags);