public void SetFact( NPCPlayerApex.Facts fact, byte value, bool triggerCallback = true, bool onlyTriggerCallbackOnDiffValue = true) { this.AIAgent.SetFact(fact, value, triggerCallback, onlyTriggerCallbackOnDiffValue); }
public override void DoExecute(BaseContext c) { object obj; BaseContext baseContext = c; NPCPlayerApex.Facts fact = this.fact; if (this.@value) { obj = 1; } else { obj = null; } baseContext.SetFact(fact, (byte)obj, true, true); }
public byte GetFact(NPCPlayerApex.Facts fact) { return(this.AIAgent.GetFact(fact)); }