C# Class Valve.Steamworks.CSteamUser

Inheritance: ISteamUser
Exibir arquivo Open project: kronosaur/Transcendence

Public Methods

Method Description
AdvertiseGame ( ulong steamIDGameServer, uint unIPServer, char usPortServer ) : void
BIsBehindNAT ( ) : bool
BLoggedOn ( ) : bool
BeginAuthSession ( IntPtr pAuthTicket, int cbAuthTicket, ulong steamID ) : uint
CSteamUser ( IntPtr SteamUser )
CancelAuthTicket ( uint hAuthTicket ) : void
DecompressVoice ( IntPtr pCompressed, uint cbCompressed, IntPtr pDestBuffer, uint cbDestBufferSize, uint &nBytesWritten, uint nDesiredSampleRate ) : uint
EndAuthSession ( ulong steamID ) : void
GetAuthSessionTicket ( IntPtr pTicket, int cbMaxTicket, uint &pcbTicket ) : uint
GetAvailableVoice ( uint &pcbCompressed, uint &pcbUncompressed, uint nUncompressedVoiceDesiredSampleRate ) : uint
GetEncryptedAppTicket ( IntPtr pTicket, int cbMaxTicket, uint &pcbTicket ) : bool
GetGameBadgeLevel ( int nSeries, bool bFoil ) : int
GetHSteamUser ( ) : uint
GetIntPtr ( ) : IntPtr
GetPlayerSteamLevel ( ) : int
GetSteamID ( ) : ulong
GetUserDataFolder ( string pchBuffer, int cubBuffer ) : bool
GetVoice ( bool bWantCompressed, IntPtr pDestBuffer, uint cbDestBufferSize, uint &nBytesWritten, bool bWantUncompressed, IntPtr pUncompressedDestBuffer, uint cbUncompressedDestBufferSize, uint &nUncompressBytesWritten, uint nUncompressedVoiceDesiredSampleRate ) : uint
GetVoiceOptimalSampleRate ( ) : uint
InitiateGameConnection ( IntPtr pAuthBlob, int cbMaxAuthBlob, ulong steamIDGameServer, uint unIPServer, char usPortServer, bool bSecure ) : int
RequestEncryptedAppTicket ( IntPtr pDataToInclude, int cbDataToInclude ) : ulong
RequestStoreAuthURL ( string pchRedirectURL ) : ulong
StartVoiceRecording ( ) : void
StopVoiceRecording ( ) : void
TerminateGameConnection ( uint unIPServer, char usPortServer ) : void
TrackAppUsageEvent ( ulong gameID, int eAppUsageEvent, string pchExtraInfo ) : void
UserHasLicenseForApp ( ulong steamID, uint appID ) : uint

Private Methods

Method Description
CheckIfUsable ( ) : void

Method Details

AdvertiseGame() public method

public AdvertiseGame ( ulong steamIDGameServer, uint unIPServer, char usPortServer ) : void
steamIDGameServer ulong
unIPServer uint
usPortServer char
return void

BIsBehindNAT() public method

public BIsBehindNAT ( ) : bool
return bool

BLoggedOn() public method

public BLoggedOn ( ) : bool
return bool

BeginAuthSession() public method

public BeginAuthSession ( IntPtr pAuthTicket, int cbAuthTicket, ulong steamID ) : uint
pAuthTicket System.IntPtr
cbAuthTicket int
steamID ulong
return uint

CSteamUser() public method

public CSteamUser ( IntPtr SteamUser )
SteamUser System.IntPtr

CancelAuthTicket() public method

public CancelAuthTicket ( uint hAuthTicket ) : void
hAuthTicket uint
return void

DecompressVoice() public method

public DecompressVoice ( IntPtr pCompressed, uint cbCompressed, IntPtr pDestBuffer, uint cbDestBufferSize, uint &nBytesWritten, uint nDesiredSampleRate ) : uint
pCompressed System.IntPtr
cbCompressed uint
pDestBuffer System.IntPtr
cbDestBufferSize uint
nBytesWritten uint
nDesiredSampleRate uint
return uint

EndAuthSession() public method

public EndAuthSession ( ulong steamID ) : void
steamID ulong
return void

GetAuthSessionTicket() public method

public GetAuthSessionTicket ( IntPtr pTicket, int cbMaxTicket, uint &pcbTicket ) : uint
pTicket System.IntPtr
cbMaxTicket int
pcbTicket uint
return uint

GetAvailableVoice() public method

public GetAvailableVoice ( uint &pcbCompressed, uint &pcbUncompressed, uint nUncompressedVoiceDesiredSampleRate ) : uint
pcbCompressed uint
pcbUncompressed uint
nUncompressedVoiceDesiredSampleRate uint
return uint

GetEncryptedAppTicket() public method

public GetEncryptedAppTicket ( IntPtr pTicket, int cbMaxTicket, uint &pcbTicket ) : bool
pTicket System.IntPtr
cbMaxTicket int
pcbTicket uint
return bool

GetGameBadgeLevel() public method

public GetGameBadgeLevel ( int nSeries, bool bFoil ) : int
nSeries int
bFoil bool
return int

GetHSteamUser() public method

public GetHSteamUser ( ) : uint
return uint

GetIntPtr() public method

public GetIntPtr ( ) : IntPtr
return System.IntPtr

GetPlayerSteamLevel() public method

public GetPlayerSteamLevel ( ) : int
return int

GetSteamID() public method

public GetSteamID ( ) : ulong
return ulong

GetUserDataFolder() public method

public GetUserDataFolder ( string pchBuffer, int cubBuffer ) : bool
pchBuffer string
cubBuffer int
return bool

GetVoice() public method

public GetVoice ( bool bWantCompressed, IntPtr pDestBuffer, uint cbDestBufferSize, uint &nBytesWritten, bool bWantUncompressed, IntPtr pUncompressedDestBuffer, uint cbUncompressedDestBufferSize, uint &nUncompressBytesWritten, uint nUncompressedVoiceDesiredSampleRate ) : uint
bWantCompressed bool
pDestBuffer System.IntPtr
cbDestBufferSize uint
nBytesWritten uint
bWantUncompressed bool
pUncompressedDestBuffer System.IntPtr
cbUncompressedDestBufferSize uint
nUncompressBytesWritten uint
nUncompressedVoiceDesiredSampleRate uint
return uint

GetVoiceOptimalSampleRate() public method

public GetVoiceOptimalSampleRate ( ) : uint
return uint

InitiateGameConnection() public method

public InitiateGameConnection ( IntPtr pAuthBlob, int cbMaxAuthBlob, ulong steamIDGameServer, uint unIPServer, char usPortServer, bool bSecure ) : int
pAuthBlob System.IntPtr
cbMaxAuthBlob int
steamIDGameServer ulong
unIPServer uint
usPortServer char
bSecure bool
return int

RequestEncryptedAppTicket() public method

public RequestEncryptedAppTicket ( IntPtr pDataToInclude, int cbDataToInclude ) : ulong
pDataToInclude System.IntPtr
cbDataToInclude int
return ulong

RequestStoreAuthURL() public method

public RequestStoreAuthURL ( string pchRedirectURL ) : ulong
pchRedirectURL string
return ulong

StartVoiceRecording() public method

public StartVoiceRecording ( ) : void
return void

StopVoiceRecording() public method

public StopVoiceRecording ( ) : void
return void

TerminateGameConnection() public method

public TerminateGameConnection ( uint unIPServer, char usPortServer ) : void
unIPServer uint
usPortServer char
return void

TrackAppUsageEvent() public method

public TrackAppUsageEvent ( ulong gameID, int eAppUsageEvent, string pchExtraInfo ) : void
gameID ulong
eAppUsageEvent int
pchExtraInfo string
return void

UserHasLicenseForApp() public method

public UserHasLicenseForApp ( ulong steamID, uint appID ) : uint
steamID ulong
appID uint
return uint