Game.UI.Tooltip.IntTooltip
Assembly: Assembly-CSharp
Namespace: Game.UI.Tooltip
Type: class
Base: NumberTooltip
Summary:
IntTooltip is a concrete, empty specialization of the generic NumberTooltip
Fields
- None declared in IntTooltip.
This class inherits any fields (if any) from NumberTooltipand does not introduce additional state.
Properties
- None declared in IntTooltip.
Any relevant properties (for setting the numeric value, format strings, or visual configuration) are defined on NumberTooltip. Refer to NumberTooltip documentation for available properties and their usage.
Constructors
public IntTooltip()
IntTooltip has no explicit constructors in the source file, so it uses the default parameterless constructor. Initialization behavior (if any) is provided by the base class NumberTooltip.
Methods
- None declared in IntTooltip.
To customize creation or behavior, override virtual/abstract members provided by NumberTooltip(for example lifecycle methods such as OnCreate/OnDestroy/OnUpdate, if available on the base). IntTooltip itself contains no overrides.
Usage Example
// Example: subclassing IntTooltip to perform custom initialization.
// Preserve attribute is useful under IL2CPP builds to avoid stripping.
[Preserve]
public class CustomIntTooltip : IntTooltip
{
protected override void OnCreate()
{
base.OnCreate();
// Perform initialization here, e.g. set formatting or style
// (actual APIs live on NumberTooltip<int>; consult its members)
}
}
Notes and modding tips:
- Because IntTooltip is just a typed alias of NumberTooltip