Class EnvVarAttribute
Put this on a property or method taking a User, which returns any serializable value. EnvVars (Environment Variables) are for high-voltaile, fast-update properties that are needed, like interaction tests. They are queried on demand, cached on the client, and the server notifies the client when the cache is invalidated (but unlike with Views, does not send an updated value, it waits till the next query).
Inheritance
System.Object
EnvVarAttribute
Namespace: Eco.Gameplay.Systems.EnvVars
Assembly: Eco.Gameplay.dll
Syntax
public class EnvVarAttribute : NotifyAttribute
Constructors
EnvVarAttribute()
Declaration
public EnvVarAttribute()