terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
NetAmbienceModule.cs
Go to the documentation of this file.
1using System;
2using System.IO;
9using Terraria.Net;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x20009F2")]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x6004B68")]
18 [global::Cpp2ILInjected.Address(RVA = "0x8A7D78", Offset = "0x8A7D78", Length = "0x100")]
19 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "SpawnForPlayer", MemberParameters = new object[]
21 {
24 }, ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", ReturnType = typeof(int))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetModule), Member = "CreatePacket", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(NetPacket))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetPacket), Member = "get_Writer", ReturnType = typeof(BinaryWriter))]
29 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
31 {
32 throw null;
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x6004B69")]
36 [global::Cpp2ILInjected.Address(RVA = "0x8A7E78", Offset = "0x8A7E78", Length = "0x15C")]
37 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Action), Member = ".ctor", MemberParameters = new object[]
41 {
42 typeof(object),
44 }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "QueueMainThreadAction", MemberParameters = new object[] { typeof(Action) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
47 public override bool Deserialize(BinaryReader reader, int userId)
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x6004B6A")]
53 [global::Cpp2ILInjected.Address(RVA = "0x8A7FDC", Offset = "0x8A7FDC", Length = "0x8")]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetModule), Member = ".ctor", ReturnType = typeof(void))]
57 {
58 throw null;
59 }
60
62 [global::Cpp2ILInjected.Token(Token = "0x20009F3")]
63 private sealed class <>c__DisplayClass1_0
64 {
65 [global::Cpp2ILInjected.Token(Token = "0x6004B6B")]
66 [global::Cpp2ILInjected.Address(RVA = "0x8A7FD4", Offset = "0x8A7FD4", Length = "0x8")]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
70 {
71 throw null;
72 }
73
74 [global::Cpp2ILInjected.Token(Token = "0x6004B6C")]
75 [global::Cpp2ILInjected.Address(RVA = "0x8A7FE4", Offset = "0x8A7FE4", Length = "0x13C")]
76 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EffectManager<>), Member = "get_Item", MemberParameters = new object[] { typeof(string) }, ReturnType = "T")]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbientSky), Member = "Spawn", MemberParameters = new object[]
80 {
83 typeof(int)
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
86 internal void <Deserialize>b__0()
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x40085B0")]
92 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
93 public byte playerId;
94
95 [global::Cpp2ILInjected.Token(Token = "0x40085B1")]
96 [global::Cpp2ILInjected.FieldOffset(Offset = "0x11")]
97 public SkyEntityType type;
98
99 [global::Cpp2ILInjected.Token(Token = "0x40085B2")]
100 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
101 public int seed;
102 }
103 }
104}
class f__AnonymousType0<< Count > j__TPar
override bool Deserialize(BinaryReader reader, int userId)
static NetPacket SerializeSkyEntitySpawn(Player player, SkyEntityType type)