프로퍼티 | 타입 | 설명 | |
---|---|---|---|
blockLoot | IList |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DrawHealthBar | void | ||
GetNPCInfo | |||
IsModNPC | bool | ||
NPCLoader | System | ||
ReserveNPCID | int | ||
ResizeArrays | void | ||
SetupNPC | void | ||
SetupNPCInfo | void | ||
Unload | void |
메소드 | 설명 | |
---|---|---|
AI ( NPC npc ) : void | ||
BossBag ( NPC npc, int &bagType ) : void | ||
BossHeadRotation ( NPC npc, float &rotation ) : void | ||
BossHeadSlot ( NPC npc, int &index ) : void | ||
BossHeadSpriteEffects ( NPC npc, SpriteEffects &spriteEffects ) : void | ||
BossLoot ( NPC npc, string &name, int &potionType ) : void | ||
BuffTownNPC ( float &damageMult, int &defense ) : void | ||
CanBeHitByItem ( NPC npc, Player player, System.Item item ) : bool? | ||
CanBeHitByProjectile ( NPC npc, Projectile projectile ) : bool? | ||
CanHitNPC ( NPC npc, NPC target ) : bool? | ||
CanHitPlayer ( NPC npc, Player target, int &cooldownSlot ) : bool | ||
CanTownNPCSpawn ( int numTownNPCs, int money ) : void | ||
CheckActive ( NPC npc ) : bool | ||
CheckConditions ( int type ) : bool | ||
CheckDead ( NPC npc ) : bool | ||
ChooseSpawn ( Terraria.ModLoader.NPCSpawnInfo spawnInfo ) : int? | ||
DisplayName ( int type ) : string | ||
DrawEffects ( NPC npc, Color &drawColor ) : void | ||
DrawHealthBar ( NPC npc, float &scale ) : bool | ||
DrawTownAttackGun ( NPC npc, float &scale, int &item, int &closeness ) : void | ||
DrawTownAttackSwing ( NPC npc, Microsoft.Xna.Framework.Graphics.Texture2D &item, int &itemSize, float &scale, Vector2 &offset ) : void | ||
EditSpawnRange ( Player player, int &spawnRangeX, int &spawnRangeY, int &safeRangeX, int &safeRangeY ) : void | ||
EditSpawnRate ( Player player, int &spawnRate, int &maxSpawns ) : void | ||
FindFrame ( NPC npc, int frameHeight ) : void | ||
GetAlpha ( NPC npc, Color lightColor ) : Color? | ||
GetChat ( NPC npc, string &chat ) : void | ||
GetNPC ( int type ) : |
||
HitEffect ( NPC npc, int hitDirection, double damage ) : void | ||
ModifyHitByItem ( NPC npc, Player player, System.Item item, int &damage, float &knockback, bool &crit ) : void | ||
ModifyHitByProjectile ( NPC npc, Projectile projectile, int &damage, float &knockback, bool &crit, int &hitDirection ) : void | ||
ModifyHitNPC ( NPC npc, NPC target, int &damage, float &knockback, bool &crit ) : void | ||
ModifyHitPlayer ( NPC npc, Player target, int &damage, bool &crit ) : void | ||
NPCAI ( NPC npc ) : void | ||
NPCLoot ( NPC npc ) : void | ||
OnChatButtonClicked ( bool firstButton ) : void | ||
OnHitByItem ( NPC npc, Player player, System.Item item, int damage, float knockback, bool crit ) : void | ||
OnHitByProjectile ( NPC npc, Projectile projectile, int damage, float knockback, bool crit ) : void | ||
OnHitNPC ( NPC npc, NPC target, int damage, float knockback, bool crit ) : void | ||
OnHitPlayer ( NPC npc, Player target, int damage, bool crit ) : void | ||
PostAI ( NPC npc ) : void | ||
PostDraw ( NPC npc, |
||
PreAI ( NPC npc ) : bool | ||
PreDraw ( NPC npc, |
||
PreNPCLoot ( NPC npc ) : bool | ||
ReceiveExtraAI ( NPC npc, |
||
ResetEffects ( NPC npc ) : void | ||
ScaleExpertStats ( NPC npc, int numPlayers, float bossLifeScale ) : void | ||
SendExtraAI ( NPC npc, |
||
SetChatButtons ( string &button, string &button2 ) : void | ||
SetupShop ( int type, Chest shop, int &nextSlot ) : void | ||
SetupTravelShop ( int shop, int &nextSlot ) : void | ||
SpawnNPC ( int type, int tileX, int tileY ) : int | ||
StrikeNPC ( NPC npc, double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool | ||
TownNPCAttackCooldown ( NPC npc, int &cooldown, int &randExtraCooldown ) : void | ||
TownNPCAttackMagic ( NPC npc, float &auraLightMultiplier ) : void | ||
TownNPCAttackProj ( NPC npc, int &projType, int &attackDelay ) : void | ||
TownNPCAttackProjSpeed ( NPC npc, float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
TownNPCAttackShoot ( NPC npc, bool &inBetweenShots ) : void | ||
TownNPCAttackStrength ( NPC npc, int &damage, float &knockback ) : void | ||
TownNPCAttackSwing ( NPC npc, int &itemWidth, int &itemHeight ) : void | ||
TownNPCName ( int type ) : string | ||
UpdateLifeRegen ( NPC npc, int &damage ) : void | ||
UsesPartyHat ( NPC npc ) : bool |
메소드 | 설명 | |
---|---|---|
DrawHealthBar ( NPC npc, Vector2 position, float scale ) : void | ||
GetNPCInfo ( NPC npc, |
||
IsModNPC ( NPC npc ) : bool | ||
NPCLoader ( ) : System | ||
ReserveNPCID ( ) : int | ||
ResizeArrays ( bool unloading ) : void | ||
SetupNPC ( NPC npc ) : void | ||
SetupNPCInfo ( NPC npc ) : void | ||
Unload ( ) : void |
public static BossBag ( NPC npc, int &bagType ) : void | ||
npc | NPC | |
bagType | int | |
리턴 | void |
public static BossHeadRotation ( NPC npc, float &rotation ) : void | ||
npc | NPC | |
rotation | float | |
리턴 | void |
public static BossHeadSlot ( NPC npc, int &index ) : void | ||
npc | NPC | |
index | int | |
리턴 | void |
public static BossHeadSpriteEffects ( NPC npc, SpriteEffects &spriteEffects ) : void | ||
npc | NPC | |
spriteEffects | SpriteEffects | |
리턴 | void |
public static BossLoot ( NPC npc, string &name, int &potionType ) : void | ||
npc | NPC | |
name | string | |
potionType | int | |
리턴 | void |
public static BuffTownNPC ( float &damageMult, int &defense ) : void | ||
damageMult | float | |
defense | int | |
리턴 | void |
public static CanBeHitByItem ( NPC npc, Player player, System.Item item ) : bool? | ||
npc | NPC | |
player | Player | |
item | System.Item | |
리턴 | bool? |
public static CanBeHitByProjectile ( NPC npc, Projectile projectile ) : bool? | ||
npc | NPC | |
projectile | Projectile | |
리턴 | bool? |
public static CanHitNPC ( NPC npc, NPC target ) : bool? | ||
npc | NPC | |
target | NPC | |
리턴 | bool? |
public static CanHitPlayer ( NPC npc, Player target, int &cooldownSlot ) : bool | ||
npc | NPC | |
target | Player | |
cooldownSlot | int | |
리턴 | bool |
public static CanTownNPCSpawn ( int numTownNPCs, int money ) : void | ||
numTownNPCs | int | |
money | int | |
리턴 | void |
public static ChooseSpawn ( Terraria.ModLoader.NPCSpawnInfo spawnInfo ) : int? | ||
spawnInfo | Terraria.ModLoader.NPCSpawnInfo | |
리턴 | int? |
public static DrawEffects ( NPC npc, Color &drawColor ) : void | ||
npc | NPC | |
drawColor | Color | |
리턴 | void |
public static DrawHealthBar ( NPC npc, float &scale ) : bool | ||
npc | NPC | |
scale | float | |
리턴 | bool |
public static DrawTownAttackGun ( NPC npc, float &scale, int &item, int &closeness ) : void | ||
npc | NPC | |
scale | float | |
item | int | |
closeness | int | |
리턴 | void |
public static DrawTownAttackSwing ( NPC npc, Microsoft.Xna.Framework.Graphics.Texture2D &item, int &itemSize, float &scale, Vector2 &offset ) : void | ||
npc | NPC | |
item | Microsoft.Xna.Framework.Graphics.Texture2D | |
itemSize | int | |
scale | float | |
offset | Vector2 | |
리턴 | void |
public static EditSpawnRange ( Player player, int &spawnRangeX, int &spawnRangeY, int &safeRangeX, int &safeRangeY ) : void | ||
player | Player | |
spawnRangeX | int | |
spawnRangeY | int | |
safeRangeX | int | |
safeRangeY | int | |
리턴 | void |
public static EditSpawnRate ( Player player, int &spawnRate, int &maxSpawns ) : void | ||
player | Player | |
spawnRate | int | |
maxSpawns | int | |
리턴 | void |
public static FindFrame ( NPC npc, int frameHeight ) : void | ||
npc | NPC | |
frameHeight | int | |
리턴 | void |
public static GetAlpha ( NPC npc, Color lightColor ) : Color? | ||
npc | NPC | |
lightColor | Color | |
리턴 | Color? |
public static GetChat ( NPC npc, string &chat ) : void | ||
npc | NPC | |
chat | string | |
리턴 | void |
public static HitEffect ( NPC npc, int hitDirection, double damage ) : void | ||
npc | NPC | |
hitDirection | int | |
damage | double | |
리턴 | void |
public static ModifyHitByItem ( NPC npc, Player player, System.Item item, int &damage, float &knockback, bool &crit ) : void | ||
npc | NPC | |
player | Player | |
item | System.Item | |
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public static ModifyHitByProjectile ( NPC npc, Projectile projectile, int &damage, float &knockback, bool &crit, int &hitDirection ) : void | ||
npc | NPC | |
projectile | Projectile | |
damage | int | |
knockback | float | |
crit | bool | |
hitDirection | int | |
리턴 | void |
public static ModifyHitNPC ( NPC npc, NPC target, int &damage, float &knockback, bool &crit ) : void | ||
npc | NPC | |
target | NPC | |
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public static ModifyHitPlayer ( NPC npc, Player target, int &damage, bool &crit ) : void | ||
npc | NPC | |
target | Player | |
damage | int | |
crit | bool | |
리턴 | void |
public static OnChatButtonClicked ( bool firstButton ) : void | ||
firstButton | bool | |
리턴 | void |
public static OnHitByItem ( NPC npc, Player player, System.Item item, int damage, float knockback, bool crit ) : void | ||
npc | NPC | |
player | Player | |
item | System.Item | |
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public static OnHitByProjectile ( NPC npc, Projectile projectile, int damage, float knockback, bool crit ) : void | ||
npc | NPC | |
projectile | Projectile | |
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public static OnHitNPC ( NPC npc, NPC target, int damage, float knockback, bool crit ) : void | ||
npc | NPC | |
target | NPC | |
damage | int | |
knockback | float | |
crit | bool | |
리턴 | void |
public static OnHitPlayer ( NPC npc, Player target, int damage, bool crit ) : void | ||
npc | NPC | |
target | Player | |
damage | int | |
crit | bool | |
리턴 | void |
public static PostDraw ( NPC npc, |
||
npc | NPC | |
spriteBatch | ||
drawColor | Color | |
리턴 | void |
public static PreDraw ( NPC npc, |
||
npc | NPC | |
spriteBatch | ||
drawColor | Color | |
리턴 | bool |
public static ReceiveExtraAI ( NPC npc, |
||
npc | NPC | |
reader | ||
리턴 | void |
public static ScaleExpertStats ( NPC npc, int numPlayers, float bossLifeScale ) : void | ||
npc | NPC | |
numPlayers | int | |
bossLifeScale | float | |
리턴 | void |
public static SendExtraAI ( NPC npc, |
||
npc | NPC | |
writer | ||
리턴 | void |
public static SetChatButtons ( string &button, string &button2 ) : void | ||
button | string | |
button2 | string | |
리턴 | void |
public static SetupShop ( int type, Chest shop, int &nextSlot ) : void | ||
type | int | |
shop | Chest | |
nextSlot | int | |
리턴 | void |
public static SetupTravelShop ( int shop, int &nextSlot ) : void | ||
shop | int | |
nextSlot | int | |
리턴 | void |
public static SpawnNPC ( int type, int tileX, int tileY ) : int | ||
type | int | |
tileX | int | |
tileY | int | |
리턴 | int |
public static StrikeNPC ( NPC npc, double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool | ||
npc | NPC | |
damage | double | |
defense | int | |
knockback | float | |
hitDirection | int | |
crit | bool | |
리턴 | bool |
public static TownNPCAttackCooldown ( NPC npc, int &cooldown, int &randExtraCooldown ) : void | ||
npc | NPC | |
cooldown | int | |
randExtraCooldown | int | |
리턴 | void |
public static TownNPCAttackMagic ( NPC npc, float &auraLightMultiplier ) : void | ||
npc | NPC | |
auraLightMultiplier | float | |
리턴 | void |
public static TownNPCAttackProj ( NPC npc, int &projType, int &attackDelay ) : void | ||
npc | NPC | |
projType | int | |
attackDelay | int | |
리턴 | void |
public static TownNPCAttackProjSpeed ( NPC npc, float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
npc | NPC | |
multiplier | float | |
gravityCorrection | float | |
randomOffset | float | |
리턴 | void |
public static TownNPCAttackShoot ( NPC npc, bool &inBetweenShots ) : void | ||
npc | NPC | |
inBetweenShots | bool | |
리턴 | void |
public static TownNPCAttackStrength ( NPC npc, int &damage, float &knockback ) : void | ||
npc | NPC | |
damage | int | |
knockback | float | |
리턴 | void |
public static TownNPCAttackSwing ( NPC npc, int &itemWidth, int &itemHeight ) : void | ||
npc | NPC | |
itemWidth | int | |
itemHeight | int | |
리턴 | void |
public static UpdateLifeRegen ( NPC npc, int &damage ) : void | ||
npc | NPC | |
damage | int | |
리턴 | void |