예제 #1
0
 internal override void Shutdown()
 {
     base.Shutdown();
     this._GetSecondsSinceAppActive      = null;
     this._GetSecondsSinceComputerActive = null;
     this._GetConnectedUniverse          = null;
     this._GetServerRealTime             = null;
     this._GetIPCountry           = null;
     this._GetImageSize           = null;
     this._GetImageRGBA           = null;
     this._GetCSERIPPort          = null;
     this._GetCurrentBatteryPower = null;
     this._GetAppID = null;
     this._SetOverlayNotificationPosition = null;
     this._IsAPICallCompleted             = null;
     this._GetAPICallFailureReason        = null;
     this._GetAPICallResult             = null;
     this._RunFrame                     = null;
     this._GetIPCCallCount              = null;
     this._SetWarningMessageHook        = null;
     this._IsOverlayEnabled             = null;
     this._BOverlayNeedsPresent         = null;
     this._CheckFileSignature           = null;
     this._ShowGamepadTextInput         = null;
     this._GetEnteredGamepadTextLength  = null;
     this._GetEnteredGamepadTextInput   = null;
     this._GetSteamUILanguage           = null;
     this._IsSteamRunningInVR           = null;
     this._SetOverlayNotificationInset  = null;
     this._IsSteamInBigPictureMode      = null;
     this._StartVRDashboard             = null;
     this._IsVRHeadsetStreamingEnabled  = null;
     this._SetVRHeadsetStreamingEnabled = null;
 }
예제 #2
0
 public override void InitInternals()
 {
     this._GetSecondsSinceAppActive      = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetSecondsSinceAppActive>(Marshal.ReadIntPtr(this.VTable, 0));
     this._GetSecondsSinceComputerActive = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetSecondsSinceComputerActive>(Marshal.ReadIntPtr(this.VTable, 8));
     this._GetConnectedUniverse          = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetConnectedUniverse>(Marshal.ReadIntPtr(this.VTable, 16));
     this._GetServerRealTime             = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetServerRealTime>(Marshal.ReadIntPtr(this.VTable, 24));
     this._GetIPCountry           = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetIPCountry>(Marshal.ReadIntPtr(this.VTable, 32));
     this._GetImageSize           = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetImageSize>(Marshal.ReadIntPtr(this.VTable, 40));
     this._GetImageRGBA           = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetImageRGBA>(Marshal.ReadIntPtr(this.VTable, 48));
     this._GetCSERIPPort          = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetCSERIPPort>(Marshal.ReadIntPtr(this.VTable, 56));
     this._GetCurrentBatteryPower = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetCurrentBatteryPower>(Marshal.ReadIntPtr(this.VTable, 64));
     this._GetAppID = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetAppID>(Marshal.ReadIntPtr(this.VTable, 72));
     this._SetOverlayNotificationPosition = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FSetOverlayNotificationPosition>(Marshal.ReadIntPtr(this.VTable, 80));
     this._IsAPICallCompleted             = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FIsAPICallCompleted>(Marshal.ReadIntPtr(this.VTable, 88));
     this._GetAPICallFailureReason        = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetAPICallFailureReason>(Marshal.ReadIntPtr(this.VTable, 96));
     this._GetAPICallResult             = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetAPICallResult>(Marshal.ReadIntPtr(this.VTable, 104));
     this._RunFrame                     = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FRunFrame>(Marshal.ReadIntPtr(this.VTable, 112));
     this._GetIPCCallCount              = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetIPCCallCount>(Marshal.ReadIntPtr(this.VTable, 120));
     this._SetWarningMessageHook        = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FSetWarningMessageHook>(Marshal.ReadIntPtr(this.VTable, 128));
     this._IsOverlayEnabled             = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FIsOverlayEnabled>(Marshal.ReadIntPtr(this.VTable, 136));
     this._BOverlayNeedsPresent         = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FBOverlayNeedsPresent>(Marshal.ReadIntPtr(this.VTable, 144));
     this._CheckFileSignature           = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FCheckFileSignature>(Marshal.ReadIntPtr(this.VTable, 152));
     this._ShowGamepadTextInput         = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FShowGamepadTextInput>(Marshal.ReadIntPtr(this.VTable, 160));
     this._GetEnteredGamepadTextLength  = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetEnteredGamepadTextLength>(Marshal.ReadIntPtr(this.VTable, 168));
     this._GetEnteredGamepadTextInput   = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetEnteredGamepadTextInput>(Marshal.ReadIntPtr(this.VTable, 176));
     this._GetSteamUILanguage           = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FGetSteamUILanguage>(Marshal.ReadIntPtr(this.VTable, 184));
     this._IsSteamRunningInVR           = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FIsSteamRunningInVR>(Marshal.ReadIntPtr(this.VTable, 192));
     this._SetOverlayNotificationInset  = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FSetOverlayNotificationInset>(Marshal.ReadIntPtr(this.VTable, 200));
     this._IsSteamInBigPictureMode      = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FIsSteamInBigPictureMode>(Marshal.ReadIntPtr(this.VTable, 208));
     this._StartVRDashboard             = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FStartVRDashboard>(Marshal.ReadIntPtr(this.VTable, 216));
     this._IsVRHeadsetStreamingEnabled  = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FIsVRHeadsetStreamingEnabled>(Marshal.ReadIntPtr(this.VTable, 224));
     this._SetVRHeadsetStreamingEnabled = Marshal.GetDelegateForFunctionPointer <ISteamUtils.FSetVRHeadsetStreamingEnabled>(Marshal.ReadIntPtr(this.VTable, 232));
 }