// Token: 0x0600034C RID: 844 RVA: 0x00010380 File Offset: 0x0000E580 private void OnTriggerEnter(Collider other) { global::Character fromCollider = this.GetFromCollider(other); if (!fromCollider) { return; } global::Radiation local = fromCollider.GetLocal <global::Radiation>(); if (local) { local.AddRadiationZone(this); } }
// Token: 0x0600034F RID: 847 RVA: 0x00010444 File Offset: 0x0000E644 internal bool CanAddToRadiation(global::Radiation radiation) { bool result; if (!this.shuttingDown) { HashSet <global::Radiation> hashSet; if ((hashSet = this.radiating) == null) { hashSet = (this.radiating = new HashSet <global::Radiation>()); } result = hashSet.Add(radiation); } else { result = false; } return(result); }
// Token: 0x06000350 RID: 848 RVA: 0x00010480 File Offset: 0x0000E680 internal bool RemoveFromRadiation(global::Radiation radiation) { return(this.shuttingDown || (this.radiating != null && this.radiating.Remove(radiation))); }