OnLotCostResponse() public static method

public static OnLotCostResponse ( NetworkClient Client, ProcessedPacket Packet ) : LotTileEntry
Client NetworkClient
Packet ProcessedPacket
return LotTileEntry
コード例 #1
0
        /// <summary>
        /// City server sent the cost of a lot.
        /// </summary>
        public void _OnLotCost(NetworkClient Client, ProcessedPacket Packet)
        {
            LotTileEntry Entry = UIPacketHandlers.OnLotCostResponse(Client, Packet);

            if (OnLotCost != null)
            {
                OnLotCost(Entry);
            }
            else
            {
                //TODO: Error handling...
            }
        }