Show / Hide Table of Contents

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()

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾