Class GhostSendSystem | Unity NetCode | 0.6.0-preview.7
docs.unity.cn
    Show / Hide Table of Contents

    Class GhostSendSystem

    Inheritance
    Object
    ComponentSystemBase
    SystemBase
    GhostSendSystem
    Inherited Members
    SystemBase.CompleteDependency()
    SystemBase.Update()
    SystemBase.GetComponent<T>(Entity)
    SystemBase.SetComponent<T>(Entity, T)
    SystemBase.HasComponent<T>(Entity)
    SystemBase.GetComponentDataFromEntity<T>(Boolean)
    SystemBase.GetBuffer<T>(Entity)
    SystemBase.GetBufferFromEntity<T>(Boolean)
    Unity.Entities.SystemBase.OnCreateForCompiler()
    SystemBase.Dependency
    SystemBase.Entities
    SystemBase.Job
    ComponentSystemBase.OnStartRunning()
    ComponentSystemBase.OnStopRunning()
    ComponentSystemBase.ShouldRunSystem()
    ComponentSystemBase.GetComponentTypeHandle<T>(Boolean)
    ComponentSystemBase.GetDynamicComponentTypeHandle(ComponentType)
    ComponentSystemBase.GetBufferTypeHandle<T>(Boolean)
    ComponentSystemBase.GetSharedComponentTypeHandle<T>()
    ComponentSystemBase.GetDynamicSharedComponentTypeHandle(ComponentType)
    ComponentSystemBase.GetEntityTypeHandle()
    ComponentSystemBase.RequireForUpdate(EntityQuery)
    ComponentSystemBase.RequireSingletonForUpdate<T>()
    ComponentSystemBase.HasSingleton<T>()
    ComponentSystemBase.GetSingleton<T>()
    ComponentSystemBase.TryGetSingleton<T>(T)
    ComponentSystemBase.SetSingleton<T>(T)
    ComponentSystemBase.GetSingletonEntity<T>()
    ComponentSystemBase.TryGetSingletonEntity<T>(Entity)
    ComponentSystemBase.GetEntityQuery(ComponentType[])
    ComponentSystemBase.GetEntityQuery(NativeArray<ComponentType>)
    ComponentSystemBase.GetEntityQuery(EntityQueryDesc[])
    ComponentSystemBase.Enabled
    ComponentSystemBase.EntityQueries
    ComponentSystemBase.GlobalSystemVersion
    ComponentSystemBase.LastSystemVersion
    ComponentSystemBase.EntityManager
    ComponentSystemBase.World
    ComponentSystemBase.Time
    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
    IGhostMappingSystem.LastGhostMapWriter

    SpawnedGhostEntityMap

    Declaration
    public NativeHashMap<SpawnedGhost, Entity> SpawnedGhostEntityMap { get; }
    Property Value
    Type Description
    NativeHashMap<SpawnedGhost, Entity>
    Implements
    IGhostMappingSystem.SpawnedGhostEntityMap

    Methods

    OnCreate()

    Declaration
    protected override void OnCreate()
    Overrides
    ComponentSystemBase.OnCreate()

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    ComponentSystemBase.OnDestroy()

    OnUpdate()

    Declaration
    protected override void OnUpdate()
    Overrides
    SystemBase.OnUpdate()

    SetAllocatedGhostId(Int32)

    Declaration
    public bool SetAllocatedGhostId(int id)
    Parameters
    Type Name Description
    Int32 id
    Returns
    Type Description
    Boolean
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021