コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="netState"></param>
        public void CallGameCommand(NetState netState, string strGameCommandInfo)
        {
            EventHandler <GameCommandEventArgs> tempEventArgs = m_ThreadEventGameCommandCall;

            if (tempEventArgs != null)
            {
                GameCommandEventArgs eventArgs = new GameCommandEventArgs(netState, strGameCommandInfo);
                tempEventArgs(this, eventArgs);
            }
        }
コード例 #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="netState"></param>
 public void CallGameCommand( NetState netState, string strGameCommandInfo )
 {
     EventHandler<GameCommandEventArgs> tempEventArgs = m_ThreadEventGameCommandCall;
     if ( tempEventArgs != null )
     {
         GameCommandEventArgs eventArgs = new GameCommandEventArgs( netState, strGameCommandInfo );
         tempEventArgs( this, eventArgs );
     }
 }