C# Class Terraria.Achievements.Achievement

Exibir arquivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
Description string
FriendlyName string
Id int
Name string

Public Methods

Method Description
Achievement ( string name, string friendlyName, string description ) : Newtonsoft.Json
AddCondition ( AchievementCondition condition ) : void
AddConditions ( ) : void
ClearProgress ( ) : void
ClearTracker ( ) : void
GetCondition ( string conditionName ) : AchievementCondition
GetTracker ( ) : IAchievementTracker
Load ( JObject>.Dictionary conditions ) : void
SetCategory ( AchievementCategory category ) : void
UseConditionsCompletedTracker ( ) : void
UseTrackerFromCondition ( string conditionName ) : void

Private Methods

Method Description
GetConditionTracker ( string name ) : IAchievementTracker
OnConditionComplete ( AchievementCondition condition ) : void
UseTracker ( IAchievementTracker tracker ) : void

Method Details

Achievement() public method

public Achievement ( string name, string friendlyName, string description ) : Newtonsoft.Json
name string
friendlyName string
description string
return Newtonsoft.Json

AddCondition() public method

public AddCondition ( AchievementCondition condition ) : void
condition AchievementCondition
return void

AddConditions() public method

public AddConditions ( ) : void
return void

ClearProgress() public method

public ClearProgress ( ) : void
return void

ClearTracker() public method

public ClearTracker ( ) : void
return void

GetCondition() public method

public GetCondition ( string conditionName ) : AchievementCondition
conditionName string
return AchievementCondition

GetTracker() public method

public GetTracker ( ) : IAchievementTracker
return IAchievementTracker

Load() public method

public Load ( JObject>.Dictionary conditions ) : void
conditions JObject>.Dictionary
return void

SetCategory() public method

public SetCategory ( AchievementCategory category ) : void
category AchievementCategory
return void

UseConditionsCompletedTracker() public method

public UseConditionsCompletedTracker ( ) : void
return void

UseTrackerFromCondition() public method

public UseTrackerFromCondition ( string conditionName ) : void
conditionName string
return void

Property Details

Description public_oe property

public string Description
return string

FriendlyName public_oe property

public string FriendlyName
return string

Id public_oe property

public int Id
return int

Name public_oe property

public string Name
return string