C# Class Valve.Steamworks.CSteamGameServer

Inheritance: ISteamGameServer
ファイルを表示 Open project: kronosaur/Transcendence

Public Methods

Method Description
AssociateWithClan ( ulong steamIDClan ) : ulong
BLoggedOn ( ) : bool
BSecure ( ) : bool
BUpdateUserData ( ulong steamIDUser, string pchPlayerName, uint uScore ) : bool
BeginAuthSession ( IntPtr pAuthTicket, int cbAuthTicket, ulong steamID ) : uint
CSteamGameServer ( IntPtr SteamGameServer )
CancelAuthTicket ( uint hAuthTicket ) : void
ClearAllKeyValues ( ) : void
ComputeNewPlayerCompatibility ( ulong steamIDNewPlayer ) : ulong
CreateUnauthenticatedUserConnection ( ) : ulong
EnableHeartbeats ( bool bActive ) : void
EndAuthSession ( ulong steamID ) : void
ForceHeartbeat ( ) : void
GetAuthSessionTicket ( IntPtr pTicket, int cbMaxTicket, uint &pcbTicket ) : uint
GetGameplayStats ( ) : void
GetIntPtr ( ) : IntPtr
GetNextOutgoingPacket ( IntPtr pOut, int cbMaxOut, uint &pNetAdr, char &pPort ) : int
GetPublicIP ( ) : uint
GetServerReputation ( ) : ulong
GetSteamID ( ) : ulong
HandleIncomingPacket ( IntPtr pData, int cbData, uint srcIP, char srcPort ) : bool
InitGameServer ( uint unIP, char usGamePort, char usQueryPort, uint unFlags, uint nGameAppId, string pchVersionString ) : bool
LogOff ( ) : void
LogOn ( string pszToken ) : void
LogOnAnonymous ( ) : void
RequestUserGroupStatus ( ulong steamIDUser, ulong steamIDGroup ) : bool
SendUserConnectAndAuthenticate ( uint unIPClient, IntPtr pvAuthBlob, uint cubAuthBlobSize, CSteamID &pSteamIDUser ) : bool
SendUserDisconnect ( ulong steamIDUser ) : void
SetBotPlayerCount ( int cBotplayers ) : void
SetDedicatedServer ( bool bDedicated ) : void
SetGameData ( string pchGameData ) : void
SetGameDescription ( string pszGameDescription ) : void
SetGameTags ( string pchGameTags ) : void
SetHeartbeatInterval ( int iHeartbeatInterval ) : void
SetKeyValue ( string pKey, string pValue ) : void
SetMapName ( string pszMapName ) : void
SetMaxPlayerCount ( int cPlayersMax ) : void
SetModDir ( string pszModDir ) : void
SetPasswordProtected ( bool bPasswordProtected ) : void
SetProduct ( string pszProduct ) : void
SetRegion ( string pszRegion ) : void
SetServerName ( string pszServerName ) : void
SetSpectatorPort ( char unSpectatorPort ) : void
SetSpectatorServerName ( string pszSpectatorServerName ) : void
UserHasLicenseForApp ( ulong steamID, uint appID ) : uint
WasRestartRequested ( ) : bool

Private Methods

Method Description
CheckIfUsable ( ) : void

Method Details

AssociateWithClan() public method

public AssociateWithClan ( ulong steamIDClan ) : ulong
steamIDClan ulong
return ulong

BLoggedOn() public method

public BLoggedOn ( ) : bool
return bool

BSecure() public method

public BSecure ( ) : bool
return bool

BUpdateUserData() public method

public BUpdateUserData ( ulong steamIDUser, string pchPlayerName, uint uScore ) : bool
steamIDUser ulong
pchPlayerName string
uScore uint
return bool

BeginAuthSession() public method

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

CSteamGameServer() public method

public CSteamGameServer ( IntPtr SteamGameServer )
SteamGameServer System.IntPtr

CancelAuthTicket() public method

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

ClearAllKeyValues() public method

public ClearAllKeyValues ( ) : void
return void

ComputeNewPlayerCompatibility() public method

public ComputeNewPlayerCompatibility ( ulong steamIDNewPlayer ) : ulong
steamIDNewPlayer ulong
return ulong

CreateUnauthenticatedUserConnection() public method

public CreateUnauthenticatedUserConnection ( ) : ulong
return ulong

EnableHeartbeats() public method

public EnableHeartbeats ( bool bActive ) : void
bActive bool
return void

EndAuthSession() public method

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

ForceHeartbeat() public method

public ForceHeartbeat ( ) : void
return void

GetAuthSessionTicket() public method

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

GetGameplayStats() public method

public GetGameplayStats ( ) : void
return void

GetIntPtr() public method

public GetIntPtr ( ) : IntPtr
return System.IntPtr

GetNextOutgoingPacket() public method

public GetNextOutgoingPacket ( IntPtr pOut, int cbMaxOut, uint &pNetAdr, char &pPort ) : int
pOut System.IntPtr
cbMaxOut int
pNetAdr uint
pPort char
return int

GetPublicIP() public method

public GetPublicIP ( ) : uint
return uint

GetServerReputation() public method

public GetServerReputation ( ) : ulong
return ulong

GetSteamID() public method

public GetSteamID ( ) : ulong
return ulong

HandleIncomingPacket() public method

public HandleIncomingPacket ( IntPtr pData, int cbData, uint srcIP, char srcPort ) : bool
pData System.IntPtr
cbData int
srcIP uint
srcPort char
return bool

InitGameServer() public method

public InitGameServer ( uint unIP, char usGamePort, char usQueryPort, uint unFlags, uint nGameAppId, string pchVersionString ) : bool
unIP uint
usGamePort char
usQueryPort char
unFlags uint
nGameAppId uint
pchVersionString string
return bool

LogOff() public method

public LogOff ( ) : void
return void

LogOn() public method

public LogOn ( string pszToken ) : void
pszToken string
return void

LogOnAnonymous() public method

public LogOnAnonymous ( ) : void
return void

RequestUserGroupStatus() public method

public RequestUserGroupStatus ( ulong steamIDUser, ulong steamIDGroup ) : bool
steamIDUser ulong
steamIDGroup ulong
return bool

SendUserConnectAndAuthenticate() public method

public SendUserConnectAndAuthenticate ( uint unIPClient, IntPtr pvAuthBlob, uint cubAuthBlobSize, CSteamID &pSteamIDUser ) : bool
unIPClient uint
pvAuthBlob System.IntPtr
cubAuthBlobSize uint
pSteamIDUser CSteamID
return bool

SendUserDisconnect() public method

public SendUserDisconnect ( ulong steamIDUser ) : void
steamIDUser ulong
return void

SetBotPlayerCount() public method

public SetBotPlayerCount ( int cBotplayers ) : void
cBotplayers int
return void

SetDedicatedServer() public method

public SetDedicatedServer ( bool bDedicated ) : void
bDedicated bool
return void

SetGameData() public method

public SetGameData ( string pchGameData ) : void
pchGameData string
return void

SetGameDescription() public method

public SetGameDescription ( string pszGameDescription ) : void
pszGameDescription string
return void

SetGameTags() public method

public SetGameTags ( string pchGameTags ) : void
pchGameTags string
return void

SetHeartbeatInterval() public method

public SetHeartbeatInterval ( int iHeartbeatInterval ) : void
iHeartbeatInterval int
return void

SetKeyValue() public method

public SetKeyValue ( string pKey, string pValue ) : void
pKey string
pValue string
return void

SetMapName() public method

public SetMapName ( string pszMapName ) : void
pszMapName string
return void

SetMaxPlayerCount() public method

public SetMaxPlayerCount ( int cPlayersMax ) : void
cPlayersMax int
return void

SetModDir() public method

public SetModDir ( string pszModDir ) : void
pszModDir string
return void

SetPasswordProtected() public method

public SetPasswordProtected ( bool bPasswordProtected ) : void
bPasswordProtected bool
return void

SetProduct() public method

public SetProduct ( string pszProduct ) : void
pszProduct string
return void

SetRegion() public method

public SetRegion ( string pszRegion ) : void
pszRegion string
return void

SetServerName() public method

public SetServerName ( string pszServerName ) : void
pszServerName string
return void

SetSpectatorPort() public method

public SetSpectatorPort ( char unSpectatorPort ) : void
unSpectatorPort char
return void

SetSpectatorServerName() public method

public SetSpectatorServerName ( string pszSpectatorServerName ) : void
pszSpectatorServerName string
return void

UserHasLicenseForApp() public method

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

WasRestartRequested() public method

public WasRestartRequested ( ) : bool
return bool