C# Class Valve.Steamworks.CSteamGameServer

Inheritance: ISteamGameServer
Afficher le fichier Open project: kronosaur/Transcendence

Méthodes publiques

Méthode 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

Méthode Description
CheckIfUsable ( ) : void

Method Details

AssociateWithClan() public méthode

public AssociateWithClan ( ulong steamIDClan ) : ulong
steamIDClan ulong
Résultat ulong

BLoggedOn() public méthode

public BLoggedOn ( ) : bool
Résultat bool

BSecure() public méthode

public BSecure ( ) : bool
Résultat bool

BUpdateUserData() public méthode

public BUpdateUserData ( ulong steamIDUser, string pchPlayerName, uint uScore ) : bool
steamIDUser ulong
pchPlayerName string
uScore uint
Résultat bool

BeginAuthSession() public méthode

public BeginAuthSession ( IntPtr pAuthTicket, int cbAuthTicket, ulong steamID ) : uint
pAuthTicket System.IntPtr
cbAuthTicket int
steamID ulong
Résultat uint

CSteamGameServer() public méthode

public CSteamGameServer ( IntPtr SteamGameServer )
SteamGameServer System.IntPtr

CancelAuthTicket() public méthode

public CancelAuthTicket ( uint hAuthTicket ) : void
hAuthTicket uint
Résultat void

ClearAllKeyValues() public méthode

public ClearAllKeyValues ( ) : void
Résultat void

ComputeNewPlayerCompatibility() public méthode

public ComputeNewPlayerCompatibility ( ulong steamIDNewPlayer ) : ulong
steamIDNewPlayer ulong
Résultat ulong

CreateUnauthenticatedUserConnection() public méthode

public CreateUnauthenticatedUserConnection ( ) : ulong
Résultat ulong

EnableHeartbeats() public méthode

public EnableHeartbeats ( bool bActive ) : void
bActive bool
Résultat void

EndAuthSession() public méthode

public EndAuthSession ( ulong steamID ) : void
steamID ulong
Résultat void

ForceHeartbeat() public méthode

public ForceHeartbeat ( ) : void
Résultat void

GetAuthSessionTicket() public méthode

public GetAuthSessionTicket ( IntPtr pTicket, int cbMaxTicket, uint &pcbTicket ) : uint
pTicket System.IntPtr
cbMaxTicket int
pcbTicket uint
Résultat uint

GetGameplayStats() public méthode

public GetGameplayStats ( ) : void
Résultat void

GetIntPtr() public méthode

public GetIntPtr ( ) : IntPtr
Résultat System.IntPtr

GetNextOutgoingPacket() public méthode

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

GetPublicIP() public méthode

public GetPublicIP ( ) : uint
Résultat uint

GetServerReputation() public méthode

public GetServerReputation ( ) : ulong
Résultat ulong

GetSteamID() public méthode

public GetSteamID ( ) : ulong
Résultat ulong

HandleIncomingPacket() public méthode

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

InitGameServer() public méthode

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
Résultat bool

LogOff() public méthode

public LogOff ( ) : void
Résultat void

LogOn() public méthode

public LogOn ( string pszToken ) : void
pszToken string
Résultat void

LogOnAnonymous() public méthode

public LogOnAnonymous ( ) : void
Résultat void

RequestUserGroupStatus() public méthode

public RequestUserGroupStatus ( ulong steamIDUser, ulong steamIDGroup ) : bool
steamIDUser ulong
steamIDGroup ulong
Résultat bool

SendUserConnectAndAuthenticate() public méthode

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

SendUserDisconnect() public méthode

public SendUserDisconnect ( ulong steamIDUser ) : void
steamIDUser ulong
Résultat void

SetBotPlayerCount() public méthode

public SetBotPlayerCount ( int cBotplayers ) : void
cBotplayers int
Résultat void

SetDedicatedServer() public méthode

public SetDedicatedServer ( bool bDedicated ) : void
bDedicated bool
Résultat void

SetGameData() public méthode

public SetGameData ( string pchGameData ) : void
pchGameData string
Résultat void

SetGameDescription() public méthode

public SetGameDescription ( string pszGameDescription ) : void
pszGameDescription string
Résultat void

SetGameTags() public méthode

public SetGameTags ( string pchGameTags ) : void
pchGameTags string
Résultat void

SetHeartbeatInterval() public méthode

public SetHeartbeatInterval ( int iHeartbeatInterval ) : void
iHeartbeatInterval int
Résultat void

SetKeyValue() public méthode

public SetKeyValue ( string pKey, string pValue ) : void
pKey string
pValue string
Résultat void

SetMapName() public méthode

public SetMapName ( string pszMapName ) : void
pszMapName string
Résultat void

SetMaxPlayerCount() public méthode

public SetMaxPlayerCount ( int cPlayersMax ) : void
cPlayersMax int
Résultat void

SetModDir() public méthode

public SetModDir ( string pszModDir ) : void
pszModDir string
Résultat void

SetPasswordProtected() public méthode

public SetPasswordProtected ( bool bPasswordProtected ) : void
bPasswordProtected bool
Résultat void

SetProduct() public méthode

public SetProduct ( string pszProduct ) : void
pszProduct string
Résultat void

SetRegion() public méthode

public SetRegion ( string pszRegion ) : void
pszRegion string
Résultat void

SetServerName() public méthode

public SetServerName ( string pszServerName ) : void
pszServerName string
Résultat void

SetSpectatorPort() public méthode

public SetSpectatorPort ( char unSpectatorPort ) : void
unSpectatorPort char
Résultat void

SetSpectatorServerName() public méthode

public SetSpectatorServerName ( string pszSpectatorServerName ) : void
pszSpectatorServerName string
Résultat void

UserHasLicenseForApp() public méthode

public UserHasLicenseForApp ( ulong steamID, uint appID ) : uint
steamID ulong
appID uint
Résultat uint

WasRestartRequested() public méthode

public WasRestartRequested ( ) : bool
Résultat bool