TransferReason
阅读
2023-11-30更新
最新编辑:Lu_23333
阅读:
更新日期:2023-11-30
最新编辑:Lu_23333
TransferReason is an enum in the TransferManager class used to represent a list of transfers in Cities Skylines
Garbage
- 0x0000000
Used for summoning rubbish trucks to buildings
CommonBuildingAI lists outgoing offers for TransferReason.Garbage when more than 200 garbage accumulates. These offers are listed with an Amount of 1 and a Priority of garbageForCollection / 1000
Crime
- 0x0000001
Used for summoning police cars
Sick
- 0x0000002
Used for summoning ambulances
Dead
- 0x0000003
Used for summoning hearses.
LuxuryProducts
- 0x00000069
LuxuryProducts
are sometimes requested in place of Goods
or Food
in deliveries (see CommercialBuildingAI.SimulationStepActive
), and are accepted as incoming materials (see CommercialBuildingAI.ModifyMaterialBuffer
)
Source
From TransferManager class
Garbage = 0, Crime = 1, Sick = 2, Dead = 3, Worker0 = 4, Worker1 = 5, Worker2 = 6, Worker3 = 7, Student1 = 8, Student2 = 9, Student3 = 10, // 0x0000000A Fire = 11, // 0x0000000B Bus = 12, // 0x0000000C Oil = 13, // 0x0000000D Ore = 14, // 0x0000000E Logs = 15, // 0x0000000F Grain = 16, // 0x00000010 Goods = 17, // 0x00000011 PassengerTrain = 18, // 0x00000012 Coal = 19, // 0x00000013 Family0 = 20, // 0x00000014 Family1 = 21, // 0x00000015 Family2 = 22, // 0x00000016 Family3 = 23, // 0x00000017 Single0 = 24, // 0x00000018 Single1 = 25, // 0x00000019 Single2 = 26, // 0x0000001A Single3 = 27, // 0x0000001B PartnerYoung = 28, // 0x0000001C PartnerAdult = 29, // 0x0000001D Shopping = 30, // 0x0000001E Petrol = 31, // 0x0000001F Food = 32, // 0x00000020 LeaveCity0 = 33, // 0x00000021 LeaveCity1 = 34, // 0x00000022 LeaveCity2 = 35, // 0x00000023 Entertainment = 36, // 0x00000024 Lumber = 37, // 0x00000025 GarbageMove = 38, // 0x00000026 MetroTrain = 39, // 0x00000027 PassengerPlane = 40, // 0x00000028 PassengerShip = 41, // 0x00000029 DeadMove = 42, // 0x0000002A DummyCar = 43, // 0x0000002B DummyTrain = 44, // 0x0000002C DummyShip = 45, // 0x0000002D DummyPlane = 46, // 0x0000002E Single0B = 47, // 0x0000002F Single1B = 48, // 0x00000030 Single2B = 49, // 0x00000031 Single3B = 50, // 0x00000032 ShoppingB = 51, // 0x00000033 ShoppingC = 52, // 0x00000034 ShoppingD = 53, // 0x00000035 ShoppingE = 54, // 0x00000036 ShoppingF = 55, // 0x00000037 ShoppingG = 56, // 0x00000038 ShoppingH = 57, // 0x00000039 EntertainmentB = 58, // 0x0000003A EntertainmentC = 59, // 0x0000003B EntertainmentD = 60, // 0x0000003C Taxi = 61, // 0x0000003D CriminalMove = 62, // 0x0000003E Tram = 63, // 0x0000003F Snow = 64, // 0x00000040 SnowMove = 65, // 0x00000041 RoadMaintenance = 66, // 0x00000042 SickMove = 67, // 0x00000043 ForestFire = 68, // 0x00000044 Collapsed = 69, // 0x00000045 Collapsed2 = 70, // 0x00000046 Fire2 = 71, // 0x00000047 Sick2 = 72, // 0x00000048 FloodWater = 73, // 0x00000049 EvacuateA = 74, // 0x0000004A EvacuateB = 75, // 0x0000004B EvacuateC = 76, // 0x0000004C EvacuateD = 77, // 0x0000004D EvacuateVipA = 78, // 0x0000004E EvacuateVipB = 79, // 0x0000004F EvacuateVipC = 80, // 0x00000050 EvacuateVipD = 81, // 0x00000051 Ferry = 82, // 0x00000052 CableCar = 83, // 0x00000053 Blimp = 84, // 0x00000054 Monorail = 85, // 0x00000055 TouristBus = 86, // 0x00000056 ParkMaintenance = 87, // 0x00000057 TouristA = 88, // 0x00000058 TouristB = 89, // 0x00000059 TouristC = 90, // 0x0000005A TouristD = 91, // 0x0000005B Mail = 92, // 0x0000005C UnsortedMail = 93, // 0x0000005D SortedMail = 94, // 0x0000005E OutgoingMail = 95, // 0x0000005F IncomingMail = 96, // 0x00000060 AnimalProducts = 97, // 0x00000061 Flours = 98, // 0x00000062 Paper = 99, // 0x00000063 PlanedTimber = 100, // 0x00000064 Petroleum = 101, // 0x00000065 Plastics = 102, // 0x00000066 Glass = 103, // 0x00000067 Metals = 104, // 0x00000068 LuxuryProducts = 105, // 0x00000069 GarbageTransfer = 106, // 0x0000006A PassengerHelicopter = 107, // 0x0000006B Fish = 108, // 0x0000006C Trolleybus = 109, // 0x0000006D ElderCare = 110, // 0x0000006E ChildCare = 111, // 0x0000006F IntercityBus = 112, // 0x00000070 None = 255, // 0x000000FF