public override void InitInternals() { this._GetLocalPingLocation = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FGetLocalPingLocation>(Marshal.ReadIntPtr(this.VTable, 0)); this._EstimatePingTimeBetweenTwoLocations = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FEstimatePingTimeBetweenTwoLocations>(Marshal.ReadIntPtr(this.VTable, 8)); this._EstimatePingTimeFromLocalHost = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FEstimatePingTimeFromLocalHost>(Marshal.ReadIntPtr(this.VTable, 16)); this._ConvertPingLocationToString = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FConvertPingLocationToString>(Marshal.ReadIntPtr(this.VTable, 24)); this._ParsePingLocationString = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FParsePingLocationString>(Marshal.ReadIntPtr(this.VTable, 32)); this._CheckPingDataUpToDate = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FCheckPingDataUpToDate>(Marshal.ReadIntPtr(this.VTable, 40)); this._IsPingMeasurementInProgress = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FIsPingMeasurementInProgress>(Marshal.ReadIntPtr(this.VTable, 48)); this._GetPingToDataCenter = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FGetPingToDataCenter>(Marshal.ReadIntPtr(this.VTable, 56)); this._GetDirectPingToPOP = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FGetDirectPingToPOP>(Marshal.ReadIntPtr(this.VTable, 64)); this._GetPOPCount = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FGetPOPCount>(Marshal.ReadIntPtr(this.VTable, 72)); this._GetPOPList = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FGetPOPList>(Marshal.ReadIntPtr(this.VTable, 80)); this._GetLocalTimestamp = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FGetLocalTimestamp>(Marshal.ReadIntPtr(this.VTable, 88)); this._SetDebugOutputFunction = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FSetDebugOutputFunction>(Marshal.ReadIntPtr(this.VTable, 96)); this._SetConfigValue = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FSetConfigValue>(Marshal.ReadIntPtr(this.VTable, 104)); this._GetConfigValue = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FGetConfigValue>(Marshal.ReadIntPtr(this.VTable, 112)); this._GetConfigValueInfo = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FGetConfigValueInfo>(Marshal.ReadIntPtr(this.VTable, 120)); this._GetFirstConfigValue = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingUtils.FGetFirstConfigValue>(Marshal.ReadIntPtr(this.VTable, 128)); }
internal override void Shutdown() { base.Shutdown(); this._GetLocalPingLocation = null; this._EstimatePingTimeBetweenTwoLocations = null; this._EstimatePingTimeFromLocalHost = null; this._ConvertPingLocationToString = null; this._ParsePingLocationString = null; this._CheckPingDataUpToDate = null; this._IsPingMeasurementInProgress = null; this._GetPingToDataCenter = null; this._GetDirectPingToPOP = null; this._GetPOPCount = null; this._GetPOPList = null; this._GetLocalTimestamp = null; this._SetDebugOutputFunction = null; this._SetConfigValue = null; this._GetConfigValue = null; this._GetConfigValueInfo = null; this._GetFirstConfigValue = null; }