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?
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: