C# Class Valve.Steamworks.ISteamInventory

显示文件 Open project: kronosaur/Transcendence

Public Methods

Method Description
AddPromoItem ( int &pResultHandle, int itemDef ) : bool
AddPromoItems ( int &pResultHandle, int pArrayItemDefs ) : bool
CheckResultSteamID ( int resultHandle, ulong steamIDExpected ) : bool
ConsumeItem ( int &pResultHandle, ulong itemConsume, uint unQuantity ) : bool
DeserializeResult ( int &pOutResultHandle, IntPtr pBuffer, uint unBufferSize, bool bRESERVED_MUST_BE_FALSE ) : bool
DestroyResult ( int resultHandle ) : void
ExchangeItems ( int &pResultHandle, int pArrayGenerate, uint punArrayGenerateQuantity, ulong pArrayDestroy, uint punArrayDestroyQuantity ) : bool
GenerateItems ( int &pResultHandle, int pArrayItemDefs, uint punArrayQuantity ) : bool
GetAllItems ( int &pResultHandle ) : bool
GetIntPtr ( ) : IntPtr
GetItemDefinitionIDs ( int &pItemDefIDs ) : bool
GetItemDefinitionProperty ( int iDefinition, string pchPropertyName, string &pchValueBuffer ) : bool
GetItemsByID ( int &pResultHandle, ulong pInstanceIDs ) : bool
GetResultItems ( int resultHandle, SteamItemDetails_t &pOutItemsArray ) : bool
GetResultStatus ( int resultHandle ) : uint
GetResultTimestamp ( int resultHandle ) : uint
GrantPromoItems ( int &pResultHandle ) : bool
LoadItemDefinitions ( ) : bool
SendItemDropHeartbeat ( ) : void
SerializeResult ( int resultHandle, IntPtr pOutBuffer, uint &punOutBufferSize ) : bool
TradeItems ( int &pResultHandle, ulong steamIDTradePartner, ulong pArrayGive, uint pArrayGiveQuantity, ulong pArrayGet, uint pArrayGetQuantity ) : bool
TransferItemQuantity ( int &pResultHandle, ulong itemIdSource, uint unQuantity, ulong itemIdDest ) : bool
TriggerItemDrop ( int &pResultHandle, int dropListDefinition ) : bool

Method Details

AddPromoItem() public abstract method

public abstract AddPromoItem ( int &pResultHandle, int itemDef ) : bool
pResultHandle int
itemDef int
return bool

AddPromoItems() public abstract method

public abstract AddPromoItems ( int &pResultHandle, int pArrayItemDefs ) : bool
pResultHandle int
pArrayItemDefs int
return bool

CheckResultSteamID() public abstract method

public abstract CheckResultSteamID ( int resultHandle, ulong steamIDExpected ) : bool
resultHandle int
steamIDExpected ulong
return bool

ConsumeItem() public abstract method

public abstract ConsumeItem ( int &pResultHandle, ulong itemConsume, uint unQuantity ) : bool
pResultHandle int
itemConsume ulong
unQuantity uint
return bool

DeserializeResult() public abstract method

public abstract DeserializeResult ( int &pOutResultHandle, IntPtr pBuffer, uint unBufferSize, bool bRESERVED_MUST_BE_FALSE ) : bool
pOutResultHandle int
pBuffer IntPtr
unBufferSize uint
bRESERVED_MUST_BE_FALSE bool
return bool

DestroyResult() public abstract method

public abstract DestroyResult ( int resultHandle ) : void
resultHandle int
return void

ExchangeItems() public abstract method

public abstract ExchangeItems ( int &pResultHandle, int pArrayGenerate, uint punArrayGenerateQuantity, ulong pArrayDestroy, uint punArrayDestroyQuantity ) : bool
pResultHandle int
pArrayGenerate int
punArrayGenerateQuantity uint
pArrayDestroy ulong
punArrayDestroyQuantity uint
return bool

GenerateItems() public abstract method

public abstract GenerateItems ( int &pResultHandle, int pArrayItemDefs, uint punArrayQuantity ) : bool
pResultHandle int
pArrayItemDefs int
punArrayQuantity uint
return bool

GetAllItems() public abstract method

public abstract GetAllItems ( int &pResultHandle ) : bool
pResultHandle int
return bool

GetIntPtr() public abstract method

public abstract GetIntPtr ( ) : IntPtr
return IntPtr

GetItemDefinitionIDs() public abstract method

public abstract GetItemDefinitionIDs ( int &pItemDefIDs ) : bool
pItemDefIDs int
return bool

GetItemDefinitionProperty() public abstract method

public abstract GetItemDefinitionProperty ( int iDefinition, string pchPropertyName, string &pchValueBuffer ) : bool
iDefinition int
pchPropertyName string
pchValueBuffer string
return bool

GetItemsByID() public abstract method

public abstract GetItemsByID ( int &pResultHandle, ulong pInstanceIDs ) : bool
pResultHandle int
pInstanceIDs ulong
return bool

GetResultItems() public abstract method

public abstract GetResultItems ( int resultHandle, SteamItemDetails_t &pOutItemsArray ) : bool
resultHandle int
pOutItemsArray SteamItemDetails_t
return bool

GetResultStatus() public abstract method

public abstract GetResultStatus ( int resultHandle ) : uint
resultHandle int
return uint

GetResultTimestamp() public abstract method

public abstract GetResultTimestamp ( int resultHandle ) : uint
resultHandle int
return uint

GrantPromoItems() public abstract method

public abstract GrantPromoItems ( int &pResultHandle ) : bool
pResultHandle int
return bool

LoadItemDefinitions() public abstract method

public abstract LoadItemDefinitions ( ) : bool
return bool

SendItemDropHeartbeat() public abstract method

public abstract SendItemDropHeartbeat ( ) : void
return void

SerializeResult() public abstract method

public abstract SerializeResult ( int resultHandle, IntPtr pOutBuffer, uint &punOutBufferSize ) : bool
resultHandle int
pOutBuffer IntPtr
punOutBufferSize uint
return bool

TradeItems() public abstract method

public abstract TradeItems ( int &pResultHandle, ulong steamIDTradePartner, ulong pArrayGive, uint pArrayGiveQuantity, ulong pArrayGet, uint pArrayGetQuantity ) : bool
pResultHandle int
steamIDTradePartner ulong
pArrayGive ulong
pArrayGiveQuantity uint
pArrayGet ulong
pArrayGetQuantity uint
return bool

TransferItemQuantity() public abstract method

public abstract TransferItemQuantity ( int &pResultHandle, ulong itemIdSource, uint unQuantity, ulong itemIdDest ) : bool
pResultHandle int
itemIdSource ulong
unQuantity uint
itemIdDest ulong
return bool

TriggerItemDrop() public abstract method

public abstract TriggerItemDrop ( int &pResultHandle, int dropListDefinition ) : bool
pResultHandle int
dropListDefinition int
return bool