Example #1
0
        public bool Equals(RunningScript other)
        {
            if (other == null)
            {
                return(false);
            }

            return(NextScriptPointer.Equals(other.NextScriptPointer) &&
                   PrevScriptPointer.Equals(other.PrevScriptPointer) &&
                   Name.Equals(other.Name) &&
                   InstructionPointer.Equals(other.InstructionPointer) &&
                   Stack.SequenceEqual(other.Stack) &&
                   StackPointer.Equals(other.StackPointer) &&
                   Locals.SequenceEqual(other.Locals) &&
                   TimerA.Equals(other.TimerA) &&
                   TimerB.Equals(other.TimerB) &&
                   ConditionResult.Equals(other.ConditionResult) &&
                   IsMissionScript.Equals(other.IsMissionScript) &&
                   ClearMessages.Equals(other.ClearMessages) &&
                   WakeTime.Equals(other.WakeTime) &&
                   AndOrState.Equals(other.AndOrState) &&
                   NotFlag.Equals(other.NotFlag) &&
                   WastedBustedCheckEnabled.Equals(other.WastedBustedCheckEnabled) &&
                   WastedBustedCheckResult.Equals(other.WastedBustedCheckResult) &&
                   MissionFlag.Equals(other.MissionFlag));
        }
Example #2
0
 public Row(Content content, Except except, AndOrState andOrState)
 {
     this.Content    = content;
     this.except     = except;
     this.andOrState = andOrState;
 }
Example #3
0
 public Row(Content content)
 {
     this.Content    = content;
     this.except     = Except.No;
     this.andOrState = AndOrState.AndGrey;
 }
Example #4
0
 public Row()
 {
     this.Content    = Content.Empty;
     this.except     = Except.No;
     this.andOrState = AndOrState.AndGrey;
 }
Example #5
0
 public Row(Content content, Except except, AndOrState andOrState)
 {
     this.Content = content;
     this.except = except;
     this.andOrState = andOrState;
 }
Example #6
0
 public Row(Content content)
 {
     this.Content = content;
     this.except = Except.No;
     this.andOrState = AndOrState.AndGrey;
 }
Example #7
0
 public Row()
 {
     this.Content = Content.Empty;
     this.except = Except.No;
     this.andOrState = AndOrState.AndGrey;
 }