9 private int maxValueLength;
10 [
Editable,
Serialize(200,
IsPropertySaveable.No, description:
"The maximum length of the stored value. Warning: Large values can lead to large memory usage or networking issues.")]
13 get {
return maxValueLength; }
16 maxValueLength = Math.Max(value, 0);
28 if (value ==
null) {
return; }
55 partial
void OnStateChanged();
59 switch (connection.
Name)
64 string prevValue =
Value;
66 if (
Value != prevValue)
void SendSignal(string signal, string connectionName)
The base class for components holding the different functionalities of the item
override void ReceiveSignal(Signal signal, Connection connection)
MemoryComponent(Item item, ContentXElement element)
override void Update(float deltaTime, Camera cam)
Interface for entities that the server can send events to the clients