// Function from file: newscaster.dm public void submitWanted(dynamic criminal = null, string body = null, string scanned_user = null, dynamic photo = null, bool?adminMsg = null, bool?newMessage = null) { adminMsg = adminMsg ?? false; newMessage = newMessage ?? false; Obj_Machinery_Newscaster N = null; this.wanted_issue.active = true; this.wanted_issue.criminal = criminal; this.wanted_issue.body = body; this.wanted_issue.scannedUser = scanned_user; this.wanted_issue.isAdminMsg = adminMsg; if (Lang13.Bool(photo)) { this.wanted_issue.img = photo.img; } if (newMessage == true) { foreach (dynamic _a in Lang13.Enumerate(GlobalVars.allCasters, typeof(Obj_Machinery_Newscaster))) { N = _a; N.newsAlert(); N.update_icon(); } } return; }
// Function from file: newscaster.dm public void deleteWanted( ) { Obj_Machinery_Newscaster NEWSCASTER = null; this.wanted_issue.active = false; this.wanted_issue.criminal = null; this.wanted_issue.body = null; this.wanted_issue.scannedUser = null; this.wanted_issue.img = null; foreach (dynamic _a in Lang13.Enumerate(GlobalVars.allCasters, typeof(Obj_Machinery_Newscaster))) { NEWSCASTER = _a; NEWSCASTER.update_icon(); } return; }