// Function from file: chunk.dm public void remove(Mob_Camera_AiEye eye = null) { Client client = null; client = eye.GetViewerClient(); if (client != null) { client.images.Remove(this.obscured); } eye.visibleCameraChunks.Remove(this); this.seenby.Remove(eye); if (this.visible > 0) { this.visible--; } return; }
// Function from file: chunk.dm public void add(Mob_Camera_AiEye eye = null) { Client client = null; client = eye.GetViewerClient(); if (client != null) { client.images.Add(this.obscured); } eye.visibleCameraChunks.Add(this); this.visible++; this.seenby.Add(eye); if (this.changed && !this.updating) { this.update(); } return; }