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 SourceAddContinuousEntry(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. |
source | |
Kingmaker. |
buffs | |
Kingmaker. |
spellSchools | |
Kingmaker. |
spellDescriptor |
AddContinuousPolymorphEntry(EntityFact)
Suppresses polymorph effects applied to the unit until removed.
Declaration
public void AddContinuousPolymorphEntry(EntityFact source)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker. |
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. |
source | |
Kingmaker. |
buffs | |
Kingmaker. |
spellSchools | |
Kingmaker. |
spellDescriptor |
AddSizeEntry(EntityFact)
Suppresses size effects currently on the unit.
Declaration
public void AddSizeEntry(EntityFact source)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker. |
source |
IsSuppressedContinuously(Buff)
Declaration
public bool IsSuppressedContinuously(Buff buff)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker. |
buff |
Returns
Type | Description |
---|---|
System. |
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. |
source |