Esempio n. 1
0
 public static void Prefix(uint ___citizenID, string ___name, object __instance, out bool __state)
 {
     NameHandler.CheckCounter(__instance, out __state);
     if (__state && CitizenManager.instance.GetCitizenName(___citizenID) == ___name)
     {
         __state = false;
     }
 }
Esempio n. 2
0
 public static void Prefix(ushort ___parkedID, string ___name, object __instance, out bool __state)
 {
     NameHandler.CheckCounter(__instance, out __state);
     if (__state && VehicleManager.instance.GetParkedVehicleName(___parkedID) == ___name)
     {
         __state = false;
     }
 }
Esempio n. 3
0
 public static void Prefix(ushort ___building, string ___name, object __instance, out bool __state)
 {
     NameHandler.CheckCounter(__instance, out __state);
     if (__state && BuildingManager.instance.GetBuildingName(___building, InstanceID.Empty) == ___name)
     {
         __state = false;
     }
 }
Esempio n. 4
0
 public static void Prefix(ushort ___lineID, string ___name, object __instance, out bool __state)
 {
     NameHandler.CheckCounter(__instance, out __state);
     if (__state && TransportManager.instance.GetLineName(___lineID) == ___name)
     {
         __state = false;
     }
 }
Esempio n. 5
0
 public static void Prefix(ushort ___segmentID, string ___name, object __instance, out bool __state)
 {
     NameHandler.CheckCounter(__instance, out __state);
     if (__state && NetManager.instance.GetSegmentName(___segmentID) == ___name)
     {
         __state = false;
     }
 }
Esempio n. 6
0
 public static void Prefix(int ___park, string ___name, object __instance, out bool __state)
 {
     NameHandler.CheckCounter(__instance, out __state);
     if (__state && DistrictManager.instance.GetParkName(___park) == ___name)
     {
         __state = false;
     }
 }
Esempio n. 7
0
 public static void Prefix(ushort ___disasterID, string ___name, object __instance, out bool __state)
 {
     NameHandler.CheckCounter(__instance, out __state);
     if (__state && DisasterManager.instance.GetDisasterName(___disasterID) == ___name)
     {
         __state = false;
     }
 }
Esempio n. 8
0
 public static void Prefix(object __instance, out bool __state)
 {
     NameHandler.CheckCounter(__instance, out __state);
 }