Show / Hide Table of Contents

# Class SyncString

##### Inheritance

object
InternalBaseClass
SyncableField
SyncString

##### Inherited Members

SyncableField.IsClient
SyncableField.IsServer
SyncableField.BeforeReadRPC()
SyncableField.AfterReadRPC()
SyncableField.OnRollback()
InternalBaseClass.ExecuteRPC(in RemoteCall)
InternalBaseClass.ExecuteRPC<T>(in RemoteCall<T>, T)
InternalBaseClass.ExecuteRPC<T>(in RemoteCallSpan<T>, ReadOnlySpan<T>)
InternalBaseClass.ExecuteRPC<T>(in RemoteCallSerializable<T>, T)

###### Namespace: LiteEntitySystem.Extensions

###### Assembly: LiteEntitySystem.dll

##### Syntax

    public class SyncString : SyncableField

### 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()

### Operators

#### implicit operator string(SyncString)

##### Declaration

    public static implicit operator string(SyncString s)

##### Parameters

Type | Name | Description
--- | --- | ---
SyncString | s |

##### Returns

Type | Description
--- | ---
string |