Show / Hide Table of Contents

# Class SyncFixedArray<T>

##### Inheritance

object
InternalBaseClass
SyncableField
SyncFixedArray<T>

##### 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 SyncFixedArray<T> : SyncableField where T : unmanaged, IEquatable<T>

##### Type Parameters

Name | Description
--- | ---
T |

### Constructors

#### SyncFixedArray(int)

##### Declaration

    public SyncFixedArray(int size)

##### Parameters

Type | Name | Description
--- | --- | ---
int | size |

### Fields

#### Length

##### Declaration

    public readonly int Length

##### Field Value

Type | Description
--- | ---
int |

### Properties

#### this[int]

##### Declaration

    public T this[int index] { get; set; }

##### Parameters

Type | Name | Description
--- | --- | ---
int | index |

##### Property Value

Type | Description
--- | ---
T |

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