예제 #1
0
 public override void InitInternals()
 {
     this._GetVideoURL        = Marshal.GetDelegateForFunctionPointer <ISteamVideo.FGetVideoURL>(Marshal.ReadIntPtr(this.VTable, 0));
     this._IsBroadcasting     = Marshal.GetDelegateForFunctionPointer <ISteamVideo.FIsBroadcasting>(Marshal.ReadIntPtr(this.VTable, 8));
     this._GetOPFSettings     = Marshal.GetDelegateForFunctionPointer <ISteamVideo.FGetOPFSettings>(Marshal.ReadIntPtr(this.VTable, 16));
     this._GetOPFStringForApp = Marshal.GetDelegateForFunctionPointer <ISteamVideo.FGetOPFStringForApp>(Marshal.ReadIntPtr(this.VTable, 24));
 }
예제 #2
0
 internal override void Shutdown()
 {
     base.Shutdown();
     this._GetVideoURL        = null;
     this._IsBroadcasting     = null;
     this._GetOPFSettings     = null;
     this._GetOPFStringForApp = null;
 }