mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
24 lines
692 B
C#
24 lines
692 B
C#
using Robust.Client.ViewVariables.Instances;
|
|
|
|
namespace Robust.Client.ViewVariables
|
|
{
|
|
/// <summary>
|
|
/// Traits define what behavior an object can have that VV cares about.
|
|
/// So like, is it enumerable, does it have VV accessible members. That kinda deal.
|
|
/// These are the "modular" way of extending VV.
|
|
/// </summary>
|
|
internal abstract class ViewVariablesTrait
|
|
{
|
|
protected ViewVariablesInstanceObject Instance { get; private set; } = default!;
|
|
|
|
public virtual void Initialize(ViewVariablesInstanceObject instance)
|
|
{
|
|
Instance = instance;
|
|
}
|
|
|
|
public virtual void Refresh()
|
|
{
|
|
}
|
|
}
|
|
}
|