예제 #1
0
 internal override void Shutdown()
 {
     base.Shutdown();
     this._GetHSteamUser           = null;
     this._BLoggedOn               = null;
     this._GetSteamID              = null;
     this._GetSteamID_Windows      = null;
     this._InitiateGameConnection  = null;
     this._TerminateGameConnection = null;
     this._TrackAppUsageEvent      = null;
     this._GetUserDataFolder       = null;
     this._StartVoiceRecording     = null;
     this._StopVoiceRecording      = null;
     this._GetAvailableVoice       = null;
     this._GetVoice                      = null;
     this._DecompressVoice               = null;
     this._GetVoiceOptimalSampleRate     = null;
     this._GetAuthSessionTicket          = null;
     this._BeginAuthSession              = null;
     this._EndAuthSession                = null;
     this._CancelAuthTicket              = null;
     this._UserHasLicenseForApp          = null;
     this._BIsBehindNAT                  = null;
     this._AdvertiseGame                 = null;
     this._RequestEncryptedAppTicket     = null;
     this._GetEncryptedAppTicket         = null;
     this._GetGameBadgeLevel             = null;
     this._GetPlayerSteamLevel           = null;
     this._RequestStoreAuthURL           = null;
     this._BIsPhoneVerified              = null;
     this._BIsTwoFactorEnabled           = null;
     this._BIsPhoneIdentifying           = null;
     this._BIsPhoneRequiringVerification = null;
     this._GetMarketEligibility          = null;
 }
예제 #2
0
 public override void InitInternals()
 {
     this._GetHSteamUser           = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetHSteamUser>(Marshal.ReadIntPtr(this.VTable, 0));
     this._BLoggedOn               = Marshal.GetDelegateForFunctionPointer <ISteamUser.FBLoggedOn>(Marshal.ReadIntPtr(this.VTable, 8));
     this._GetSteamID              = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetSteamID>(Marshal.ReadIntPtr(this.VTable, 16));
     this._GetSteamID_Windows      = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetSteamID_Windows>(Marshal.ReadIntPtr(this.VTable, 16));
     this._InitiateGameConnection  = Marshal.GetDelegateForFunctionPointer <ISteamUser.FInitiateGameConnection>(Marshal.ReadIntPtr(this.VTable, 24));
     this._TerminateGameConnection = Marshal.GetDelegateForFunctionPointer <ISteamUser.FTerminateGameConnection>(Marshal.ReadIntPtr(this.VTable, 32));
     this._TrackAppUsageEvent      = Marshal.GetDelegateForFunctionPointer <ISteamUser.FTrackAppUsageEvent>(Marshal.ReadIntPtr(this.VTable, 40));
     this._GetUserDataFolder       = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetUserDataFolder>(Marshal.ReadIntPtr(this.VTable, 48));
     this._StartVoiceRecording     = Marshal.GetDelegateForFunctionPointer <ISteamUser.FStartVoiceRecording>(Marshal.ReadIntPtr(this.VTable, 56));
     this._StopVoiceRecording      = Marshal.GetDelegateForFunctionPointer <ISteamUser.FStopVoiceRecording>(Marshal.ReadIntPtr(this.VTable, 64));
     this._GetAvailableVoice       = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetAvailableVoice>(Marshal.ReadIntPtr(this.VTable, 72));
     this._GetVoice                      = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetVoice>(Marshal.ReadIntPtr(this.VTable, 80));
     this._DecompressVoice               = Marshal.GetDelegateForFunctionPointer <ISteamUser.FDecompressVoice>(Marshal.ReadIntPtr(this.VTable, 88));
     this._GetVoiceOptimalSampleRate     = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetVoiceOptimalSampleRate>(Marshal.ReadIntPtr(this.VTable, 96));
     this._GetAuthSessionTicket          = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetAuthSessionTicket>(Marshal.ReadIntPtr(this.VTable, 104));
     this._BeginAuthSession              = Marshal.GetDelegateForFunctionPointer <ISteamUser.FBeginAuthSession>(Marshal.ReadIntPtr(this.VTable, 112));
     this._EndAuthSession                = Marshal.GetDelegateForFunctionPointer <ISteamUser.FEndAuthSession>(Marshal.ReadIntPtr(this.VTable, 120));
     this._CancelAuthTicket              = Marshal.GetDelegateForFunctionPointer <ISteamUser.FCancelAuthTicket>(Marshal.ReadIntPtr(this.VTable, 128));
     this._UserHasLicenseForApp          = Marshal.GetDelegateForFunctionPointer <ISteamUser.FUserHasLicenseForApp>(Marshal.ReadIntPtr(this.VTable, 136));
     this._BIsBehindNAT                  = Marshal.GetDelegateForFunctionPointer <ISteamUser.FBIsBehindNAT>(Marshal.ReadIntPtr(this.VTable, 144));
     this._AdvertiseGame                 = Marshal.GetDelegateForFunctionPointer <ISteamUser.FAdvertiseGame>(Marshal.ReadIntPtr(this.VTable, 152));
     this._RequestEncryptedAppTicket     = Marshal.GetDelegateForFunctionPointer <ISteamUser.FRequestEncryptedAppTicket>(Marshal.ReadIntPtr(this.VTable, 160));
     this._GetEncryptedAppTicket         = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetEncryptedAppTicket>(Marshal.ReadIntPtr(this.VTable, 168));
     this._GetGameBadgeLevel             = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetGameBadgeLevel>(Marshal.ReadIntPtr(this.VTable, 176));
     this._GetPlayerSteamLevel           = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetPlayerSteamLevel>(Marshal.ReadIntPtr(this.VTable, 184));
     this._RequestStoreAuthURL           = Marshal.GetDelegateForFunctionPointer <ISteamUser.FRequestStoreAuthURL>(Marshal.ReadIntPtr(this.VTable, 192));
     this._BIsPhoneVerified              = Marshal.GetDelegateForFunctionPointer <ISteamUser.FBIsPhoneVerified>(Marshal.ReadIntPtr(this.VTable, 200));
     this._BIsTwoFactorEnabled           = Marshal.GetDelegateForFunctionPointer <ISteamUser.FBIsTwoFactorEnabled>(Marshal.ReadIntPtr(this.VTable, 208));
     this._BIsPhoneIdentifying           = Marshal.GetDelegateForFunctionPointer <ISteamUser.FBIsPhoneIdentifying>(Marshal.ReadIntPtr(this.VTable, 216));
     this._BIsPhoneRequiringVerification = Marshal.GetDelegateForFunctionPointer <ISteamUser.FBIsPhoneRequiringVerification>(Marshal.ReadIntPtr(this.VTable, 224));
     this._GetMarketEligibility          = Marshal.GetDelegateForFunctionPointer <ISteamUser.FGetMarketEligibility>(Marshal.ReadIntPtr(this.VTable, 232));
 }