/// <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); } }
/// <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 ); } }