Class GhostSendSystem
Inherited Members
Unity.Entities.SystemBase.GetBuffer<T>(Unity.Entities.Entity)
Unity.Entities.SystemBase.GetBufferFromEntity<T>(System.Boolean)
Unity.Entities.SystemBase.OnCreateForCompiler()
Unity.Entities.ComponentSystemBase.GetComponentTypeHandle<T>(System.Boolean)
Unity.Entities.ComponentSystemBase.GetDynamicComponentTypeHandle(Unity.Entities.ComponentType)
Unity.Entities.ComponentSystemBase.GetBufferTypeHandle<T>(System.Boolean)
Unity.Entities.ComponentSystemBase.GetSharedComponentTypeHandle<T>()
Unity.Entities.ComponentSystemBase.GetEntityTypeHandle()
Unity.Entities.ComponentSystemBase.ExecutingSystemType
Namespace: Unity.NetCode
Syntax
public class GhostSendSystem : SystemBase, IGhostMappingSystem
Fields
m_AllocatedGhostIds
Declaration
protected NativeArray<int> m_AllocatedGhostIds
Field Value
| Type | Description |
|---|---|
| NativeArray<Int32> |
Properties
GhostRelevancyMode
Declaration
public GhostRelevancyMode GhostRelevancyMode { get; set; }
Property Value
| Type | Description |
|---|---|
| GhostRelevancyMode |
GhostRelevancySet
Declaration
public NativeHashMap<RelevantGhostForConnection, int> GhostRelevancySet { get; }
Property Value
| Type | Description |
|---|---|
| NativeHashMap<RelevantGhostForConnection, Int32> |
GhostRelevancySetWriteHandle
Declaration
public JobHandle GhostRelevancySetWriteHandle { get; set; }
Property Value
| Type | Description |
|---|---|
| JobHandle |
LastGhostMapWriter
Declaration
public JobHandle LastGhostMapWriter { get; set; }
Property Value
| Type | Description |
|---|---|
| JobHandle |
Implements
SpawnedGhostEntityMap
Declaration
public NativeHashMap<SpawnedGhost, Entity> SpawnedGhostEntityMap { get; }
Property Value
| Type | Description |
|---|---|
| NativeHashMap<SpawnedGhost, Entity> |
Implements
Methods
OnCreate()
Declaration
protected override void OnCreate()
Overrides
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnUpdate()
Declaration
protected override void OnUpdate()
Overrides
SetAllocatedGhostId(Int32)
Declaration
public bool SetAllocatedGhostId(int id)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | id |
Returns
| Type | Description |
|---|---|
| Boolean |