Exemplo n.º 1
0
        protected virtual void OnRaiseNetworkControlEnabledEvent(NetworkControlEnabledEventArgs nceea)
        {
            NetworkControlEnabledEventHandler handler = NetworkControlEnabledEvent;

            // Raise the event
            if (handler != null)
            {
                handler(this, nceea);
            }
        }
Exemplo n.º 2
0
 void HandleNetworkControlEnableEvent(object sender, NetworkControlEnabledEventArgs nceea)
 {
     playerControl.IsNetworkControlEnabled = nceea.IsNetworkControlEnabled;
 }
Exemplo n.º 3
0
 void HandleNetworkControlEnableEvent(object sender, NetworkControlEnabledEventArgs nceea)
 {
     playerControl.IsNetworkControlEnabled = nceea.IsNetworkControlEnabled;
 }
Exemplo n.º 4
0
 protected virtual void OnRaiseNetworkControlEnabledEvent(NetworkControlEnabledEventArgs nceea)
 {
     NetworkControlEnabledEventHandler handler = NetworkControlEnabledEvent;
     // Raise the event
     if (handler != null)
         handler(this, nceea);
 }