Class EcoAttribute
One attribute to rule them all. This gives all the bells-and-whistles to a property or class, including:
- Serialized. Loads and saves the entry.
- SyncToView. It creates a view of the property on the client and keeps it updated.
- AutoRPC. Creates an RPC for the client to edit this parameter.
- AutoGen. Tags the member to have UI generated for it automatically created on the client.
- Property Scanning. The Property Scanner will traverse into it to update validity.
- PropertyExplanation. Explains the property.
Inheritance
System.Object
EcoAttribute
Assembly: Eco.Shared.dll
Syntax
public class EcoAttribute : ProfanityAttribute, IRPCAttribute
Constructors
EcoAttribute(AccessType)
Declaration
public EcoAttribute(AccessType requiredAccess)
Parameters
EcoAttribute(SyncFlags)
Declaration
public EcoAttribute(SyncFlags flags)
Parameters
EcoAttribute(Boolean)
Declaration
public EcoAttribute(bool serialized = true)
Parameters
Type |
Name |
Description |
System.Boolean |
serialized |
|
Fields
Flags
Declaration
Field Value
Properties
RequiredAccess
Declaration
public AccessType RequiredAccess { get; set; }
Property Value
Serialized
Declaration
public bool Serialized { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
Declaration
List<ExtraRPCAuthAttribute> IRPCAttribute.ExtraAuthAttributes { get; set; }
Returns
Implements
Extension Methods