C# 클래스 Terraria.TileObjectData

파일 보기 프로젝트 열기: EmuDevs/EDTerraria 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Calculate void
SetupBaseObject void
WriteCheck void
addAlternate void
addBaseTile void
addSubTile void
addTile void

공개 메소드들

메소드 설명
CalculatePlacementStyle ( int style, int alternate, int random ) : int
CallPostPlacementPlayerHook ( int tileX, int tileY, int type, int style, int dir, TileObject data ) : bool
CheckLavaDeath ( Tile checkTile ) : bool
CheckLavaDeath ( int type, int style ) : bool
CheckLiquidPlacement ( int type, int style, Tile checkTile ) : bool
CheckWaterDeath ( Tile checkTile ) : bool
CheckWaterDeath ( int type, int style ) : bool
CopyFrom ( TileObjectData copy ) : void
CustomPlace ( int type, int style ) : bool
FullCopyFrom ( TileObjectData copy ) : void
FullCopyFrom ( ushort tileType ) : void
GetTileData ( Tile getTile ) : TileObjectData
GetTileData ( int type, int style, int alternate ) : TileObjectData
Initialize ( ) : void
LiquidPlace ( Tile checkTile ) : bool
LiquidPlace ( int type, Tile checkTile ) : bool
OriginToTopLeft ( int type, int style, Point16 &baseCoords ) : void
PlatformFrameWidth ( ) : int
SyncObjectPlacement ( int tileX, int tileY, int type, int style, int dir ) : void
TileObjectData ( TileObjectData copyFrom = null ) : System
isValidAlternateAnchor ( int type ) : bool
isValidTileAnchor ( int type ) : bool
isValidWallAnchor ( int type ) : bool

비공개 메소드들

메소드 설명
Calculate ( ) : void
SetupBaseObject ( ) : void
WriteCheck ( ) : void
addAlternate ( int baseStyle ) : void
addBaseTile ( TileObjectData &baseTile ) : void
addSubTile ( int style ) : void
addTile ( int tileType ) : void

메소드 상세

CalculatePlacementStyle() 공개 메소드

public CalculatePlacementStyle ( int style, int alternate, int random ) : int
style int
alternate int
random int
리턴 int

CallPostPlacementPlayerHook() 공개 정적인 메소드

public static CallPostPlacementPlayerHook ( int tileX, int tileY, int type, int style, int dir, TileObject data ) : bool
tileX int
tileY int
type int
style int
dir int
data TileObject
리턴 bool

CheckLavaDeath() 공개 정적인 메소드

public static CheckLavaDeath ( Tile checkTile ) : bool
checkTile Tile
리턴 bool

CheckLavaDeath() 공개 정적인 메소드

public static CheckLavaDeath ( int type, int style ) : bool
type int
style int
리턴 bool

CheckLiquidPlacement() 공개 정적인 메소드

public static CheckLiquidPlacement ( int type, int style, Tile checkTile ) : bool
type int
style int
checkTile Tile
리턴 bool

CheckWaterDeath() 공개 정적인 메소드

public static CheckWaterDeath ( Tile checkTile ) : bool
checkTile Tile
리턴 bool

CheckWaterDeath() 공개 정적인 메소드

public static CheckWaterDeath ( int type, int style ) : bool
type int
style int
리턴 bool

CopyFrom() 공개 메소드

public CopyFrom ( TileObjectData copy ) : void
copy TileObjectData
리턴 void

CustomPlace() 공개 정적인 메소드

public static CustomPlace ( int type, int style ) : bool
type int
style int
리턴 bool

FullCopyFrom() 공개 메소드

public FullCopyFrom ( TileObjectData copy ) : void
copy TileObjectData
리턴 void

FullCopyFrom() 공개 메소드

public FullCopyFrom ( ushort tileType ) : void
tileType ushort
리턴 void

GetTileData() 공개 정적인 메소드

public static GetTileData ( Tile getTile ) : TileObjectData
getTile Tile
리턴 TileObjectData

GetTileData() 공개 정적인 메소드

public static GetTileData ( int type, int style, int alternate ) : TileObjectData
type int
style int
alternate int
리턴 TileObjectData

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

LiquidPlace() 공개 메소드

public LiquidPlace ( Tile checkTile ) : bool
checkTile Tile
리턴 bool

LiquidPlace() 공개 정적인 메소드

public static LiquidPlace ( int type, Tile checkTile ) : bool
type int
checkTile Tile
리턴 bool

OriginToTopLeft() 공개 정적인 메소드

public static OriginToTopLeft ( int type, int style, Point16 &baseCoords ) : void
type int
style int
baseCoords Terraria.DataStructures.Point16
리턴 void

PlatformFrameWidth() 공개 정적인 메소드

public static PlatformFrameWidth ( ) : int
리턴 int

SyncObjectPlacement() 공개 정적인 메소드

public static SyncObjectPlacement ( int tileX, int tileY, int type, int style, int dir ) : void
tileX int
tileY int
type int
style int
dir int
리턴 void

TileObjectData() 공개 메소드

public TileObjectData ( TileObjectData copyFrom = null ) : System
copyFrom TileObjectData
리턴 System

isValidAlternateAnchor() 공개 메소드

public isValidAlternateAnchor ( int type ) : bool
type int
리턴 bool

isValidTileAnchor() 공개 메소드

public isValidTileAnchor ( int type ) : bool
type int
리턴 bool

isValidWallAnchor() 공개 메소드

public isValidWallAnchor ( int type ) : bool
type int
리턴 bool