示例#1
0
 internal override void Shutdown()
 {
     base.Shutdown();
     this._GetResultStatus           = null;
     this._GetResultItems            = null;
     this._GetResultItems_Windows    = null;
     this._GetResultItemProperty     = null;
     this._GetResultTimestamp        = null;
     this._CheckResultSteamID        = null;
     this._DestroyResult             = null;
     this._GetAllItems               = null;
     this._GetItemsByID              = null;
     this._SerializeResult           = null;
     this._DeserializeResult         = null;
     this._GenerateItems             = null;
     this._GrantPromoItems           = null;
     this._AddPromoItem              = null;
     this._AddPromoItems             = null;
     this._ConsumeItem               = null;
     this._ExchangeItems             = null;
     this._TransferItemQuantity      = null;
     this._SendItemDropHeartbeat     = null;
     this._TriggerItemDrop           = null;
     this._TradeItems                = null;
     this._LoadItemDefinitions       = null;
     this._GetItemDefinitionIDs      = null;
     this._GetItemDefinitionProperty = null;
     this._RequestEligiblePromoItemDefinitionsIDs = null;
     this._GetEligiblePromoItemDefinitionIDs      = null;
     this._StartPurchase          = null;
     this._RequestPrices          = null;
     this._GetNumItemsWithPrices  = null;
     this._GetItemsWithPrices     = null;
     this._GetItemPrice           = null;
     this._StartUpdateProperties  = null;
     this._RemoveProperty         = null;
     this._SetProperty1           = null;
     this._SetProperty2           = null;
     this._SetProperty3           = null;
     this._SetProperty4           = null;
     this._SubmitUpdateProperties = null;
 }
示例#2
0
 public override void InitInternals()
 {
     this._GetResultStatus           = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetResultStatus>(Marshal.ReadIntPtr(this.VTable, 0));
     this._GetResultItems            = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetResultItems>(Marshal.ReadIntPtr(this.VTable, 8));
     this._GetResultItems_Windows    = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetResultItems_Windows>(Marshal.ReadIntPtr(this.VTable, 8));
     this._GetResultItemProperty     = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetResultItemProperty>(Marshal.ReadIntPtr(this.VTable, 16));
     this._GetResultTimestamp        = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetResultTimestamp>(Marshal.ReadIntPtr(this.VTable, 24));
     this._CheckResultSteamID        = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FCheckResultSteamID>(Marshal.ReadIntPtr(this.VTable, 32));
     this._DestroyResult             = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FDestroyResult>(Marshal.ReadIntPtr(this.VTable, 40));
     this._GetAllItems               = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetAllItems>(Marshal.ReadIntPtr(this.VTable, 48));
     this._GetItemsByID              = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetItemsByID>(Marshal.ReadIntPtr(this.VTable, 56));
     this._SerializeResult           = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FSerializeResult>(Marshal.ReadIntPtr(this.VTable, 64));
     this._DeserializeResult         = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FDeserializeResult>(Marshal.ReadIntPtr(this.VTable, 72));
     this._GenerateItems             = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGenerateItems>(Marshal.ReadIntPtr(this.VTable, 80));
     this._GrantPromoItems           = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGrantPromoItems>(Marshal.ReadIntPtr(this.VTable, 88));
     this._AddPromoItem              = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FAddPromoItem>(Marshal.ReadIntPtr(this.VTable, 96));
     this._AddPromoItems             = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FAddPromoItems>(Marshal.ReadIntPtr(this.VTable, 104));
     this._ConsumeItem               = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FConsumeItem>(Marshal.ReadIntPtr(this.VTable, 112));
     this._ExchangeItems             = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FExchangeItems>(Marshal.ReadIntPtr(this.VTable, 120));
     this._TransferItemQuantity      = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FTransferItemQuantity>(Marshal.ReadIntPtr(this.VTable, 128));
     this._SendItemDropHeartbeat     = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FSendItemDropHeartbeat>(Marshal.ReadIntPtr(this.VTable, 136));
     this._TriggerItemDrop           = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FTriggerItemDrop>(Marshal.ReadIntPtr(this.VTable, 144));
     this._TradeItems                = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FTradeItems>(Marshal.ReadIntPtr(this.VTable, 152));
     this._LoadItemDefinitions       = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FLoadItemDefinitions>(Marshal.ReadIntPtr(this.VTable, 160));
     this._GetItemDefinitionIDs      = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetItemDefinitionIDs>(Marshal.ReadIntPtr(this.VTable, 168));
     this._GetItemDefinitionProperty = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetItemDefinitionProperty>(Marshal.ReadIntPtr(this.VTable, 176));
     this._RequestEligiblePromoItemDefinitionsIDs = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FRequestEligiblePromoItemDefinitionsIDs>(Marshal.ReadIntPtr(this.VTable, 184));
     this._GetEligiblePromoItemDefinitionIDs      = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetEligiblePromoItemDefinitionIDs>(Marshal.ReadIntPtr(this.VTable, 192));
     this._StartPurchase          = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FStartPurchase>(Marshal.ReadIntPtr(this.VTable, 200));
     this._RequestPrices          = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FRequestPrices>(Marshal.ReadIntPtr(this.VTable, 208));
     this._GetNumItemsWithPrices  = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetNumItemsWithPrices>(Marshal.ReadIntPtr(this.VTable, 216));
     this._GetItemsWithPrices     = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetItemsWithPrices>(Marshal.ReadIntPtr(this.VTable, 224));
     this._GetItemPrice           = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FGetItemPrice>(Marshal.ReadIntPtr(this.VTable, 232));
     this._StartUpdateProperties  = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FStartUpdateProperties>(Marshal.ReadIntPtr(this.VTable, 240));
     this._RemoveProperty         = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FRemoveProperty>(Marshal.ReadIntPtr(this.VTable, 248));
     this._SetProperty1           = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FSetProperty1>(Marshal.ReadIntPtr(this.VTable, 256));
     this._SetProperty2           = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FSetProperty2>(Marshal.ReadIntPtr(this.VTable, 264));
     this._SetProperty3           = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FSetProperty3>(Marshal.ReadIntPtr(this.VTable, 272));
     this._SetProperty4           = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FSetProperty4>(Marshal.ReadIntPtr(this.VTable, 280));
     this._SubmitUpdateProperties = Marshal.GetDelegateForFunctionPointer <ISteamInventory.FSubmitUpdateProperties>(Marshal.ReadIntPtr(this.VTable, 288));
 }