C# Class Terraria.ModLoader.ModTile

Afficher le fichier Open project: JavidPack/TerraCustom Class Usage Examples

Méthodes publiques

Свойство Type Description
adjTiles int[]
animationFrameHeight int
bed bool
chest string
chestDrop int
closeDoorID int
disableSmartCursor bool
dresser string
dresserDrop int
drop int
dustType int
minPick int
mineResist float
openDoorID int
sapling bool
soundStyle int
soundType int
torch bool

Méthodes publiques

Méthode Description
AddMapEntry ( Color color, string name = "" ) : void
AddMapEntry ( Color color, string name, Func nameFunc ) : void
AddToArray ( int &array ) : void
AnimateTile ( int &frame, int &frameCounter ) : void
AutoSelect ( int i, int j, Item item ) : bool
Autoload ( string &name, string &texture ) : bool
CanExplode ( int i, int j ) : bool
CanKillTile ( int i, int j, bool &blockDamaged ) : bool
CanPlace ( int i, int j ) : bool
ChangeWaterfallStyle ( int &style ) : void
CreateDust ( int i, int j, int &type ) : bool
Dangersense ( int i, int j, Player player ) : bool
DrawEffects ( int i, int j, SpriteBatch spriteBatch, Color &drawColor ) : void
Drop ( int i, int j ) : bool
DropCritterChance ( int i, int j, int &wormChance, int &grassHopperChance, int &jungleGrubChance ) : void
GetMapOption ( int i, int j ) : ushort
HasWalkDust ( ) : bool
HitWire ( int i, int j ) : void
KillMultiTile ( int i, int j, int frameX, int frameY ) : void
KillSound ( int i, int j ) : bool
KillTile ( int i, int j, bool &fail, bool &effectOnly, bool &noItem ) : void
ModifyLight ( int i, int j, float &r, float &g, float &b ) : void
MouseOver ( int i, int j ) : void
MouseOverFar ( int i, int j ) : void
NearbyEffects ( int i, int j, bool closer ) : void
NumDust ( int i, int j, bool fail, int &num ) : void
PostDraw ( int i, int j, SpriteBatch spriteBatch ) : void
PostSetDefaults ( ) : void
PreDraw ( int i, int j, SpriteBatch spriteBatch ) : bool
RandomUpdate ( int i, int j ) : void
RightClick ( int i, int j ) : void
SaplingGrowthType ( int &style ) : int
SetDefaults ( ) : void
SetDrawPositions ( int i, int j, int &width, int &offsetY, int &height ) : void
SetModCactus ( ModCactus cactus ) : void
SetModPalmTree ( ModPalmTree palmTree ) : void
SetModTree ( ModTree tree ) : void
SetSpriteEffects ( int i, int j, SpriteEffects &spriteEffects ) : void
Slope ( int i, int j ) : bool
TileFrame ( int i, int j, bool &resetFrame, bool &noBreak ) : bool
WalkDust ( int &dustType, bool &makeDust, Color &color ) : void

Method Details

AddMapEntry() public méthode

public AddMapEntry ( Color color, string name = "" ) : void
color Color
name string
Résultat void

AddMapEntry() public méthode

public AddMapEntry ( Color color, string name, Func nameFunc ) : void
color Color
name string
nameFunc Func
Résultat void

AddToArray() public méthode

public AddToArray ( int &array ) : void
array int
Résultat void

AnimateTile() public méthode

public AnimateTile ( int &frame, int &frameCounter ) : void
frame int
frameCounter int
Résultat void

AutoSelect() public méthode

public AutoSelect ( int i, int j, Item item ) : bool
i int
j int
item Item
Résultat bool

Autoload() public méthode

public Autoload ( string &name, string &texture ) : bool
name string
texture string
Résultat bool

CanExplode() public méthode

public CanExplode ( int i, int j ) : bool
i int
j int
Résultat bool

CanKillTile() public méthode

public CanKillTile ( int i, int j, bool &blockDamaged ) : bool
i int
j int
blockDamaged bool
Résultat bool

CanPlace() public méthode

public CanPlace ( int i, int j ) : bool
i int
j int
Résultat bool

ChangeWaterfallStyle() public méthode

public ChangeWaterfallStyle ( int &style ) : void
style int
Résultat void

CreateDust() public méthode

public CreateDust ( int i, int j, int &type ) : bool
i int
j int
type int
Résultat bool

Dangersense() public méthode

public Dangersense ( int i, int j, Player player ) : bool
i int
j int
player Terraria.Player
Résultat bool

DrawEffects() public méthode

public DrawEffects ( int i, int j, SpriteBatch spriteBatch, Color &drawColor ) : void
i int
j int
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
drawColor Color
Résultat void

Drop() public méthode

public Drop ( int i, int j ) : bool
i int
j int
Résultat bool

DropCritterChance() public méthode

public DropCritterChance ( int i, int j, int &wormChance, int &grassHopperChance, int &jungleGrubChance ) : void
i int
j int
wormChance int
grassHopperChance int
jungleGrubChance int
Résultat void

GetMapOption() public méthode

public GetMapOption ( int i, int j ) : ushort
i int
j int
Résultat ushort

HasWalkDust() public méthode

public HasWalkDust ( ) : bool
Résultat bool

HitWire() public méthode

public HitWire ( int i, int j ) : void
i int
j int
Résultat void

KillMultiTile() public méthode

public KillMultiTile ( int i, int j, int frameX, int frameY ) : void
i int
j int
frameX int
frameY int
Résultat void

KillSound() public méthode

public KillSound ( int i, int j ) : bool
i int
j int
Résultat bool

KillTile() public méthode

public KillTile ( int i, int j, bool &fail, bool &effectOnly, bool &noItem ) : void
i int
j int
fail bool
effectOnly bool
noItem bool
Résultat void

ModifyLight() public méthode

public ModifyLight ( int i, int j, float &r, float &g, float &b ) : void
i int
j int
r float
g float
b float
Résultat void

MouseOver() public méthode

public MouseOver ( int i, int j ) : void
i int
j int
Résultat void

MouseOverFar() public méthode

public MouseOverFar ( int i, int j ) : void
i int
j int
Résultat void

NearbyEffects() public méthode

public NearbyEffects ( int i, int j, bool closer ) : void
i int
j int
closer bool
Résultat void

NumDust() public méthode

public NumDust ( int i, int j, bool fail, int &num ) : void
i int
j int
fail bool
num int
Résultat void

PostDraw() public méthode

public PostDraw ( int i, int j, SpriteBatch spriteBatch ) : void
i int
j int
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

PostSetDefaults() public méthode

public PostSetDefaults ( ) : void
Résultat void

PreDraw() public méthode

public PreDraw ( int i, int j, SpriteBatch spriteBatch ) : bool
i int
j int
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat bool

RandomUpdate() public méthode

public RandomUpdate ( int i, int j ) : void
i int
j int
Résultat void

RightClick() public méthode

public RightClick ( int i, int j ) : void
i int
j int
Résultat void

SaplingGrowthType() public méthode

public SaplingGrowthType ( int &style ) : int
style int
Résultat int

SetDefaults() public méthode

public SetDefaults ( ) : void
Résultat void

SetDrawPositions() public méthode

public SetDrawPositions ( int i, int j, int &width, int &offsetY, int &height ) : void
i int
j int
width int
offsetY int
height int
Résultat void

SetModCactus() public méthode

public SetModCactus ( ModCactus cactus ) : void
cactus ModCactus
Résultat void

SetModPalmTree() public méthode

public SetModPalmTree ( ModPalmTree palmTree ) : void
palmTree ModPalmTree
Résultat void

SetModTree() public méthode

public SetModTree ( ModTree tree ) : void
tree ModTree
Résultat void

SetSpriteEffects() public méthode

public SetSpriteEffects ( int i, int j, SpriteEffects &spriteEffects ) : void
i int
j int
spriteEffects SpriteEffects
Résultat void

Slope() public méthode

public Slope ( int i, int j ) : bool
i int
j int
Résultat bool

TileFrame() public méthode

public TileFrame ( int i, int j, bool &resetFrame, bool &noBreak ) : bool
i int
j int
resetFrame bool
noBreak bool
Résultat bool

WalkDust() public méthode

public WalkDust ( int &dustType, bool &makeDust, Color &color ) : void
dustType int
makeDust bool
color Color
Résultat void

Property Details

adjTiles public_oe property

public int[] adjTiles
Résultat int[]

animationFrameHeight public_oe property

public int animationFrameHeight
Résultat int

bed public_oe property

public bool bed
Résultat bool

chest public_oe property

public string chest
Résultat string

chestDrop public_oe property

public int chestDrop
Résultat int

closeDoorID public_oe property

public int closeDoorID
Résultat int

disableSmartCursor public_oe property

public bool disableSmartCursor
Résultat bool

dresser public_oe property

public string dresser
Résultat string

dresserDrop public_oe property

public int dresserDrop
Résultat int

drop public_oe property

public int drop
Résultat int

dustType public_oe property

public int dustType
Résultat int

minPick public_oe property

public int minPick
Résultat int

mineResist public_oe property

public float mineResist
Résultat float

openDoorID public_oe property

public int openDoorID
Résultat int

sapling public_oe property

public bool sapling
Résultat bool

soundStyle public_oe property

public int soundStyle
Résultat int

soundType public_oe property

public int soundType
Résultat int

torch public_oe property

public bool torch
Résultat bool