示例#1
0
        /// <summary>
        /// Sync the player's inventory to client-side.
        /// </summary>
        /// <param name="client"></param>
        public static void SyncInventory(Client client)
        {
            string json = InventoryHandler.GetInventory(client);

            client.TriggerEvent("Recieve_Inventory", json);
        }