Show / Hide Table of Contents

Class UnitPartBuffSuppressFixed

Working replacement for Owlcat's UnitPartBuffSuppress.

Inheritance
System.Object
Kingmaker.EntitySystem.EntityPart
Kingmaker.EntitySystem.EntityPart<Kingmaker.EntitySystem.Entities.UnitEntityData>
Kingmaker.UnitLogic.UnitPart
Kingmaker.UnitLogic.OldStyleUnitPart
UnitPartBuffSuppressFixed
Inherited Members
Kingmaker.UnitLogic.OldStyleUnitPart.Owner
Kingmaker.EntitySystem.EntityPart<Kingmaker.EntitySystem.Entities.UnitEntityData>.RequiredEntityType
Kingmaker.EntitySystem.EntityPart.<Owner>k__BackingField
Kingmaker.EntitySystem.EntityPart.<IsTurnedOn>k__BackingField
Kingmaker.EntitySystem.EntityPart.<IsSubscribedOnEventBus>k__BackingField
Kingmaker.EntitySystem.EntityPart.<IsDisposed>k__BackingField
Kingmaker.EntitySystem.EntityPart.<IsPostLoadExecuted>k__BackingField
Kingmaker.EntitySystem.EntityPart.<IndexInCache>k__BackingField
Kingmaker.EntitySystem.EntityPart.AttachToEntity(Kingmaker.EntitySystem.EntityDataBase)
Kingmaker.EntitySystem.EntityPart.PreSave()
Kingmaker.EntitySystem.EntityPart.RestoreOwnerLink(Kingmaker.EntitySystem.EntityDataBase)
Kingmaker.EntitySystem.EntityPart.PostLoad()
Kingmaker.EntitySystem.EntityPart.ApplyPostLoadFixes()
Kingmaker.EntitySystem.EntityPart.TurnOn()
Kingmaker.EntitySystem.EntityPart.TurnOff()
Kingmaker.EntitySystem.EntityPart.Dispose()
Kingmaker.EntitySystem.EntityPart.ViewDidAttach()
Kingmaker.EntitySystem.EntityPart.ViewWillDetach()
Kingmaker.EntitySystem.EntityPart.OnDidAttachToEntity()
Kingmaker.EntitySystem.EntityPart.OnPreSave()
Kingmaker.EntitySystem.EntityPart.OnPostLoad()
Kingmaker.EntitySystem.EntityPart.OnApplyPostLoadFixes()
Kingmaker.EntitySystem.EntityPart.OnTurnOff()
Kingmaker.EntitySystem.EntityPart.OnDispose()
Kingmaker.EntitySystem.EntityPart.OnViewDidAttach()
Kingmaker.EntitySystem.EntityPart.OnViewWillDetach()
Kingmaker.EntitySystem.EntityPart.GetSubscribingUnit()
Kingmaker.EntitySystem.EntityPart.Subscribe()
Kingmaker.EntitySystem.EntityPart.Unsubscribe()
Kingmaker.EntitySystem.EntityPart.RemoveSelf()
Kingmaker.EntitySystem.EntityPart.IsTurnedOn
Kingmaker.EntitySystem.EntityPart.IsSubscribedOnEventBus
Kingmaker.EntitySystem.EntityPart.IsDisposed
Kingmaker.EntitySystem.EntityPart.IsPostLoadExecuted
Kingmaker.EntitySystem.EntityPart.IndexInCache
Namespace: BlueprintCore.UnitParts.Replacements
Assembly: BlueprintCore.dll
Syntax
public class UnitPartBuffSuppressFixed : OldStyleUnitPart
Remarks

Based on UnitPartBuffSuppress from TabletopTweaks-Core

Methods

| Improve this Doc View Source

AddContinuousEntry(EntityFact, BlueprintBuffReference[], SpellSchool[], SpellDescriptor)

Suppresses the specified effects applied to the unit until removed.

Declaration
public void AddContinuousEntry(EntityFact source, BlueprintBuffReference[] buffs, SpellSchool[] spellSchools, SpellDescriptor spellDescriptor)
Parameters
Type Name Description
Kingmaker.EntitySystem.EntityFact source
Kingmaker.Blueprints.BlueprintBuffReference[] buffs
Kingmaker.Blueprints.Classes.Spells.SpellSchool[] spellSchools
Kingmaker.Blueprints.Classes.Spells.SpellDescriptor spellDescriptor
| Improve this Doc View Source

AddContinuousPolymorphEntry(EntityFact)

Suppresses polymorph effects applied to the unit until removed.

Declaration
public void AddContinuousPolymorphEntry(EntityFact source)
Parameters
Type Name Description
Kingmaker.EntitySystem.EntityFact source
| Improve this Doc View Source

AddNormalEntry(EntityFact, BlueprintBuffReference[], SpellSchool[], SpellDescriptor)

Suppresses the specified effects currently on the unit.

Declaration
public void AddNormalEntry(EntityFact source, BlueprintBuffReference[] buffs, SpellSchool[] spellSchools, SpellDescriptor spellDescriptor)
Parameters
Type Name Description
Kingmaker.EntitySystem.EntityFact source
Kingmaker.Blueprints.BlueprintBuffReference[] buffs
Kingmaker.Blueprints.Classes.Spells.SpellSchool[] spellSchools
Kingmaker.Blueprints.Classes.Spells.SpellDescriptor spellDescriptor
| Improve this Doc View Source

AddSizeEntry(EntityFact)

Suppresses size effects currently on the unit.

Declaration
public void AddSizeEntry(EntityFact source)
Parameters
Type Name Description
Kingmaker.EntitySystem.EntityFact source
| Improve this Doc View Source

IsSuppressedContinuously(Buff)

Declaration
public bool IsSuppressedContinuously(Buff buff)
Parameters
Type Name Description
Kingmaker.UnitLogic.Buffs.Buff buff
Returns
Type Description
System.Boolean
| Improve this Doc View Source

OnTurnOn()

Declaration
public override void OnTurnOn()
Overrides
Kingmaker.EntitySystem.EntityPart.OnTurnOn()
| Improve this Doc View Source

RemoveEntry(EntityFact)

Declaration
public void RemoveEntry(EntityFact source)
Parameters
Type Name Description
Kingmaker.EntitySystem.EntityFact source
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • AddContinuousEntry(EntityFact, BlueprintBuffReference[], SpellSchool[], SpellDescriptor)
    • AddContinuousPolymorphEntry(EntityFact)
    • AddNormalEntry(EntityFact, BlueprintBuffReference[], SpellSchool[], SpellDescriptor)
    • AddSizeEntry(EntityFact)
    • IsSuppressedContinuously(Buff)
    • OnTurnOn()
    • RemoveEntry(EntityFact)
Back to top Generated by DocFX