C# 클래스 ExampleMod.NPCs.ExamplePerson

상속: Terraria.ModLoader.ModNPC
파일 보기 프로젝트 열기: bluemagic123/tModLoader

공개 메소드들

메소드 설명
Autoload ( string &name, string &texture, string &altTextures ) : bool
CanTownNPCSpawn ( int numTownNPCs, int money ) : bool
CheckConditions ( int left, int right, int top, int bottom ) : bool
FindFrame ( int frameHeight ) : void
GetChat ( ) : string
HitEffect ( int hitDirection, double damage ) : void
OnChatButtonClicked ( bool firstButton, bool &shop ) : void
SetChatButtons ( string &button, string &button2 ) : void
SetDefaults ( ) : void
SetupShop ( Chest shop, int &nextSlot ) : void
TownNPCAttackCooldown ( int &cooldown, int &randExtraCooldown ) : void
TownNPCAttackProj ( int &projType, int &attackDelay ) : void
TownNPCAttackProjSpeed ( float &multiplier, float &gravityCorrection, float &randomOffset ) : void
TownNPCAttackStrength ( int &damage, float &knockback ) : void
TownNPCName ( ) : string

메소드 상세

Autoload() 공개 메소드

public Autoload ( string &name, string &texture, string &altTextures ) : bool
name string
texture string
altTextures string
리턴 bool

CanTownNPCSpawn() 공개 메소드

public CanTownNPCSpawn ( int numTownNPCs, int money ) : bool
numTownNPCs int
money int
리턴 bool

CheckConditions() 공개 메소드

public CheckConditions ( int left, int right, int top, int bottom ) : bool
left int
right int
top int
bottom int
리턴 bool

FindFrame() 공개 메소드

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

GetChat() 공개 메소드

public GetChat ( ) : string
리턴 string

HitEffect() 공개 메소드

public HitEffect ( int hitDirection, double damage ) : void
hitDirection int
damage double
리턴 void

OnChatButtonClicked() 공개 메소드

public OnChatButtonClicked ( bool firstButton, bool &shop ) : void
firstButton bool
shop bool
리턴 void

SetChatButtons() 공개 메소드

public SetChatButtons ( string &button, string &button2 ) : void
button string
button2 string
리턴 void

SetDefaults() 공개 메소드

public SetDefaults ( ) : void
리턴 void

SetupShop() 공개 메소드

public SetupShop ( Chest shop, int &nextSlot ) : void
shop Terraria.Chest
nextSlot int
리턴 void

TownNPCAttackCooldown() 공개 메소드

public TownNPCAttackCooldown ( int &cooldown, int &randExtraCooldown ) : void
cooldown int
randExtraCooldown int
리턴 void

TownNPCAttackProj() 공개 메소드

public TownNPCAttackProj ( int &projType, int &attackDelay ) : void
projType int
attackDelay int
리턴 void

TownNPCAttackProjSpeed() 공개 메소드

public TownNPCAttackProjSpeed ( float &multiplier, float &gravityCorrection, float &randomOffset ) : void
multiplier float
gravityCorrection float
randomOffset float
리턴 void

TownNPCAttackStrength() 공개 메소드

public TownNPCAttackStrength ( int &damage, float &knockback ) : void
damage int
knockback float
리턴 void

TownNPCName() 공개 메소드

public TownNPCName ( ) : string
리턴 string