• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

NolHaiic

Recruit
2 Badges
Mar 30, 2021
1
0
  • Cities: Skylines
  • Stellaris
My English is not good, so I use translation software.

I'm trying to make a mod

Q1: I found that "building", "segment" and so on have no ID or similar attributes, so I can't access them quickly from the array in other places

I can't understand the official source code, but I found a lot of "for", and I didn't find any useful information in other mods

What is the right thing to do? How can I quickly find the same object again?



Q2: how can I replace a manager? I see many mods are using reflection. Is there any other way?
 
Last edited: