Méthode | Description | |
---|---|---|
AI ( Terraria.NPC npc ) : void | ||
Autoload ( string &name ) : bool | ||
BossHeadRotation ( Terraria.NPC npc, float &rotation ) : void | ||
BossHeadSlot ( Terraria.NPC npc, int &index ) : void | ||
BossHeadSpriteEffects ( Terraria.NPC npc, SpriteEffects &spriteEffects ) : void | ||
BuffTownNPC ( float &damageMult, int &defense ) : void | ||
CanBeHitByItem ( Terraria.NPC npc, |
||
CanBeHitByProjectile ( Terraria.NPC npc, |
||
CanHitNPC ( Terraria.NPC npc, Terraria.NPC target ) : bool? | ||
CanHitPlayer ( Terraria.NPC npc, |
||
CheckActive ( Terraria.NPC npc ) : bool | ||
CheckDead ( Terraria.NPC npc ) : bool | ||
DrawEffects ( Terraria.NPC npc, Color &drawColor ) : void | ||
DrawHealthBar ( Terraria.NPC npc, byte hbPosition, float &scale, Vector2 &position ) : bool? | ||
DrawTownAttackGun ( Terraria.NPC npc, float &scale, int &item, int &closeness ) : void | ||
DrawTownAttackSwing ( Terraria.NPC npc, Texture2D &item, int &itemSize, float &scale, Vector2 &offset ) : void | ||
EditSpawnPool ( float>.IDictionary |
||
EditSpawnRange ( |
||
EditSpawnRate ( |
||
FindFrame ( Terraria.NPC npc, int frameHeight ) : void | ||
GetAlpha ( Terraria.NPC npc, Color drawColor ) : Color? | ||
GetChat ( Terraria.NPC npc, string &chat ) : void | ||
HitEffect ( Terraria.NPC npc, int hitDirection, double damage ) : void | ||
ModifyHitByItem ( Terraria.NPC npc, |
||
ModifyHitByProjectile ( Terraria.NPC npc, |
||
ModifyHitNPC ( Terraria.NPC npc, Terraria.NPC target, int &damage, float &knockback, bool &crit ) : void | ||
ModifyHitPlayer ( Terraria.NPC npc, |
||
NPCLoot ( Terraria.NPC npc ) : void | ||
OnHitByItem ( Terraria.NPC npc, |
||
OnHitByProjectile ( Terraria.NPC npc, |
||
OnHitNPC ( Terraria.NPC npc, Terraria.NPC target, int damage, float knockback, bool crit ) : void | ||
OnHitPlayer ( Terraria.NPC npc, |
||
PostAI ( Terraria.NPC npc ) : void | ||
PostDraw ( Terraria.NPC npc, |
||
PreAI ( Terraria.NPC npc ) : bool | ||
PreDraw ( Terraria.NPC npc, |
||
PreNPCLoot ( Terraria.NPC npc ) : bool | ||
ResetEffects ( Terraria.NPC npc ) : void | ||
ScaleExpertStats ( Terraria.NPC npc, int numPlayers, float bossLifeScale ) : void | ||
SetDefaults ( Terraria.NPC npc ) : void | ||
SetupShop ( int type, |
||
SetupTravelShop ( int shop, int &nextSlot ) : void | ||
SpawnNPC ( int npc, int tileX, int tileY ) : void | ||
StrikeNPC ( Terraria.NPC npc, double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool | ||
TownNPCAttackCooldown ( Terraria.NPC npc, int &cooldown, int &randExtraCooldown ) : void | ||
TownNPCAttackMagic ( Terraria.NPC npc, float &auraLightMultiplier ) : void | ||
TownNPCAttackProj ( Terraria.NPC npc, int &projType, int &attackDelay ) : void | ||
TownNPCAttackProjSpeed ( Terraria.NPC npc, float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
TownNPCAttackShoot ( Terraria.NPC npc, bool &inBetweenShots ) : void | ||
TownNPCAttackStrength ( Terraria.NPC npc, int &damage, float &knockback ) : void | ||
TownNPCAttackSwing ( Terraria.NPC npc, int &itemWidth, int &itemHeight ) : void | ||
UpdateLifeRegen ( Terraria.NPC npc, int &damage ) : void |
public BossHeadRotation ( Terraria.NPC npc, float &rotation ) : void | ||
npc | Terraria.NPC | |
rotation | float | |
Résultat | void |
public BossHeadSlot ( Terraria.NPC npc, int &index ) : void | ||
npc | Terraria.NPC | |
index | int | |
Résultat | void |
public BossHeadSpriteEffects ( Terraria.NPC npc, SpriteEffects &spriteEffects ) : void | ||
npc | Terraria.NPC | |
spriteEffects | SpriteEffects | |
Résultat | void |
public BuffTownNPC ( float &damageMult, int &defense ) : void | ||
damageMult | float | |
defense | int | |
Résultat | void |
public CanBeHitByItem ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
player | ||
item | Item | |
Résultat | bool? |
public CanBeHitByProjectile ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
projectile | ||
Résultat | bool? |
public CanHitNPC ( Terraria.NPC npc, Terraria.NPC target ) : bool? | ||
npc | Terraria.NPC | |
target | Terraria.NPC | |
Résultat | bool? |
public CanHitPlayer ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
target | ||
cooldownSlot | int | |
Résultat | bool |
public CheckActive ( Terraria.NPC npc ) : bool | ||
npc | Terraria.NPC | |
Résultat | bool |
public CheckDead ( Terraria.NPC npc ) : bool | ||
npc | Terraria.NPC | |
Résultat | bool |
public DrawEffects ( Terraria.NPC npc, Color &drawColor ) : void | ||
npc | Terraria.NPC | |
drawColor | Color | |
Résultat | void |
public DrawHealthBar ( Terraria.NPC npc, byte hbPosition, float &scale, Vector2 &position ) : bool? | ||
npc | Terraria.NPC | |
hbPosition | byte | |
scale | float | |
position | Vector2 | |
Résultat | bool? |
public DrawTownAttackGun ( Terraria.NPC npc, float &scale, int &item, int &closeness ) : void | ||
npc | Terraria.NPC | |
scale | float | |
item | int | |
closeness | int | |
Résultat | void |
public DrawTownAttackSwing ( Terraria.NPC npc, Texture2D &item, int &itemSize, float &scale, Vector2 &offset ) : void | ||
npc | Terraria.NPC | |
item | Texture2D | |
itemSize | int | |
scale | float | |
offset | Vector2 | |
Résultat | void |
public EditSpawnPool ( float>.IDictionary |
||
pool | float>.IDictionary | |
spawnInfo | Terraria.ModLoader.NPCSpawnInfo | |
Résultat | void |
public EditSpawnRange ( |
||
player | ||
spawnRangeX | int | |
spawnRangeY | int | |
safeRangeX | int | |
safeRangeY | int | |
Résultat | void |
public EditSpawnRate ( |
||
player | ||
spawnRate | int | |
maxSpawns | int | |
Résultat | void |
public FindFrame ( Terraria.NPC npc, int frameHeight ) : void | ||
npc | Terraria.NPC | |
frameHeight | int | |
Résultat | void |
public GetAlpha ( Terraria.NPC npc, Color drawColor ) : Color? | ||
npc | Terraria.NPC | |
drawColor | Color | |
Résultat | Color? |
public GetChat ( Terraria.NPC npc, string &chat ) : void | ||
npc | Terraria.NPC | |
chat | string | |
Résultat | void |
public HitEffect ( Terraria.NPC npc, int hitDirection, double damage ) : void | ||
npc | Terraria.NPC | |
hitDirection | int | |
damage | double | |
Résultat | void |
public ModifyHitByItem ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
player | ||
item | Item | |
damage | int | |
knockback | float | |
crit | bool | |
Résultat | void |
public ModifyHitByProjectile ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
projectile | ||
damage | int | |
knockback | float | |
crit | bool | |
hitDirection | int | |
Résultat | void |
public ModifyHitNPC ( Terraria.NPC npc, Terraria.NPC target, int &damage, float &knockback, bool &crit ) : void | ||
npc | Terraria.NPC | |
target | Terraria.NPC | |
damage | int | |
knockback | float | |
crit | bool | |
Résultat | void |
public ModifyHitPlayer ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
target | ||
damage | int | |
crit | bool | |
Résultat | void |
public OnHitByItem ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
player | ||
item | Item | |
damage | int | |
knockback | float | |
crit | bool | |
Résultat | void |
public OnHitByProjectile ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
projectile | ||
damage | int | |
knockback | float | |
crit | bool | |
Résultat | void |
public OnHitNPC ( Terraria.NPC npc, Terraria.NPC target, int damage, float knockback, bool crit ) : void | ||
npc | Terraria.NPC | |
target | Terraria.NPC | |
damage | int | |
knockback | float | |
crit | bool | |
Résultat | void |
public OnHitPlayer ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
target | ||
damage | int | |
crit | bool | |
Résultat | void |
public PostDraw ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
spriteBatch | ||
drawColor | Color | |
Résultat | void |
public PreDraw ( Terraria.NPC npc, |
||
npc | Terraria.NPC | |
spriteBatch | ||
drawColor | Color | |
Résultat | bool |
public PreNPCLoot ( Terraria.NPC npc ) : bool | ||
npc | Terraria.NPC | |
Résultat | bool |
public ResetEffects ( Terraria.NPC npc ) : void | ||
npc | Terraria.NPC | |
Résultat | void |
public ScaleExpertStats ( Terraria.NPC npc, int numPlayers, float bossLifeScale ) : void | ||
npc | Terraria.NPC | |
numPlayers | int | |
bossLifeScale | float | |
Résultat | void |
public SetDefaults ( Terraria.NPC npc ) : void | ||
npc | Terraria.NPC | |
Résultat | void |
public SetupShop ( int type, |
||
type | int | |
shop | ||
nextSlot | int | |
Résultat | void |
public SetupTravelShop ( int shop, int &nextSlot ) : void | ||
shop | int | |
nextSlot | int | |
Résultat | void |
public SpawnNPC ( int npc, int tileX, int tileY ) : void | ||
npc | int | |
tileX | int | |
tileY | int | |
Résultat | void |
public StrikeNPC ( Terraria.NPC npc, double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool | ||
npc | Terraria.NPC | |
damage | double | |
defense | int | |
knockback | float | |
hitDirection | int | |
crit | bool | |
Résultat | bool |
public TownNPCAttackCooldown ( Terraria.NPC npc, int &cooldown, int &randExtraCooldown ) : void | ||
npc | Terraria.NPC | |
cooldown | int | |
randExtraCooldown | int | |
Résultat | void |
public TownNPCAttackMagic ( Terraria.NPC npc, float &auraLightMultiplier ) : void | ||
npc | Terraria.NPC | |
auraLightMultiplier | float | |
Résultat | void |
public TownNPCAttackProj ( Terraria.NPC npc, int &projType, int &attackDelay ) : void | ||
npc | Terraria.NPC | |
projType | int | |
attackDelay | int | |
Résultat | void |
public TownNPCAttackProjSpeed ( Terraria.NPC npc, float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
npc | Terraria.NPC | |
multiplier | float | |
gravityCorrection | float | |
randomOffset | float | |
Résultat | void |
public TownNPCAttackShoot ( Terraria.NPC npc, bool &inBetweenShots ) : void | ||
npc | Terraria.NPC | |
inBetweenShots | bool | |
Résultat | void |
public TownNPCAttackStrength ( Terraria.NPC npc, int &damage, float &knockback ) : void | ||
npc | Terraria.NPC | |
damage | int | |
knockback | float | |
Résultat | void |
public TownNPCAttackSwing ( Terraria.NPC npc, int &itemWidth, int &itemHeight ) : void | ||
npc | Terraria.NPC | |
itemWidth | int | |
itemHeight | int | |
Résultat | void |
public UpdateLifeRegen ( Terraria.NPC npc, int &damage ) : void | ||
npc | Terraria.NPC | |
damage | int | |
Résultat | void |