Class SuppressBuffsFixed
Working replacement for Owlcat's SuppressBuffs. Instantiate using the constructor and configure with its methods.
Inheritance
System.Object
Kingmaker.Blueprints.BlueprintComponent
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>
Kingmaker.UnitLogic.UnitFactComponentDelegate<Kingmaker.EntitySystem.EmptyComponentData>
Kingmaker.UnitLogic.UnitFactComponentDelegate
SuppressBuffsFixed
Implements
Owlcat.Runtime.Core.Logging.ICanBeLogContext
Kingmaker.Blueprints.IHavePrototype
Kingmaker.EntitySystem.IRuntimeEntityFactComponentProvider
Kingmaker.PubSubSystem.ISubscriber
Inherited Members
Kingmaker.UnitLogic.UnitFactComponentDelegate<Kingmaker.EntitySystem.EmptyComponentData>.Fact
Kingmaker.UnitLogic.UnitFactComponentDelegate<Kingmaker.EntitySystem.EmptyComponentData>.Param
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.ClearData()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.GetSubscribingUnit()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.CreateRuntimeFactComponent()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnFactAttached()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnInitialize()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnActivate()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnDeactivate()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnTurnOn()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnTurnOff()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnPreSave()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnPostLoad()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnApplyPostLoadFixes()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnViewDidAttach()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnViewWillDetach()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnDispose()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnRecalculate()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.Runtime
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.Owner
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.Fact
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.Context
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.Data
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.MaybeData
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.IsReapplying
Kingmaker.Blueprints.BlueprintComponent.<OwnerBlueprint>k__BackingField
Kingmaker.Blueprints.BlueprintComponent.m_Flags
Kingmaker.Blueprints.BlueprintComponent.name
Kingmaker.Blueprints.BlueprintComponent.m_PrototypeLink
Kingmaker.Blueprints.BlueprintComponent.ApplyValidation(Owlcat.QA.Validation.ValidationContext, System.Int32)
Kingmaker.Blueprints.BlueprintComponent.Instantiate<T>(T)
Kingmaker.Blueprints.BlueprintComponent.OnDeserialized(System.Runtime.Serialization.StreamingContext)
Kingmaker.Blueprints.BlueprintComponent.ToString()
Kingmaker.Blueprints.BlueprintComponent.False
Kingmaker.Blueprints.BlueprintComponent.OwnerBlueprint
Kingmaker.Blueprints.BlueprintComponent.Disabled
Kingmaker.Blueprints.BlueprintComponent.PrototypeLink
Namespace: BlueprintCore.Blueprints.Components.Replacements
Assembly: BlueprintCore.dll
Syntax
[TypeId("7100c63b-d277-4076-ac12-4ad3b0b45ad4")]
public class SuppressBuffsFixed : UnitFactComponentDelegate, ICanBeLogContext, IHavePrototype, IRuntimeEntityFactComponentProvider, ISubscriber
Remarks
Based on SuppressBuffsTTT from TabletopTweaks-Core
Constructors
| Improve this Doc View SourceSuppressBuffsFixed(Boolean)
Declaration
public SuppressBuffsFixed(bool applyToNewBuffs = false)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | applyToNewBuffs | If true, effects added after suppression is applied are affected. |
Fields
| Improve this Doc View SourceApplyToNewBuffs
Declaration
[SerializeField]
public bool ApplyToNewBuffs
Field Value
Type | Description |
---|---|
System.Boolean |
Descriptor
Declaration
[SerializeField]
public SpellDescriptorWrapper Descriptor
Field Value
Type | Description |
---|---|
Kingmaker.Blueprints.Classes.Spells.SpellDescriptorWrapper |
m_Buffs
Declaration
[SerializeField]
public BlueprintBuffReference[] m_Buffs
Field Value
Type | Description |
---|---|
Kingmaker.Blueprints.BlueprintBuffReference[] |
Schools
Declaration
[SerializeField]
public SpellSchool[] Schools
Field Value
Type | Description |
---|---|
Kingmaker.Blueprints.Classes.Spells.SpellSchool[] |
Methods
| Improve this Doc View SourceApplyToBuffs(Blueprint<BlueprintBuffReference>[])
Declaration
public SuppressBuffsFixed ApplyToBuffs(params Blueprint<BlueprintBuffReference>[] buffs)
Parameters
Type | Name | Description |
---|---|---|
Blueprint<Kingmaker.Blueprints.BlueprintBuffReference>[] | buffs |
Returns
Type | Description |
---|---|
SuppressBuffsFixed |
ApplyToSpellDescriptors(SpellDescriptor[])
Declaration
public SuppressBuffsFixed ApplyToSpellDescriptors(params SpellDescriptor[] spellDescriptors)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.Blueprints.Classes.Spells.SpellDescriptor[] | spellDescriptors |
Returns
Type | Description |
---|---|
SuppressBuffsFixed |
ApplyToSpellDescriptors(SpellDescriptorWrapper)
Declaration
public SuppressBuffsFixed ApplyToSpellDescriptors(SpellDescriptorWrapper spellDescriptorWrapper)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.Blueprints.Classes.Spells.SpellDescriptorWrapper | spellDescriptorWrapper |
Returns
Type | Description |
---|---|
SuppressBuffsFixed |
ApplyToSpellSchools(SpellSchool[])
Declaration
public SuppressBuffsFixed ApplyToSpellSchools(params SpellSchool[] spellSchools)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.Blueprints.Classes.Spells.SpellSchool[] | spellSchools |
Returns
Type | Description |
---|---|
SuppressBuffsFixed |
OnActivate()
Declaration
public override void OnActivate()
Overrides
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnActivate()
|
Improve this Doc
View Source
OnDeactivate()
Declaration
public override void OnDeactivate()
Overrides
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnDeactivate()
|
Improve this Doc
View Source
OnPostLoad()
Declaration
public override void OnPostLoad()
Overrides
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, Kingmaker.EntitySystem.EmptyComponentData>.OnPostLoad()
Implements
Owlcat.Runtime.Core.Logging.ICanBeLogContext
Kingmaker.Blueprints.IHavePrototype
Kingmaker.EntitySystem.IRuntimeEntityFactComponentProvider
Kingmaker.PubSubSystem.ISubscriber