Class SelectionCampaignOptionData
- Namespace
- TaleWorlds.CampaignSystem.ViewModelCollection
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class SelectionCampaignOptionData : CampaignOptionData, ICampaignOptionData
- Inheritance
-
SelectionCampaignOptionData
- Implements
- Inherited Members
Constructors
SelectionCampaignOptionData(string, int, CampaignOptionEnableState, Func<float>, Action<float>, List<TextObject>, Func<CampaignOptionDisableStatus>, bool, Func<float, CampaignOptionsDifficultyPresets>, Func<CampaignOptionsDifficultyPresets, float>)
public SelectionCampaignOptionData(string identifier, int priorityIndex, CampaignOptionEnableState enableState, Func<float> getValue, Action<float> setValue, List<TextObject> customSelectionTexts = null, Func<CampaignOptionDisableStatus> getIsDisabledWithReason = null, bool isRelatedToDifficultyPreset = false, Func<float, CampaignOptionsDifficultyPresets> onGetDifficultyPresetFromValue = null, Func<CampaignOptionsDifficultyPresets, float> onGetValueFromDifficultyPreset = null)
Parameters
identifierstringpriorityIndexintenableStateCampaignOptionEnableStategetValueFunc<float>setValueAction<float>customSelectionTextsList<TextObject>getIsDisabledWithReasonFunc<CampaignOptionDisableStatus>isRelatedToDifficultyPresetboolonGetDifficultyPresetFromValueFunc<float, CampaignOptionsDifficultyPresets>onGetValueFromDifficultyPresetFunc<CampaignOptionsDifficultyPresets, float>
Properties
Selections
public List<TextObject> Selections { get; }
Property Value
Methods
GetDataType()
public override CampaignOptionDataType GetDataType()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).