Table of Contents

Class SyncString

Namespace
LiteEntitySystem.Extensions
Assembly
LiteEntitySystem.dll
public class SyncString : SyncableField, ISyncFieldChanged<string>
Inheritance
object
SyncString
Implements
Inherited Members

Properties

Value

public string Value { get; set; }

Property Value

string

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

r SyncableRPCRegistrator

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

Action<string>

Operators

implicit operator string(SyncString)

public static implicit operator string(SyncString s)

Parameters

s SyncString

Returns

string