C# Class Terraria.ModLoader.GlobalTile

Mostra file Open project: JavidPack/TerraCustom Class Usage Examples

Public Methods

Method Description
AddModCactus ( int soilType, ModCactus cactus ) : void
AddModPalmTree ( int soilType, ModPalmTree palmTree ) : void
AddModTree ( int soilType, ModTree tree ) : void
AddToArray ( int &array, int type ) : void
AdjTiles ( int type ) : int[]
AnimateTile ( ) : void
AutoSelect ( int i, int j, int type, Item item ) : bool
Autoload ( string &name ) : bool
CanExplode ( int i, int j, int type ) : bool
CanKillTile ( int i, int j, int type, bool &blockDamaged ) : bool
CanPlace ( int i, int j, int type ) : bool
ChangeWaterfallStyle ( int type, int &style ) : void
CreateDust ( int i, int j, int type, int &dustType ) : bool
Dangersense ( int i, int j, int type, Player player ) : bool
DrawEffects ( int i, int j, int type, SpriteBatch spriteBatch, Color &drawColor ) : void
Drop ( int i, int j, int type ) : bool
DropCritterChance ( int i, int j, int type, int &wormChance, int &grassHopperChance, int &jungleGrubChance ) : void
HitWire ( int i, int j, int type ) : void
KillSound ( int i, int j, int type ) : bool
KillTile ( int i, int j, int type, bool &fail, bool &effectOnly, bool &noItem ) : void
ModifyLight ( int i, int j, int type, float &r, float &g, float &b ) : void
MouseOver ( int i, int j, int type ) : void
MouseOverFar ( int i, int j, int type ) : void
NearbyEffects ( int i, int j, int type, bool closer ) : void
NumDust ( int i, int j, int type, bool fail, int &num ) : void
PostDraw ( int i, int j, int type, SpriteBatch spriteBatch ) : void
PreDraw ( int i, int j, int type, SpriteBatch spriteBatch ) : bool
RandomUpdate ( int i, int j, int type ) : void
RightClick ( int i, int j, int type ) : void
SaplingGrowthType ( int type, int &style ) : int
SetDefaults ( ) : void
SetSpriteEffects ( int i, int j, int type, SpriteEffects &spriteEffects ) : void
Slope ( int i, int j, int type ) : bool
TileFrame ( int i, int j, int type, bool &resetFrame, bool &noBreak ) : bool

Method Details

AddModCactus() public method

public AddModCactus ( int soilType, ModCactus cactus ) : void
soilType int
cactus ModCactus
return void

AddModPalmTree() public method

public AddModPalmTree ( int soilType, ModPalmTree palmTree ) : void
soilType int
palmTree ModPalmTree
return void

AddModTree() public method

public AddModTree ( int soilType, ModTree tree ) : void
soilType int
tree ModTree
return void

AddToArray() public method

public AddToArray ( int &array, int type ) : void
array int
type int
return void

AdjTiles() public method

public AdjTiles ( int type ) : int[]
type int
return int[]

AnimateTile() public method

public AnimateTile ( ) : void
return void

AutoSelect() public method

public AutoSelect ( int i, int j, int type, Item item ) : bool
i int
j int
type int
item Item
return bool

Autoload() public method

public Autoload ( string &name ) : bool
name string
return bool

CanExplode() public method

public CanExplode ( int i, int j, int type ) : bool
i int
j int
type int
return bool

CanKillTile() public method

public CanKillTile ( int i, int j, int type, bool &blockDamaged ) : bool
i int
j int
type int
blockDamaged bool
return bool

CanPlace() public method

public CanPlace ( int i, int j, int type ) : bool
i int
j int
type int
return bool

ChangeWaterfallStyle() public method

public ChangeWaterfallStyle ( int type, int &style ) : void
type int
style int
return void

CreateDust() public method

public CreateDust ( int i, int j, int type, int &dustType ) : bool
i int
j int
type int
dustType int
return bool

Dangersense() public method

public Dangersense ( int i, int j, int type, Player player ) : bool
i int
j int
type int
player Terraria.Player
return bool

DrawEffects() public method

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

Drop() public method

public Drop ( int i, int j, int type ) : bool
i int
j int
type int
return bool

DropCritterChance() public method

public DropCritterChance ( int i, int j, int type, int &wormChance, int &grassHopperChance, int &jungleGrubChance ) : void
i int
j int
type int
wormChance int
grassHopperChance int
jungleGrubChance int
return void

HitWire() public method

public HitWire ( int i, int j, int type ) : void
i int
j int
type int
return void

KillSound() public method

public KillSound ( int i, int j, int type ) : bool
i int
j int
type int
return bool

KillTile() public method

public KillTile ( int i, int j, int type, bool &fail, bool &effectOnly, bool &noItem ) : void
i int
j int
type int
fail bool
effectOnly bool
noItem bool
return void

ModifyLight() public method

public ModifyLight ( int i, int j, int type, float &r, float &g, float &b ) : void
i int
j int
type int
r float
g float
b float
return void

MouseOver() public method

public MouseOver ( int i, int j, int type ) : void
i int
j int
type int
return void

MouseOverFar() public method

public MouseOverFar ( int i, int j, int type ) : void
i int
j int
type int
return void

NearbyEffects() public method

public NearbyEffects ( int i, int j, int type, bool closer ) : void
i int
j int
type int
closer bool
return void

NumDust() public method

public NumDust ( int i, int j, int type, bool fail, int &num ) : void
i int
j int
type int
fail bool
num int
return void

PostDraw() public method

public PostDraw ( int i, int j, int type, SpriteBatch spriteBatch ) : void
i int
j int
type int
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

PreDraw() public method

public PreDraw ( int i, int j, int type, SpriteBatch spriteBatch ) : bool
i int
j int
type int
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return bool

RandomUpdate() public method

public RandomUpdate ( int i, int j, int type ) : void
i int
j int
type int
return void

RightClick() public method

public RightClick ( int i, int j, int type ) : void
i int
j int
type int
return void

SaplingGrowthType() public method

public SaplingGrowthType ( int type, int &style ) : int
type int
style int
return int

SetDefaults() public method

public SetDefaults ( ) : void
return void

SetSpriteEffects() public method

public SetSpriteEffects ( int i, int j, int type, SpriteEffects &spriteEffects ) : void
i int
j int
type int
spriteEffects SpriteEffects
return void

Slope() public method

public Slope ( int i, int j, int type ) : bool
i int
j int
type int
return bool

TileFrame() public method

public TileFrame ( int i, int j, int type, bool &resetFrame, bool &noBreak ) : bool
i int
j int
type int
resetFrame bool
noBreak bool
return bool