프로퍼티 | 타입 | 설명 | |
---|---|---|---|
aiType | int | ||
animationType | int | ||
banner | int | ||
bannerItem | int | ||
bossBag | int | ||
drawOffsetY | float | ||
music | int |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
SetupNPC ( Terraria.NPC npc ) : void |
public Autoload ( string &name, string &texture, string &altTextures ) : bool | ||
name | string | |
texture | string | |
altTextures | string | |
리턴 | bool |
public AutoloadHead ( string &headTexture, string &bossHeadTexture ) : void | ||
headTexture | string | |
bossHeadTexture | string | |
리턴 | void |
public BossHeadSpriteEffects ( SpriteEffects &spriteEffects ) : void | ||
spriteEffects | SpriteEffects | |
리턴 | void |
public BossLoot ( string &name, int &potionType ) : void | ||
name | string | |
potionType | int | |
리턴 | void |
public CanBeHitByItem ( |
||
player | ||
item | Item | |
리턴 | bool? |
public CanBeHitByProjectile ( |
||
projectile | ||
리턴 | bool? |
public CanHitPlayer ( |
||
target | ||
cooldownSlot | int | |
리턴 | bool |
public CanSpawn ( Terraria.ModLoader.NPCSpawnInfo spawnInfo ) : float | ||
spawnInfo | Terraria.ModLoader.NPCSpawnInfo | |
리턴 | float |
public CanTownNPCSpawn ( int numTownNPCs, int money ) : bool | ||
numTownNPCs | int | |
money | int | |
리턴 | bool |
public CheckConditions ( int left, int right, int top, int bottom ) : bool | ||
left | int | |
right | int | |
top | int | |
bottom | int | |
리턴 | bool |
public DrawHealthBar ( byte hbPosition, float &scale, Vector2 &position ) : bool? | ||
hbPosition | byte | |
scale | float | |
position | Vector2 | |
리턴 | bool? |
public DrawTownAttackGun ( float &scale, int &item, int &closeness ) : void | ||
scale | float | |
item | int | |
closeness | int | |
리턴 | void |
public DrawTownAttackSwing ( Texture2D &item, int &itemSize, float &scale, Vector2 &offset ) : void | ||
item | Texture2D | |
itemSize | int | |
scale | float | |
offset | Vector2 | |
리턴 | void |
public HitEffect ( int hitDirection, double damage ) : void | ||
hitDirection | int | |
damage | double | |
리턴 | void |
public ModifyHitByItem ( |
||
player | ||
item | Item | |
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public ModifyHitByProjectile ( |
||
projectile | ||
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public ModifyHitNPC ( Terraria.NPC target, int &damage, float &knockback, bool &crit ) : void | ||
target | Terraria.NPC | |
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public ModifyHitPlayer ( |
||
target | ||
damage | int | |
crit | bool | |
리턴 | void |
public OnChatButtonClicked ( bool firstButton, bool &shop ) : void | ||
firstButton | bool | |
shop | bool | |
리턴 | void |
public OnHitByItem ( |
||
player | ||
item | Item | |
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public OnHitByProjectile ( |
||
projectile | ||
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public OnHitNPC ( Terraria.NPC target, int damage, float knockback, bool crit ) : void | ||
target | Terraria.NPC | |
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public OnHitPlayer ( |
||
target | ||
damage | int | |
crit | bool | |
리턴 | void |
public PostDraw ( |
||
spriteBatch | ||
drawColor | Color | |
리턴 | void |
public PreDraw ( |
||
spriteBatch | ||
drawColor | Color | |
리턴 | bool |
public ReceiveExtraAI ( |
||
reader | ||
리턴 | void |
public ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void | ||
numPlayers | int | |
bossLifeScale | float | |
리턴 | void |
public SendExtraAI ( |
||
writer | ||
리턴 | void |
public SetChatButtons ( string &button, string &button2 ) : void | ||
button | string | |
button2 | string | |
리턴 | void |
public SetupShop ( |
||
shop | ||
nextSlot | int | |
리턴 | void |
public StrikeNPC ( double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool | ||
damage | double | |
defense | int | |
knockback | float | |
hitDirection | int | |
crit | bool | |
리턴 | bool |
public TownNPCAttackCooldown ( int &cooldown, int &randExtraCooldown ) : void | ||
cooldown | int | |
randExtraCooldown | int | |
리턴 | void |
public TownNPCAttackMagic ( float &auraLightMultiplier ) : void | ||
auraLightMultiplier | float | |
리턴 | void |
public TownNPCAttackProj ( int &projType, int &attackDelay ) : void | ||
projType | int | |
attackDelay | int | |
리턴 | void |
public TownNPCAttackProjSpeed ( float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
multiplier | float | |
gravityCorrection | float | |
randomOffset | float | |
리턴 | void |
public TownNPCAttackShoot ( bool &inBetweenShots ) : void | ||
inBetweenShots | bool | |
리턴 | void |
public TownNPCAttackStrength ( int &damage, float &knockback ) : void | ||
damage | int | |
knockback | float | |
리턴 | void |
public TownNPCAttackSwing ( int &itemWidth, int &itemHeight ) : void | ||
itemWidth | int | |
itemHeight | int | |
리턴 | void |