Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AnchorValidWalls

int [] Terraria.ObjectData.TileObjectData.AnchorValidWalls
getset

Definition at line 449 of file TileObjectData.cs.

450 {
451 get
452 {
453 if (_anchorTiles == null)
454 {
455 return _baseObject.AnchorValidWalls;
456 }
457 return _anchorTiles.wallValid;
458 }
459 set
460 {
461 WriteCheck();
463 {
464 _hasOwnAnchorTiles = true;
466 }
467 _anchorTiles.wallValid = value;
469 {
470 return;
471 }
472 for (int i = 0; i < _alternates.data.Count; i++)
473 {
474 int[] anchorValidWalls = value;
475 if (value != null)
476 {
477 anchorValidWalls = (int[])value.Clone();
478 }
479 _alternates.data[i].AnchorValidWalls = anchorValidWalls;
480 }
481 }
482 }
static TileObjectData _baseObject
TileObjectAlternatesModule _alternates

Referenced by Terraria.ObjectData.TileObjectData.SetupBaseObject().