private void AddIntent( INTENT Intent ) { _lstIntent.Add( Intent ); if ( _lstIntent.Count > _MaxLen ) _lstIntent.RemoveAt( 0 ); _nPos = _lstIntent.Count - 1; //指针到最尾。(指向最新加入的指令) }
public void Exec( INTENT Intent ) { dlgt.ActObj Act = Def.CommandId_Act.GetAct( Intent.nCommand ); if ( Act == null ) return; AddIntent( Intent ); object objPaeam = Intent.objParam; Act( objPaeam ); }
public void Exec( int nCommand, object objParam ) { INTENT Intent = new INTENT( nCommand, objParam ); Exec( Intent ); }
public void Exec( int nCommand, string strParam ) { INTENT Intent = new INTENT( nCommand, strParam ); Exec( Intent ); }
public void Exec( int nCommand ) { INTENT Intent = new INTENT( nCommand ); Exec( Intent ); }