C# Class Valve.Steamworks.CSteamInventory

Inheritance: ISteamInventory
Show file Open project: kronosaur/Transcendence

Public Methods

Method Description
AddPromoItem ( int &pResultHandle, int itemDef ) : bool
AddPromoItems ( int &pResultHandle, int pArrayItemDefs ) : bool
CSteamInventory ( IntPtr SteamInventory )
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

Private Methods

Method Description
CheckIfUsable ( ) : void

Method Details

AddPromoItem() public method

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

AddPromoItems() public method

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

CSteamInventory() public method

public CSteamInventory ( IntPtr SteamInventory )
SteamInventory System.IntPtr

CheckResultSteamID() public method

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

ConsumeItem() public method

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

DeserializeResult() public method

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

DestroyResult() public method

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

ExchangeItems() public method

public 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 method

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

GetAllItems() public method

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

GetIntPtr() public method

public GetIntPtr ( ) : IntPtr
return System.IntPtr

GetItemDefinitionIDs() public method

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

GetItemDefinitionProperty() public method

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

GetItemsByID() public method

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

GetResultItems() public method

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

GetResultStatus() public method

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

GetResultTimestamp() public method

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

GrantPromoItems() public method

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

LoadItemDefinitions() public method

public LoadItemDefinitions ( ) : bool
return bool

SendItemDropHeartbeat() public method

public SendItemDropHeartbeat ( ) : void
return void

SerializeResult() public method

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

TradeItems() public method

public 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 method

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

TriggerItemDrop() public method

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