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

◆ PlaceLiquid()

static bool Terraria.WorldGen.PlaceLiquid ( int x,
int y,
byte liquidType,
byte amount )
inlinestatic

Definition at line 146 of file WorldGen.cs.

147 {
148 if (!true)
149 {
150 }
151 long num = 0L;
152 bool flag = WorldGen.InWorld(0, x, (int)num);
153 if (!flag)
154 {
155 }
156 Tile tile;
157 bool isLoaded = tile.IsLoaded;
158 if (!flag)
159 {
160 }
161 if (flag)
162 {
163 if (!flag)
164 {
165 }
166 if (!flag)
167 {
168 return;
169 }
170 }
171 if (!flag)
172 {
173 }
174 int num2 = 1;
175 WorldGen.SquareTileFrame(0, x, num2 != 0);
176 if (!flag)
177 {
178 }
179 if (flag)
180 {
181 if (!flag)
182 {
183 }
184 NetMessage.sendWater(0, x);
185 return false;
186 }
187 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.WorldGen.InWorld(), Terraria.Tile.IsLoaded, j__TPar, System.L, Terraria.NetMessage.sendWater(), and Terraria.WorldGen.SquareTileFrame().