Show / Hide Table of Contents

Class SyncString

Inheritance
object
InternalBaseClass
SyncableField
SyncString
Implements
ISyncFieldChanged<string>
Inherited Members
SyncableField.IsClient
SyncableField.IsServer
SyncableField.IsRollbackSupported
SyncableField.ParentEntity
SyncableField.ParentEntityLogic
SyncableField.BeforeReadRPC()
SyncableField.AfterReadRPC()
SyncableField.OnRollback()
SyncableField.ExecuteRPC(in RemoteCall)
SyncableField.ExecuteRPC<T>(in RemoteCall<T>, T)
SyncableField.ExecuteRPC<T>(in RemoteCallSpan<T>, ReadOnlySpan<T>)
SyncableField.ExecuteRPC<T>(in RemoteCallSerializable<T>, T)
Namespace: LiteEntitySystem.Extensions
Assembly: LiteEntitySystem.dll
Syntax
public class SyncString : SyncableField, ISyncFieldChanged<string>

Properties

Value

Declaration
public string Value { get; set; }
Property Value
Type Description
string

Methods

OnSyncRequested()

Declaration
protected override void OnSyncRequested()
Overrides
InternalBaseClass.OnSyncRequested()

RegisterRPC(ref SyncableRPCRegistrator)

Declaration
protected override void RegisterRPC(ref SyncableRPCRegistrator r)
Parameters
Type Name Description
SyncableRPCRegistrator r
Overrides
SyncableField.RegisterRPC(ref SyncableRPCRegistrator)

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()

Events

ValueChanged

Argument contains old value

Declaration
public event Action<string> ValueChanged
Event Type
Type Description
Action<string>

Operators

implicit operator string(SyncString)

Declaration
public static implicit operator string(SyncString s)
Parameters
Type Name Description
SyncString s
Returns
Type Description
string

Implements

ISyncFieldChanged<T>
In this article
Back to top Generated by DocFX