Beispiel #1
0
        internal Inventory(SteamNative.SteamInventory c, bool server)
        {
            IsServer  = server;
            inventory = c;

            inventory.LoadItemDefinitions();
            FetchItemDefinitions();
        }
Beispiel #2
0
        /// <summary>
        /// Called every frame
        /// </summary>
        internal void Update()
        {
            if (Definitions == null)
            {
                FetchItemDefinitions();

                inventory.LoadItemDefinitions();
            }

            UpdateLocalRequest();
        }