C# 클래스 ExampleMod.NPCs.PuritySpirit.PuritySpirit

상속: Terraria.ModLoader.ModNPC
파일 보기 프로젝트 열기: bluemagic123/tModLoader 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
arenaHeight int
arenaWidth int
attackWeights int[]
targets IList

Private Properties

프로퍼티 타입 설명
BeamAttack void
CanBeHitByPlayer bool?
DoAttack void
DoShield void
GetPacket Terraria.ModLoader.ModPacket
LaserAttack void
ModifyHit void
OnHit void
PlaySound void
SetupCrystals void
SnakeAttack void
SphereAttack void
Talk void
UltimateAttack void
UpdateParticles void

공개 메소드들

메소드 설명
AI ( ) : void
BossLoot ( string &name, int &potionType ) : void
CanBeHitByItem ( Player player, Item item ) : bool?
CanBeHitByProjectile ( Projectile projectile ) : bool?
CheckDead ( ) : bool
DrawHealthBar ( byte hbPosition, float &scale, Vector2 &position ) : bool?
FindPlayers ( ) : void
FinishFight1 ( ) : void
FinishFight2 ( ) : void
HandlePacket ( BinaryReader reader ) : void
Initialize ( ) : void
ModifyHitByItem ( Player player, Item item, int &damage, float &knockback, bool &crit ) : void
ModifyHitByProjectile ( Projectile projectile, int &damage, float &knockback, bool &crit, int &hitDirection ) : void
NPCLoot ( ) : void
OnHitByItem ( Player player, Item item, int damage, float knockback, bool crit ) : void
OnHitByProjectile ( Projectile projectile, int damage, float knockback, bool crit ) : void
PostDraw ( SpriteBatch spriteBatch, Color drawColor ) : void
PreDraw ( SpriteBatch spriteBatch, Color drawColor ) : bool
RunAway ( ) : void
ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
SetDefaults ( ) : void
StrikeNPC ( double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool

비공개 메소드들

메소드 설명
BeamAttack ( ) : void
CanBeHitByPlayer ( Player player ) : bool?
DoAttack ( int numAttacks ) : void
DoShield ( int numShields ) : void
GetPacket ( PuritySpiritMessageType type ) : ModPacket
LaserAttack ( ) : void
ModifyHit ( int &damage ) : void
OnHit ( int damage ) : void
PlaySound ( int type, int style ) : void
SetupCrystals ( int radius, bool clockwise ) : void
SnakeAttack ( ) : void
SphereAttack ( ) : void
Talk ( string message ) : void
UltimateAttack ( ) : void
UpdateParticles ( ) : void

메소드 상세

AI() 공개 메소드

public AI ( ) : void
리턴 void

BossLoot() 공개 메소드

public BossLoot ( string &name, int &potionType ) : void
name string
potionType int
리턴 void

CanBeHitByItem() 공개 메소드

public CanBeHitByItem ( Player player, Item item ) : bool?
player Terraria.Player
item Item
리턴 bool?

CanBeHitByProjectile() 공개 메소드

public CanBeHitByProjectile ( Projectile projectile ) : bool?
projectile Terraria.Projectile
리턴 bool?

CheckDead() 공개 메소드

public CheckDead ( ) : bool
리턴 bool

DrawHealthBar() 공개 메소드

public DrawHealthBar ( byte hbPosition, float &scale, Vector2 &position ) : bool?
hbPosition byte
scale float
position Vector2
리턴 bool?

FindPlayers() 공개 메소드

public FindPlayers ( ) : void
리턴 void

FinishFight1() 공개 메소드

public FinishFight1 ( ) : void
리턴 void

FinishFight2() 공개 메소드

public FinishFight2 ( ) : void
리턴 void

HandlePacket() 공개 메소드

public HandlePacket ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

ModifyHitByItem() 공개 메소드

public ModifyHitByItem ( Player player, Item item, int &damage, float &knockback, bool &crit ) : void
player Terraria.Player
item Item
damage int
knockback float
crit bool
리턴 void

ModifyHitByProjectile() 공개 메소드

public ModifyHitByProjectile ( Projectile projectile, int &damage, float &knockback, bool &crit, int &hitDirection ) : void
projectile Terraria.Projectile
damage int
knockback float
crit bool
hitDirection int
리턴 void

NPCLoot() 공개 메소드

public NPCLoot ( ) : void
리턴 void

OnHitByItem() 공개 메소드

public OnHitByItem ( Player player, Item item, int damage, float knockback, bool crit ) : void
player Terraria.Player
item Item
damage int
knockback float
crit bool
리턴 void

OnHitByProjectile() 공개 메소드

public OnHitByProjectile ( Projectile projectile, int damage, float knockback, bool crit ) : void
projectile Terraria.Projectile
damage int
knockback float
crit bool
리턴 void

PostDraw() 공개 메소드

public PostDraw ( SpriteBatch spriteBatch, Color drawColor ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
drawColor Color
리턴 void

PreDraw() 공개 메소드

public PreDraw ( SpriteBatch spriteBatch, Color drawColor ) : bool
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
drawColor Color
리턴 bool

RunAway() 공개 메소드

public RunAway ( ) : void
리턴 void

ScaleExpertStats() 공개 메소드

public ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
numPlayers int
bossLifeScale float
리턴 void

SetDefaults() 공개 메소드

public SetDefaults ( ) : void
리턴 void

StrikeNPC() 공개 메소드

public StrikeNPC ( double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool
damage double
defense int
knockback float
hitDirection int
crit bool
리턴 bool

프로퍼티 상세

arenaHeight 공개적으로 정적으로 프로퍼티

public static int arenaHeight
리턴 int

arenaWidth 공개적으로 정적으로 프로퍼티

public static int arenaWidth
리턴 int

attackWeights 공개적으로 프로퍼티

public int[] attackWeights
리턴 int[]

targets 공개적으로 프로퍼티

public IList targets
리턴 IList