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

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

Private Properties

프로퍼티 타입 설명
ExpertLaser void

공개 메소드들

메소드 설명
AI ( ) : void
DrawHealthBar ( byte hbPosition, float &scale, Vector2 &position ) : bool?
FindFrame ( int frameHeight ) : void
HitEffect ( int hitDirection, double damage ) : 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
OnHitPlayer ( Player player, int damage, bool crit ) : void
PreDraw ( SpriteBatch spriteBatch, Color drawColor ) : bool
PreNPCLoot ( ) : bool
ReceiveExtraAI ( BinaryReader reader ) : void
ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
SendExtraAI ( BinaryWriter writer ) : void
SetDefaults ( ) : void
StrikeNPC ( double &damage, int defense, float &knockback, int hitDirection, bool &crit ) : bool

비공개 메소드들

메소드 설명
ExpertLaser ( ) : void

메소드 상세

AI() 공개 메소드

public AI ( ) : void
리턴 void

DrawHealthBar() 공개 메소드

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

FindFrame() 공개 메소드

public FindFrame ( int frameHeight ) : void
frameHeight int
리턴 void

HitEffect() 공개 메소드

public HitEffect ( int hitDirection, double damage ) : void
hitDirection int
damage double
리턴 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

OnHitPlayer() 공개 메소드

public OnHitPlayer ( Player player, int damage, bool crit ) : void
player Terraria.Player
damage int
crit bool
리턴 void

PreDraw() 공개 메소드

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

PreNPCLoot() 공개 메소드

public PreNPCLoot ( ) : bool
리턴 bool

ReceiveExtraAI() 공개 메소드

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

ScaleExpertStats() 공개 메소드

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

SendExtraAI() 공개 메소드

public SendExtraAI ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 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