C# Class ExampleMod.NPCs.ExampleGlobalNPC

Inheritance: Terraria.ModLoader.GlobalNPC
Exibir arquivo Open project: bluemagic123/tModLoader

Public Methods

Method Description
DrawEffects ( Terraria.NPC npc, Color &drawColor ) : void
EditSpawnRate ( Player player, int &spawnRate, int &maxSpawns ) : void
NPCLoot ( Terraria.NPC npc ) : void
ResetEffects ( Terraria.NPC npc ) : void
SetupShop ( int type, Chest shop, int &nextSlot ) : void
UpdateLifeRegen ( Terraria.NPC npc, int &damage ) : void

Method Details

DrawEffects() public method

public DrawEffects ( Terraria.NPC npc, Color &drawColor ) : void
npc Terraria.NPC
drawColor Color
return void

EditSpawnRate() public method

public EditSpawnRate ( Player player, int &spawnRate, int &maxSpawns ) : void
player Terraria.Player
spawnRate int
maxSpawns int
return void

NPCLoot() public method

public NPCLoot ( Terraria.NPC npc ) : void
npc Terraria.NPC
return void

ResetEffects() public method

public ResetEffects ( Terraria.NPC npc ) : void
npc Terraria.NPC
return void

SetupShop() public method

public SetupShop ( int type, Chest shop, int &nextSlot ) : void
type int
shop Terraria.Chest
nextSlot int
return void

UpdateLifeRegen() public method

public UpdateLifeRegen ( Terraria.NPC npc, int &damage ) : void
npc Terraria.NPC
damage int
return void