Property | Type | Description | |
---|---|---|---|
aiType | int | ||
animationType | int | ||
banner | int | ||
bannerItem | int | ||
bossBag | int | ||
drawOffsetY | float | ||
music | int |
Method | Description | |
---|---|---|
AI ( ) : void | ||
Autoload ( string &name, string &texture, string &altTextures ) : bool | ||
AutoloadHead ( string &headTexture, string &bossHeadTexture ) : void | ||
BossHeadRotation ( float &rotation ) : void | ||
BossHeadSlot ( int &index ) : void | ||
BossHeadSpriteEffects ( SpriteEffects &spriteEffects ) : void | ||
BossLoot ( string &name, int &potionType ) : void | ||
CanBeHitByItem ( |
||
CanBeHitByProjectile ( |
||
CanHitNPC ( Terraria.NPC target ) : bool? | ||
CanHitPlayer ( |
||
CanSpawn ( Terraria.ModLoader.NPCSpawnInfo spawnInfo ) : float | ||
CanTownNPCSpawn ( int numTownNPCs, int money ) : bool | ||
CheckActive ( ) : bool | ||
CheckConditions ( int left, int right, int top, int bottom ) : bool | ||
CheckDead ( ) : bool | ||
DrawEffects ( Color &drawColor ) : void | ||
DrawHealthBar ( byte hbPosition, float &scale, Vector2 &position ) : bool? | ||
DrawTownAttackGun ( float &scale, int &item, int &closeness ) : void | ||
DrawTownAttackSwing ( Texture2D &item, int &itemSize, float &scale, Vector2 &offset ) : void | ||
FindFrame ( int frameHeight ) : void | ||
GetAlpha ( Color drawColor ) : Color? | ||
GetChat ( ) : string | ||
HitEffect ( int hitDirection, double damage ) : void | ||
ModNPC ( ) : System | ||
ModifyHitByItem ( |
||
ModifyHitByProjectile ( |
||
ModifyHitNPC ( Terraria.NPC target, int &damage, float &knockback, bool &crit ) : void | ||
ModifyHitPlayer ( |
||
NPCLoot ( ) : void | ||
OnChatButtonClicked ( bool firstButton, bool &shop ) : void | ||
OnHitByItem ( |
||
OnHitByProjectile ( |
||
OnHitNPC ( Terraria.NPC target, int damage, float knockback, bool crit ) : void | ||
OnHitPlayer ( |
||
PostAI ( ) : void | ||
PostDraw ( |
||
PreAI ( ) : bool | ||
PreDraw ( |
||
PreNPCLoot ( ) : bool | ||
ReceiveExtraAI ( |
||
ResetEffects ( ) : void | ||
ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void | ||
SendExtraAI ( |
||
SetChatButtons ( string &button, string &button2 ) : void | ||
SetDefaults ( ) : void | ||
SetupShop ( |
||
SpawnNPC ( int tileX, int tileY ) : int | ||
StrikeNPC ( double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool | ||
TownNPCAttackCooldown ( int &cooldown, int &randExtraCooldown ) : void | ||
TownNPCAttackMagic ( float &auraLightMultiplier ) : void | ||
TownNPCAttackProj ( int &projType, int &attackDelay ) : void | ||
TownNPCAttackProjSpeed ( float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
TownNPCAttackShoot ( bool &inBetweenShots ) : void | ||
TownNPCAttackStrength ( int &damage, float &knockback ) : void | ||
TownNPCAttackSwing ( int &itemWidth, int &itemHeight ) : void | ||
TownNPCName ( ) : string | ||
UpdateLifeRegen ( int &damage ) : void | ||
UsesPartyHat ( ) : bool |
Method | Description | |
---|---|---|
SetupNPC ( Terraria.NPC npc ) : void |
public Autoload ( string &name, string &texture, string &altTextures ) : bool | ||
name | string | |
texture | string | |
altTextures | string | |
return | bool |
public AutoloadHead ( string &headTexture, string &bossHeadTexture ) : void | ||
headTexture | string | |
bossHeadTexture | string | |
return | void |
public BossHeadRotation ( float &rotation ) : void | ||
rotation | float | |
return | void |
public BossHeadSpriteEffects ( SpriteEffects &spriteEffects ) : void | ||
spriteEffects | SpriteEffects | |
return | void |
public BossLoot ( string &name, int &potionType ) : void | ||
name | string | |
potionType | int | |
return | void |
public CanBeHitByItem ( |
||
player | ||
item | Item | |
return | bool? |
public CanBeHitByProjectile ( |
||
projectile | ||
return | bool? |
public CanHitNPC ( Terraria.NPC target ) : bool? | ||
target | Terraria.NPC | |
return | bool? |
public CanHitPlayer ( |
||
target | ||
cooldownSlot | int | |
return | bool |
public CanSpawn ( Terraria.ModLoader.NPCSpawnInfo spawnInfo ) : float | ||
spawnInfo | Terraria.ModLoader.NPCSpawnInfo | |
return | float |
public CanTownNPCSpawn ( int numTownNPCs, int money ) : bool | ||
numTownNPCs | int | |
money | int | |
return | bool |
public CheckConditions ( int left, int right, int top, int bottom ) : bool | ||
left | int | |
right | int | |
top | int | |
bottom | int | |
return | bool |
public DrawEffects ( Color &drawColor ) : void | ||
drawColor | Color | |
return | void |
public DrawHealthBar ( byte hbPosition, float &scale, Vector2 &position ) : bool? | ||
hbPosition | byte | |
scale | float | |
position | Vector2 | |
return | bool? |
public DrawTownAttackGun ( float &scale, int &item, int &closeness ) : void | ||
scale | float | |
item | int | |
closeness | int | |
return | void |
public DrawTownAttackSwing ( Texture2D &item, int &itemSize, float &scale, Vector2 &offset ) : void | ||
item | Texture2D | |
itemSize | int | |
scale | float | |
offset | Vector2 | |
return | void |
public HitEffect ( int hitDirection, double damage ) : void | ||
hitDirection | int | |
damage | double | |
return | void |
public ModifyHitByItem ( |
||
player | ||
item | Item | |
damage | int | |
knockback | float | |
crit | bool | |
return | void |
public ModifyHitByProjectile ( |
||
projectile | ||
damage | int | |
knockback | float | |
crit | bool | |
return | void |
public ModifyHitNPC ( Terraria.NPC target, int &damage, float &knockback, bool &crit ) : void | ||
target | Terraria.NPC | |
damage | int | |
knockback | float | |
crit | bool | |
return | void |
public ModifyHitPlayer ( |
||
target | ||
damage | int | |
crit | bool | |
return | void |
public OnChatButtonClicked ( bool firstButton, bool &shop ) : void | ||
firstButton | bool | |
shop | bool | |
return | void |
public OnHitByItem ( |
||
player | ||
item | Item | |
damage | int | |
knockback | float | |
crit | bool | |
return | void |
public OnHitByProjectile ( |
||
projectile | ||
damage | int | |
knockback | float | |
crit | bool | |
return | void |
public OnHitNPC ( Terraria.NPC target, int damage, float knockback, bool crit ) : void | ||
target | Terraria.NPC | |
damage | int | |
knockback | float | |
crit | bool | |
return | void |
public OnHitPlayer ( |
||
target | ||
damage | int | |
crit | bool | |
return | void |
public PostDraw ( |
||
spriteBatch | ||
drawColor | Color | |
return | void |
public PreDraw ( |
||
spriteBatch | ||
drawColor | Color | |
return | bool |
public ReceiveExtraAI ( |
||
reader | ||
return | void |
public ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void | ||
numPlayers | int | |
bossLifeScale | float | |
return | void |
public SendExtraAI ( |
||
writer | ||
return | void |
public SetChatButtons ( string &button, string &button2 ) : void | ||
button | string | |
button2 | string | |
return | void |
public SetupShop ( |
||
shop | ||
nextSlot | int | |
return | void |
public SpawnNPC ( int tileX, int tileY ) : int | ||
tileX | int | |
tileY | int | |
return | int |
public StrikeNPC ( double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool | ||
damage | double | |
defense | int | |
knockback | float | |
hitDirection | int | |
crit | bool | |
return | bool |
public TownNPCAttackCooldown ( int &cooldown, int &randExtraCooldown ) : void | ||
cooldown | int | |
randExtraCooldown | int | |
return | void |
public TownNPCAttackMagic ( float &auraLightMultiplier ) : void | ||
auraLightMultiplier | float | |
return | void |
public TownNPCAttackProj ( int &projType, int &attackDelay ) : void | ||
projType | int | |
attackDelay | int | |
return | void |
public TownNPCAttackProjSpeed ( float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
multiplier | float | |
gravityCorrection | float | |
randomOffset | float | |
return | void |
public TownNPCAttackShoot ( bool &inBetweenShots ) : void | ||
inBetweenShots | bool | |
return | void |
public TownNPCAttackStrength ( int &damage, float &knockback ) : void | ||
damage | int | |
knockback | float | |
return | void |
public TownNPCAttackSwing ( int &itemWidth, int &itemHeight ) : void | ||
itemWidth | int | |
itemHeight | int | |
return | void |
public UpdateLifeRegen ( int &damage ) : void | ||
damage | int | |
return | void |