コード例 #1
0
 /// <summary>
 /// Handle receiving a FragmentSent event from a reliability class.
 /// </summary>
 /// <param name="sender">
 /// The sender of the event.
 /// </param>
 /// <param name="e">
 /// The event arguments.
 /// </param>
 private void OnReliabilityFragmentSent(object sender, MxReliabilityTransmitEventArgs e)
 {
     OnReliableSendProgress(e);
 }
コード例 #2
0
 private void DispatcherOnReliableSendProgress(object sender, MxReliabilityTransmitEventArgs mxReliabilityTransmitEventArgs)
 {
     
 }
コード例 #3
0
 /// <summary>
 /// Handle receiving a FragmentReceived event from a reliability class.
 /// </summary>
 /// <param name="sender">
 /// The sender of the event.
 /// </param>
 /// <param name="e">
 /// The event arguments.
 /// </param>
 private void OnReliabilityFragmentReceived(object sender, MxReliabilityTransmitEventArgs e)
 {
     OnReliableReceivedProgress(e);
 }
コード例 #4
0
 /// <summary>
 /// Raise the ReliableSendProgress event.
 /// </summary>
 /// <param name="e">
 /// The event arguments.
 /// </param>
 protected virtual void OnReliableSendProgress(MxReliabilityTransmitEventArgs e)
 {
     var handler = ReliableSendProgress;
     handler?.Invoke(this, e);
 }
コード例 #5
0
 /// <summary>
 /// Raise the OnFragmentSent event.
 /// </summary>
 /// <param name="e">
 /// The event arguments.
 /// </param>
 protected virtual void OnFragmentSent(MxReliabilityTransmitEventArgs e)
 {
     var handler = this.FragmentSent;
     if (handler != null)
     {
         handler(this, e);
     }
 }
コード例 #6
0
ファイル: TychaiaProfiler.cs プロジェクト: TreeSeed/Tychaia
 private void MxDispatcherOnReliableSendProgress(object sender, MxReliabilityTransmitEventArgs e)
 {
     this.m_SendNetworkVal = e.CurrentFragments;
 }
コード例 #7
0
ファイル: MxDispatcher.cs プロジェクト: johnsonc/Protogame
 /// <summary>
 /// Raise the ReliableSendProgress event.
 /// </summary>
 /// <param name="e">
 /// The event arguments.
 /// </param>
 protected virtual void OnReliableSendProgress(MxReliabilityTransmitEventArgs e)
 {
     var handler = this.ReliableSendProgress;
     if (handler != null)
     {
         handler(this, e);
     }
 }