// Token: 0x060027C8 RID: 10184 RVA: 0x000908D0 File Offset: 0x0008EAD0 public void ExecuteExit(global::VisNode self, global::VisNode other) { if (--this.execNum == 0 || !this.outer.nonInstance) { this.outer.Exit(self, other); } }
// Token: 0x060027C7 RID: 10183 RVA: 0x00090890 File Offset: 0x0008EA90 public void ExecuteEnter(global::VisNode self, global::VisNode other) { if (this.execNum++ == 0 || !this.outer.nonInstance) { this.outer.Enter(self, other); } }
// Token: 0x060027CB RID: 10187 RVA: 0x000909A4 File Offset: 0x0008EBA4 public global::VisQuery.TryResult TryRemove(global::VisNode self, global::VisNode other) { if (this.applicable.Remove(other)) { this.num--; return(global::VisQuery.TryResult.Exit); } return(global::VisQuery.TryResult.Outside); }
// Token: 0x060027DB RID: 10203 RVA: 0x00090AC8 File Offset: 0x0008ECC8 internal void SPECTATOR_ADD(global::VisNode spectator) { try { this.React_SpectatorAdd(spectator); } catch (Exception ex) { Debug.LogError(ex, this); } }
// Token: 0x060027CC RID: 10188 RVA: 0x000909D4 File Offset: 0x0008EBD4 public void Clear(global::VisNode self) { while (--this.num >= 0) { global::HSetIter <global::VisNode> enumerator = this.applicable.GetEnumerator(); enumerator.MoveNext(); global::VisNode other = enumerator.Current; enumerator.Dispose(); this.TryRemove(self, other); } }
// Token: 0x060027E0 RID: 10208 RVA: 0x00090C1C File Offset: 0x0008EE1C internal void SEE_REMOVE(global::VisNode lost) { try { this.React_SeeRemove(lost); } catch (Exception ex) { Debug.LogError(ex, this); } }
// Token: 0x060027DF RID: 10207 RVA: 0x00090BD8 File Offset: 0x0008EDD8 internal void SEE_ADD(global::VisNode spotted) { try { this.React_SeeAdd(spotted); } catch (Exception ex) { Debug.LogError(ex, this); } }
// Token: 0x060027C9 RID: 10185 RVA: 0x00090910 File Offset: 0x0008EB10 public void Execute(global::VisQuery.TryResult res, global::VisNode self, global::VisNode other) { switch (res) { case global::VisQuery.TryResult.Enter: this.ExecuteEnter(self, other); break; case global::VisQuery.TryResult.Exit: this.ExecuteExit(self, other); break; } }
// Token: 0x060027CA RID: 10186 RVA: 0x00090958 File Offset: 0x0008EB58 public global::VisQuery.TryResult TryAdd(global::VisNode self, global::VisNode other) { if (!this.outer.Try(self, other)) { return(this.TryRemove(self, other)); } if (this.applicable.Add(other)) { this.num++; return(global::VisQuery.TryResult.Enter); } return(global::VisQuery.TryResult.Stay); }
// Token: 0x060027C1 RID: 10177 RVA: 0x00090748 File Offset: 0x0008E948 private void Enter(global::VisNode a, global::VisNode b) { IDMain idMain = a.idMain; IDMain instigator = (!this.nonInstance) ? b.idMain : null; for (int i = 0; i < this.actions.Length; i++) { if (this.actions[i]) { this.actions[i].Accomplish(idMain, instigator); } } }
// Token: 0x06002699 RID: 9881 RVA: 0x0008CBB4 File Offset: 0x0008ADB4 public static global::VisMessageInfo Create(global::VisReactor issuer, global::VisNode other, global::VisMessageInfo.Kind kind) { global::VisMessageInfo visMessageInfo; if (global::VisMessageInfo.dump != null) { visMessageInfo = global::VisMessageInfo.dump; global::VisMessageInfo.dump = visMessageInfo.next; visMessageInfo.next = null; } else { visMessageInfo = new global::VisMessageInfo(); } visMessageInfo._self = issuer; visMessageInfo._other = other; visMessageInfo._kind = kind; return(visMessageInfo); }
// Token: 0x060027C6 RID: 10182 RVA: 0x00090880 File Offset: 0x0008EA80 public bool Fits(global::VisNode other) { return(this.applicable.Contains(other)); }
// Token: 0x06000B0C RID: 2828 RVA: 0x0002BF00 File Offset: 0x0002A100 public bool CanSeeUnobstructed(global::VisNode other) { return(this.idMain.CanSeeUnobstructed(other)); }
// Token: 0x060027C3 RID: 10179 RVA: 0x00090818 File Offset: 0x0008EA18 private bool Try(global::VisNode self, global::VisNode instigator) { global::Vis.Mask traitMask = self.traitMask; global::Vis.Mask traitMask2 = instigator.traitMask; return(this.evaluation.Pass(traitMask, traitMask2)); }
// Token: 0x060027D5 RID: 10197 RVA: 0x00090A70 File Offset: 0x0008EC70 protected virtual void React_SpectatorRemove(global::VisNode spectator) { }
// Token: 0x060027D9 RID: 10201 RVA: 0x00090A80 File Offset: 0x0008EC80 protected virtual void React_SeeRemove(global::VisNode lost) { }
// Token: 0x060027D8 RID: 10200 RVA: 0x00090A7C File Offset: 0x0008EC7C protected virtual void React_SeeAdd(global::VisNode spotted) { }
// Token: 0x06002683 RID: 9859 RVA: 0x0008CA50 File Offset: 0x0008AC50 protected override void React_SeeAdd(global::VisNode node) { this.Exec(this.awareEnter, node, global::VisMessageInfo.Kind.SeeAdd); }
// Token: 0x06002688 RID: 9864 RVA: 0x0008CAA0 File Offset: 0x0008ACA0 protected override void React_SpectatorRemove(global::VisNode node) { this.Exec(this.awareEnter, node, global::VisMessageInfo.Kind.SpectatorRemove); }
// Token: 0x0600267F RID: 9855 RVA: 0x0008CA20 File Offset: 0x0008AC20 private void Exec(string message, global::VisNode arg, global::VisMessageInfo.Kind kind) { }
// Token: 0x06000B0F RID: 2831 RVA: 0x0002BF30 File Offset: 0x0002A130 public bool CanSee(global::VisNode other, bool unobstructed) { return(this.idMain.CanSee(other, unobstructed)); }
// Token: 0x06000B09 RID: 2825 RVA: 0x0002BED0 File Offset: 0x0002A0D0 public bool CanSee(global::VisNode other) { return(this.idMain.CanSee(other)); }