Interface IAttribute
- Namespace
- Vintagestory.API.Datastructures
- Assembly
- VintagestoryAPI.dll
An attribute from an attribute tree
public interface IAttribute
- Extension Methods
Methods
Clone()
IAttribute Clone()
Returns
Equals(IWorldAccessor, IAttribute)
bool Equals(IWorldAccessor worldForResolve, IAttribute attr)
Parameters
worldForResolve
IWorldAccessorattr
IAttribute
Returns
FromBytes(BinaryReader)
void FromBytes(BinaryReader stream)
Parameters
stream
BinaryReader
GetAttributeId()
int GetAttributeId()
Returns
GetType()
Type GetType()
Returns
GetValue()
object GetValue()
Returns
ToBytes(BinaryWriter)
void ToBytes(BinaryWriter stream)
Parameters
stream
BinaryWriter
ToJsonToken()
string ToJsonToken()