Show / Hide Table of Contents

Class HumanControllerLogic<TInput>

Base class for human Controller entities

Inheritance
object
InternalBaseClass
InternalEntity
ControllerLogic
HumanControllerLogic
HumanControllerLogic<TInput>
HumanControllerLogic<TInput, T>
Implements
IComparable<InternalEntity>
Inherited Members
HumanControllerLogic.StringSizeLimit
HumanControllerLogic.FieldsDivision
HumanControllerLogic.ChangeEntityDiffSync(EntityLogic, bool)
HumanControllerLogic.OnConstructed()
HumanControllerLogic.IsEntityDiffSyncDisabled(EntitySharedReference)
HumanControllerLogic.ResetEntitiesDiffSync()
HumanControllerLogic.OnDestroy()
HumanControllerLogic.RegisterRPC(ref RPCRegistrator)
HumanControllerLogic.OnEntityDiffSyncChanged(EntityLogic, bool)
HumanControllerLogic.GetAssignedPlayer()
HumanControllerLogic.RegisterClientCustomType<T>()
HumanControllerLogic.RegisterClientCustomType<T>(Action<NetDataWriter, T>, Func<NetDataReader, T>)
HumanControllerLogic.SendRequest<T>(T)
HumanControllerLogic.SendRequest<T>(T, Action<bool>)
HumanControllerLogic.SendRequestStruct<T>(T)
HumanControllerLogic.SendRequestStruct<T>(T, Action<bool>)
HumanControllerLogic.SubscribeToClientRequestStruct<T>(Action<T>)
HumanControllerLogic.SubscribeToClientRequestStruct<T>(Func<T, bool>)
HumanControllerLogic.SubscribeToClientRequest<T>(Action<T>)
HumanControllerLogic.SubscribeToClientRequest<T>(Func<T, bool>)
ControllerLogic.GetControlledEntity<T>()
ControllerLogic.BeforeControlledUpdate()
ControllerLogic.DestroyWithControlledEntity()
ControllerLogic.StartControl(PawnLogic)
ControllerLogic.StopControl()
InternalEntity.ClassId
InternalEntity.Id
InternalEntity.EntityManager
InternalEntity.IsServer
InternalEntity.IsClient
InternalEntity.Version
InternalEntity.IsDestroyed
InternalEntity.IsLocalControlled
InternalEntity.IsRemoteControlled
InternalEntity.IsServerControlled
InternalEntity.ClientManager
InternalEntity.ServerManager
InternalEntity.OwnerId
InternalEntity.IsLocal
InternalEntity.IsSingleton
InternalEntity.IsRemoved
InternalEntity.Destroy()
InternalEntity.Update()
InternalEntity.OnBeforeRollback()
InternalEntity.OnRollback()
InternalEntity.VisualUpdate()
InternalEntity.ExecuteRPC(in RemoteCall)
InternalEntity.ExecuteRPC<T>(in RemoteCall<T>, T)
InternalEntity.ExecuteRPC<T>(in RemoteCallSpan<T>, ReadOnlySpan<T>)
InternalEntity.ExecuteRPC<T>(in RemoteCallSerializable<T>, T)
InternalEntity.CompareTo(InternalEntity)
InternalEntity.GetHashCode()
InternalEntity.ToString()
InternalBaseClass.OnSyncRequested()
Namespace: LiteEntitySystem
Assembly: LiteEntitySystem.dll
Syntax
[EntityFlags(EntityFlags.UpdateOnClient)]
public abstract class HumanControllerLogic<TInput> : HumanControllerLogic, IComparable<InternalEntity> where TInput : unmanaged
Type Parameters
Name Description
TInput

Constructors

HumanControllerLogic(EntityParams)

Declaration
protected HumanControllerLogic(EntityParams entityParams)
Parameters
Type Name Description
EntityParams entityParams

Properties

CurrentInput

Current player input On client created from PendingInput inside logic tick if ModifyInput called On server read from players

Declaration
public TInput CurrentInput { get; }
Property Value
Type Description
TInput

IsBot

Is controller - AI controller

Declaration
public override bool IsBot { get; }
Property Value
Type Description
bool
Overrides
ControllerLogic.IsBot

Methods

ModifyPendingInput()

Get pending input reference for modifications Pending input resets to default after it was assigned to CurrentInput inside logic tick

Declaration
protected ref TInput ModifyPendingInput()
Returns
Type Description
TInput

Pending input reference

Implements

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