public void RemoveWorkOffers(uint citizenIndex) { // Actually we're going to look for any outstanding job/student transfer offers for this person and remove them CitizenManager citizenManager = Singleton <CitizenManager> .instance; TransferManager transferManager = Singleton <TransferManager> .instance; var offer = default(TransferManager.TransferOffer); offer.Citizen = citizenIndex; for (var reason = TransferManager.TransferReason.Worker0; reason <= TransferManager.TransferReason.Worker3; ++reason) { transferManager.RemoveOutgoingOffer(reason, offer); } }