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

◆ Cull()

void Terraria.WorldGen.TileMergeCullCache.Cull ( int up,
int down,
int left,
int right,
int upLeft,
int upRight,
int downLeft,
int downRight )
inline

Definition at line 19206 of file WorldGen.cs.

19207 {
19208 bool cullBottom = this.CullBottom;
19209 if (cullBottom)
19210 {
19211 down.m_value = (cullBottom ? 1 : 0);
19212 }
19213 bool cullLeft = this.CullLeft;
19214 if (cullLeft)
19215 {
19216 left.m_value = (cullLeft ? 1 : 0);
19217 }
19218 bool cullRight = this.CullRight;
19219 if (cullRight)
19220 {
19221 right.m_value = (cullRight ? 1 : 0);
19222 }
19223 bool cullTopLeft = this.CullTopLeft;
19224 if (cullTopLeft)
19225 {
19226 upLeft.m_value = (cullTopLeft ? 1 : 0);
19227 }
19228 bool cullTopRight = this.CullTopRight;
19229 if (cullTopRight)
19230 {
19231 upRight.m_value = (cullTopRight ? 1 : 0);
19232 }
19233 bool cullBottomLeft = this.CullBottomLeft;
19234 if (cullBottomLeft)
19235 {
19236 downLeft.m_value = (cullBottomLeft ? 1 : 0);
19237 }
19238 if (this.CullBottomRight)
19239 {
19240 }
19241 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.WorldGen.TileMergeCullCache.CullBottom, Terraria.WorldGen.TileMergeCullCache.CullBottomLeft, Terraria.WorldGen.TileMergeCullCache.CullBottomRight, Terraria.WorldGen.TileMergeCullCache.CullLeft, Terraria.WorldGen.TileMergeCullCache.CullRight, Terraria.WorldGen.TileMergeCullCache.CullTopLeft, Terraria.WorldGen.TileMergeCullCache.CullTopRight, and j__TPar.