Class KillStreak.State
public class KillStreak.State : IQuestState<KillStreak>, IQuestState
- Inheritance
-
KillStreak.State
- Implements
- Inherited Members
Properties
FlagValue
The value of the Unturned Quest Flag. This is formatted into SDG.Unturned.QuestAsset translations.
[JsonIgnore]
public QuestParameterValue<int> FlagValue { get; }
Property Value
StreakCount
[RewardVariable("strNum")]
public QuestParameterValue<int> StreakCount { get; set; }
Property Value
StreakLength
[RewardVariable("strLen")]
public QuestParameterValue<int> StreakLength { get; set; }
Property Value
Text
[JsonIgnore]
public string Text { get; set; }
Property Value
Methods
CreateFromConfigurationAsync(IQuestStateConfiguration, KillStreak, IServiceProvider, CancellationToken)
Reads a pre-configured state from a configuration file.
public UniTask CreateFromConfigurationAsync(IQuestStateConfiguration configuration, KillStreak template, IServiceProvider serviceProvider, CancellationToken token)
Parameters
configurationIQuestStateConfigurationtemplateKillStreakserviceProviderIServiceProvidertokenCancellationToken
Returns
- UniTask
CreateFromTemplateAsync(KillStreak, CancellationToken)
Creates a random state from a QuestTemplate type.
public UniTask CreateFromTemplateAsync(KillStreak template, CancellationToken token)
Parameters
templateKillStreaktokenCancellationToken
Returns
- UniTask
CreateQuestDescriptiveString()
Creates a string used to auto-generate quests.
public string CreateQuestDescriptiveString()
Returns
Remarks
Used by Daily Quests.