public void triggerInventoryRequestReadyCallback(IEconomyRequestResult inventoryRequestResult) { if (this.economyRequestReadyCallback == null) { return; } this.economyRequestReadyCallback(this, inventoryRequestResult); }
private void onSteamInventoryResultReady(SteamInventoryResultReady_t callback) { SteamworksEconomyRequestHandle steamworksEconomyRequestHandle = this.findSteamworksEconomyRequestHandles(callback.m_handle); if (steamworksEconomyRequestHandle == null) { return; } IEconomyRequestResult inventoryRequestResult = this.createInventoryRequestResult(steamworksEconomyRequestHandle.steamInventoryResult); steamworksEconomyRequestHandle.triggerInventoryRequestReadyCallback(inventoryRequestResult); SteamInventory.DestroyResult(steamworksEconomyRequestHandle.steamInventoryResult); }