Table of Contents

Class TooltipBaseVM

Namespace
TaleWorlds.Library
Assembly
TaleWorlds.Library.dll
public abstract class TooltipBaseVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
TooltipBaseVM
Implements
Derived
Inherited Members

Constructors

TooltipBaseVM(Type, object[])

public TooltipBaseVM(Type invokedType, object[] invokedArgs)

Parameters

invokedType Type
invokedArgs object[]

Fields

_invokedArgs

protected readonly object[] _invokedArgs

Field Value

object[]

_invokedType

protected readonly Type _invokedType

Field Value

Type

_isPeriodicRefreshEnabled

protected bool _isPeriodicRefreshEnabled

Field Value

bool

_periodicRefreshDelay

protected float _periodicRefreshDelay

Field Value

float

Properties

IsActive

[DataSourceProperty]
public bool IsActive { get; set; }

Property Value

bool

IsExtended

[DataSourceProperty]
public bool IsExtended { get; set; }

Property Value

bool

Methods

InvokeRefreshData<T>(T)

protected void InvokeRefreshData<T>(T tooltip) where T : TooltipBaseVM

Parameters

tooltip T

Type Parameters

T

OnFinalize()

public override void OnFinalize()

OnFinalizeInternal()

protected virtual void OnFinalizeInternal()

OnIsExtendedChanged()

protected virtual void OnIsExtendedChanged()

OnPeriodicRefresh()

protected virtual void OnPeriodicRefresh()

Tick(float)

public virtual void Tick(float dt)

Parameters

dt float

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).