terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ SerialiseAtPath()

static void LayoutDefinition.SerialiseAtPath ( BinaryWriter writer,
Transform root )
inlinestaticprivateinherited

Definition at line 13 of file LayoutDefinition.cs.

14 {
15 if (!true)
16 {
17 }
18 int childCount = root.transform.childCount;
19 long num = 0L;
20 Transform child = root.transform.GetChild((int)num);
22 if (component != null)
23 {
24 Type type = component.GetType();
25 string text = component.name;
26 Type type2 = component.GetType();
27 Type type3 = component.GetType();
28 component.SaveFields(writer, type3, component);
29 }
30 int childCount2 = child.childCount;
31 LayoutDefinition.SerialiseAtPath(writer, child);
33 }
class f__AnonymousType0<< Count > j__TPar
void SaveFields(BinaryWriter writer, Type implementingType, object thisObject)
static void SerialiseAtPath(BinaryWriter writer, Transform root)
Component GetComponent(Type type)
Definition Component.cs:41
Transform GetChild(int index)
Definition Transform.cs:264

References UnityEngine.Transform.childCount, UnityEngine.Transform.GetChild(), UnityEngine.Component.GetComponent(), j__TPar, System.L, LayoutDefinition.name, LayoutDefinition.SaveFields(), LayoutDefinition.SerialiseAtPath(), System.text, and UnityEngine.Component.transform.

Referenced by LayoutDefinition.SerialiseAtPath().