Skip to main content
Version: Normcore 2

IProperty<T>

IProperty<T>

Properties

value

T value { get; }

The property value.

Methods

WriteLength

int WriteLength(StreamContext context)

Return the length of the property for a given context.

Write

bool Write(WriteStream stream, StreamContext context)

Write the property to the stream, if needed. Returns true if the property was written.

Read

bool Read(ReadStream stream, StreamContext context)

Read the property from the stream. Returns true if the property changed.