Class SyncString
- Namespace
- LiteEntitySystem.Extensions
- Assembly
- LiteEntitySystem.dll
public class SyncString : SyncableField, ISyncFieldChanged<string>
- Inheritance
-
objectSyncString
- Implements
- Inherited Members
Properties
Value
public string Value { get; set; }
Property Value
Methods
OnSyncRequested()
Method for executing RPCs containing initial sync data that need to be sent after entity creation to existing players or when new player connected
protected override void OnSyncRequested()
RegisterRPC(ref SyncableRPCRegistrator)
protected override void RegisterRPC(ref SyncableRPCRegistrator r)
Parameters
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Events
ValueChanged
Argument contains old value
public event Action<string> ValueChanged
Event Type
Operators
implicit operator string(SyncString)
public static implicit operator string(SyncString s)