C# Class Terraria.ModLoader.GlobalTile

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

Méthodes publiques

Méthode 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 méthode

public AddModCactus ( int soilType, ModCactus cactus ) : void
soilType int
cactus ModCactus
Résultat void

AddModPalmTree() public méthode

public AddModPalmTree ( int soilType, ModPalmTree palmTree ) : void
soilType int
palmTree ModPalmTree
Résultat void

AddModTree() public méthode

public AddModTree ( int soilType, ModTree tree ) : void
soilType int
tree ModTree
Résultat void

AddToArray() public méthode

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

AdjTiles() public méthode

public AdjTiles ( int type ) : int[]
type int
Résultat int[]

AnimateTile() public méthode

public AnimateTile ( ) : void
Résultat void

AutoSelect() public méthode

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

Autoload() public méthode

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

CanExplode() public méthode

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

CanKillTile() public méthode

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

CanPlace() public méthode

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

ChangeWaterfallStyle() public méthode

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

CreateDust() public méthode

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

Dangersense() public méthode

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

DrawEffects() public méthode

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
Résultat void

Drop() public méthode

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

DropCritterChance() public méthode

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
Résultat void

HitWire() public méthode

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

KillSound() public méthode

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

KillTile() public méthode

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
Résultat void

ModifyLight() public méthode

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
Résultat void

MouseOver() public méthode

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

MouseOverFar() public méthode

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

NearbyEffects() public méthode

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

NumDust() public méthode

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

PostDraw() public méthode

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

PreDraw() public méthode

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

RandomUpdate() public méthode

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

RightClick() public méthode

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

SaplingGrowthType() public méthode

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

SetDefaults() public méthode

public SetDefaults ( ) : void
Résultat void

SetSpriteEffects() public méthode

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

Slope() public méthode

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

TileFrame() public méthode

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