Esempio n. 1
0
 internal static void InstallEvents()
 {
     BroadcastUploadStart_t.Install((BroadcastUploadStart_t x) => {
         Action onBroadcastStarted = SteamVideo.OnBroadcastStarted;
         if (onBroadcastStarted != null)
         {
             onBroadcastStarted();
         }
         else
         {
         }
     }, false);
     BroadcastUploadStop_t.Install((BroadcastUploadStop_t x) => {
         Action <BroadcastUploadResult> onBroadcastStopped = SteamVideo.OnBroadcastStopped;
         if (onBroadcastStopped != null)
         {
             onBroadcastStopped(x.Result);
         }
         else
         {
         }
     }, false);
 }
	void OnBroadcastUploadStart(BroadcastUploadStart_t pCallback) {
		Debug.Log("[" + BroadcastUploadStart_t.k_iCallback + " - BroadcastUploadStart] - ");
	}
Esempio n. 3
0
 internal static void InstallEvents()
 {
     BroadcastUploadStart_t.Install(x => OnBroadcastStarted?.Invoke());
     BroadcastUploadStop_t.Install(x => OnBroadcastStopped?.Invoke(x.Result));
 }