Esempio n. 1
0
 internal override void Shutdown()
 {
     base.Shutdown();
     this._InitGameServer     = null;
     this._SetProduct         = null;
     this._SetGameDescription = null;
     this._SetModDir          = null;
     this._SetDedicatedServer = null;
     this._LogOn                                       = null;
     this._LogOnAnonymous                              = null;
     this._LogOff                                      = null;
     this._BLoggedOn                                   = null;
     this._BSecure                                     = null;
     this._GetSteamID                                  = null;
     this._GetSteamID_Windows                          = null;
     this._WasRestartRequested                         = null;
     this._SetMaxPlayerCount                           = null;
     this._SetBotPlayerCount                           = null;
     this._SetServerName                               = null;
     this._SetMapName                                  = null;
     this._SetPasswordProtected                        = null;
     this._SetSpectatorPort                            = null;
     this._SetSpectatorServerName                      = null;
     this._ClearAllKeyValues                           = null;
     this._SetKeyValue                                 = null;
     this._SetGameTags                                 = null;
     this._SetGameData                                 = null;
     this._SetRegion                                   = null;
     this._SendUserConnectAndAuthenticate              = null;
     this._CreateUnauthenticatedUserConnection         = null;
     this._CreateUnauthenticatedUserConnection_Windows = null;
     this._SendUserDisconnect                          = null;
     this._BUpdateUserData                             = null;
     this._GetAuthSessionTicket                        = null;
     this._BeginAuthSession                            = null;
     this._EndAuthSession                              = null;
     this._CancelAuthTicket                            = null;
     this._UserHasLicenseForApp                        = null;
     this._RequestUserGroupStatus                      = null;
     this._GetGameplayStats                            = null;
     this._GetServerReputation                         = null;
     this._GetPublicIP                                 = null;
     this._HandleIncomingPacket                        = null;
     this._GetNextOutgoingPacket                       = null;
     this._EnableHeartbeats                            = null;
     this._SetHeartbeatInterval                        = null;
     this._ForceHeartbeat                              = null;
     this._AssociateWithClan                           = null;
     this._ComputeNewPlayerCompatibility               = null;
 }
Esempio n. 2
0
 public override void InitInternals()
 {
     this._InitGameServer     = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FInitGameServer>(Marshal.ReadIntPtr(this.VTable, 0));
     this._SetProduct         = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetProduct>(Marshal.ReadIntPtr(this.VTable, 8));
     this._SetGameDescription = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetGameDescription>(Marshal.ReadIntPtr(this.VTable, 16));
     this._SetModDir          = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetModDir>(Marshal.ReadIntPtr(this.VTable, 24));
     this._SetDedicatedServer = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetDedicatedServer>(Marshal.ReadIntPtr(this.VTable, 32));
     this._LogOn                                       = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FLogOn>(Marshal.ReadIntPtr(this.VTable, 40));
     this._LogOnAnonymous                              = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FLogOnAnonymous>(Marshal.ReadIntPtr(this.VTable, 48));
     this._LogOff                                      = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FLogOff>(Marshal.ReadIntPtr(this.VTable, 56));
     this._BLoggedOn                                   = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FBLoggedOn>(Marshal.ReadIntPtr(this.VTable, 64));
     this._BSecure                                     = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FBSecure>(Marshal.ReadIntPtr(this.VTable, 72));
     this._GetSteamID                                  = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FGetSteamID>(Marshal.ReadIntPtr(this.VTable, 80));
     this._GetSteamID_Windows                          = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FGetSteamID_Windows>(Marshal.ReadIntPtr(this.VTable, 80));
     this._WasRestartRequested                         = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FWasRestartRequested>(Marshal.ReadIntPtr(this.VTable, 88));
     this._SetMaxPlayerCount                           = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetMaxPlayerCount>(Marshal.ReadIntPtr(this.VTable, 96));
     this._SetBotPlayerCount                           = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetBotPlayerCount>(Marshal.ReadIntPtr(this.VTable, 104));
     this._SetServerName                               = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetServerName>(Marshal.ReadIntPtr(this.VTable, 112));
     this._SetMapName                                  = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetMapName>(Marshal.ReadIntPtr(this.VTable, 120));
     this._SetPasswordProtected                        = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetPasswordProtected>(Marshal.ReadIntPtr(this.VTable, 128));
     this._SetSpectatorPort                            = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetSpectatorPort>(Marshal.ReadIntPtr(this.VTable, 136));
     this._SetSpectatorServerName                      = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetSpectatorServerName>(Marshal.ReadIntPtr(this.VTable, 144));
     this._ClearAllKeyValues                           = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FClearAllKeyValues>(Marshal.ReadIntPtr(this.VTable, 152));
     this._SetKeyValue                                 = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetKeyValue>(Marshal.ReadIntPtr(this.VTable, 160));
     this._SetGameTags                                 = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetGameTags>(Marshal.ReadIntPtr(this.VTable, 168));
     this._SetGameData                                 = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetGameData>(Marshal.ReadIntPtr(this.VTable, 176));
     this._SetRegion                                   = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetRegion>(Marshal.ReadIntPtr(this.VTable, 184));
     this._SendUserConnectAndAuthenticate              = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSendUserConnectAndAuthenticate>(Marshal.ReadIntPtr(this.VTable, 192));
     this._CreateUnauthenticatedUserConnection         = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FCreateUnauthenticatedUserConnection>(Marshal.ReadIntPtr(this.VTable, 200));
     this._CreateUnauthenticatedUserConnection_Windows = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FCreateUnauthenticatedUserConnection_Windows>(Marshal.ReadIntPtr(this.VTable, 200));
     this._SendUserDisconnect                          = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSendUserDisconnect>(Marshal.ReadIntPtr(this.VTable, 208));
     this._BUpdateUserData                             = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FBUpdateUserData>(Marshal.ReadIntPtr(this.VTable, 216));
     this._GetAuthSessionTicket                        = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FGetAuthSessionTicket>(Marshal.ReadIntPtr(this.VTable, 224));
     this._BeginAuthSession                            = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FBeginAuthSession>(Marshal.ReadIntPtr(this.VTable, 232));
     this._EndAuthSession                              = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FEndAuthSession>(Marshal.ReadIntPtr(this.VTable, 240));
     this._CancelAuthTicket                            = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FCancelAuthTicket>(Marshal.ReadIntPtr(this.VTable, 248));
     this._UserHasLicenseForApp                        = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FUserHasLicenseForApp>(Marshal.ReadIntPtr(this.VTable, 256));
     this._RequestUserGroupStatus                      = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FRequestUserGroupStatus>(Marshal.ReadIntPtr(this.VTable, 264));
     this._GetGameplayStats                            = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FGetGameplayStats>(Marshal.ReadIntPtr(this.VTable, 272));
     this._GetServerReputation                         = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FGetServerReputation>(Marshal.ReadIntPtr(this.VTable, 280));
     this._GetPublicIP                                 = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FGetPublicIP>(Marshal.ReadIntPtr(this.VTable, 288));
     this._HandleIncomingPacket                        = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FHandleIncomingPacket>(Marshal.ReadIntPtr(this.VTable, 296));
     this._GetNextOutgoingPacket                       = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FGetNextOutgoingPacket>(Marshal.ReadIntPtr(this.VTable, 304));
     this._EnableHeartbeats                            = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FEnableHeartbeats>(Marshal.ReadIntPtr(this.VTable, 312));
     this._SetHeartbeatInterval                        = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FSetHeartbeatInterval>(Marshal.ReadIntPtr(this.VTable, 320));
     this._ForceHeartbeat                              = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FForceHeartbeat>(Marshal.ReadIntPtr(this.VTable, 328));
     this._AssociateWithClan                           = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FAssociateWithClan>(Marshal.ReadIntPtr(this.VTable, 336));
     this._ComputeNewPlayerCompatibility               = Marshal.GetDelegateForFunctionPointer <ISteamGameServer.FComputeNewPlayerCompatibility>(Marshal.ReadIntPtr(this.VTable, 344));
 }