Inherits TaleWorlds.Core.PropertyObject.
|
enum | EffectIncrementType {
Invalid = -1
,
Add
,
AddFactor
} |
|
enum | PerkRole {
None
,
Ruler
,
ClanLeader
,
Governor
,
ArmyCommander
,
PartyLeader
,
PartyOwner
,
Surgeon
,
Engineer
,
Scout
,
Quartermaster
,
PartyMember
,
Personal
,
Captain
,
NumberOfPerkRoles
} |
|
|
| SkillEffect (string stringId) |
|
void | Initialize (TextObject description, SkillObject[] effectedSkills, PerkRole primaryRole=PerkRole.None, float primaryBonus=0f, PerkRole secondaryRole=PerkRole.None, float secondaryBonus=0f, EffectIncrementType incrementType=EffectIncrementType.AddFactor, float primaryBaseValue=0.0f, float secondaryBaseValue=0.0f) |
|
float | GetPrimaryValue (int skillLevel) |
|
float | GetSecondaryValue (int skillLevel) |
|
| PropertyObject (string stringId) |
| Initializes a new instance of the SkillObject class.
|
|
void | Initialize (TextObject name, TextObject description) |
|
| MBObjectBase () |
|
| MBObjectBase (MBObjectBase other) |
|
| MBObjectBase (string stringId) |
|
void | AfterInitialized () |
|
virtual void | AfterRegister () |
|
virtual void | Initialize () |
|
virtual void | Deserialize (MBObjectManager objectManager, XmlNode node) |
|
override int | GetHashCode () |
|
virtual TextObject | GetName () |
|
void | PreAfterLoadInternal () |
|
void | AfterLoadInternal () |
|
void | OnRegistered () |
|
void | OnUnregistered () |
|
◆ EffectIncrementType
Enumerator |
---|
Invalid | |
Add | |
AddFactor | |
◆ PerkRole
Enumerator |
---|
None | |
Ruler | |
ClanLeader | |
Governor | |
ArmyCommander | |
PartyLeader | |
PartyOwner | |
Surgeon | |
Engineer | |
Scout | |
Quartermaster | |
PartyMember | |
Personal | |
Captain | |
NumberOfPerkRoles | |
◆ SkillEffect()
TaleWorlds.CampaignSystem.SkillEffect.SkillEffect |
( |
string | stringId | ) |
|
◆ Initialize()
◆ GetPrimaryValue()
float TaleWorlds.CampaignSystem.SkillEffect.GetPrimaryValue |
( |
int | skillLevel | ) |
|
◆ GetSecondaryValue()
float TaleWorlds.CampaignSystem.SkillEffect.GetSecondaryValue |
( |
int | skillLevel | ) |
|
◆ All
◆ PrimaryRole
PerkRole TaleWorlds.CampaignSystem.SkillEffect.PrimaryRole |
|
get |
◆ SecondaryRole
PerkRole TaleWorlds.CampaignSystem.SkillEffect.SecondaryRole |
|
get |
◆ PrimaryBonus
float TaleWorlds.CampaignSystem.SkillEffect.PrimaryBonus |
|
get |
◆ SecondaryBonus
float TaleWorlds.CampaignSystem.SkillEffect.SecondaryBonus |
|
get |
◆ IncrementType
◆ EffectedSkills
SkillObject [] TaleWorlds.CampaignSystem.SkillEffect.EffectedSkills |
|
get |
◆ PrimaryBaseValue
float TaleWorlds.CampaignSystem.SkillEffect.PrimaryBaseValue |
|
get |
◆ SecondaryBaseValue
float TaleWorlds.CampaignSystem.SkillEffect.SecondaryBaseValue |
|
get |