Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
delegate void | AchievementUpdate (AchievementCondition condition) |
virtual void | Load (JObject state) |
virtual void | Clear () |
virtual void | Complete () |
IAchievementTracker | GetAchievementTracker () |
Static Public Member Functions | |
static AchievementCondition | Create (params short[] npcIds) |
static AchievementCondition | Create (short npcId) |
static AchievementCondition[] | CreateMany (params short[] npcs) |
Public Attributes | |
readonly string | Name |
Protected Member Functions | |
virtual IAchievementTracker | CreateAchievementTracker () |
Protected Attributes | |
IAchievementTracker | _tracker |
Properties | |
bool | IsCompleted [get] |
Events | |
AchievementUpdate | OnComplete |
Private Member Functions | |
NPCKilledCondition (short npcId) | |
NPCKilledCondition (short[] npcIds) | |
Static Private Member Functions | |
static void | ListenForPickup (NPCKilledCondition condition) |
static void | NPCKilledListener (Player player, short npcId) |
Private Attributes | |
short[] | _npcIds |
bool | _isCompleted |
Static Private Attributes | |
const string | Identifier = "NPC_KILLED" |
static Dictionary< short, List< NPCKilledCondition > > | _listeners = new Dictionary<short, List<NPCKilledCondition>>() |
static bool | _isListenerHooked |
Definition at line 6 of file NPCKilledCondition.cs.