Table of Contents

Class Entity

Namespace
Netick
Assembly
Netick.dll
[IgnoreCodeGen]
public sealed class Entity
Inheritance
Entity
Inherited Members

Fields

AdaptiveRemoteInterpolation

public AdaptiveRemoteInterpolation AdaptiveRemoteInterpolation

Field Value

AdaptiveRemoteInterpolation

BehsHash

public int BehsHash

Field Value

int

Engine

public NetickEngine Engine

Field Value

NetickEngine

InstanceCounter

public int InstanceCounter

Field Value

int

NetworkId

public int NetworkId

Field Value

int

ObjectMeta

public NetickUniqueObjectMeta ObjectMeta

Field Value

NetickUniqueObjectMeta

PoolIndex

public int PoolIndex

Field Value

int

Position

public Vector3 Position

Field Value

Vector3

S

public int* S

Field Value

int*

StateOffsetBytes

public long StateOffsetBytes

Field Value

long

StatePtr

public void* StatePtr

Field Value

void*

StateSizeWord

public long StateSizeWord

Field Value

long

UserEntity

public INetickEntity UserEntity

Field Value

INetickEntity

UserId

public int UserId

Field Value

int

WorldIndex

public int WorldIndex

Field Value

int

Properties

InputSource

public NetworkPlayer InputSource { get; set; }

Property Value

NetworkPlayer

InputSourcePlayerId

public int InputSourcePlayerId { get; }

Property Value

int

InterestGroup

public InterestManagementGroup InterestGroup { get; set; }

Property Value

InterestManagementGroup

IsExplicitlyPredicted

public bool IsExplicitlyPredicted { get; set; }

Property Value

bool

IsInputSource

public bool IsInputSource { get; }

Property Value

bool

IsOwner

public bool IsOwner { get; }

Property Value

bool

IsPredicted

public bool IsPredicted { get; }

Property Value

bool

IsProxy

public bool IsProxy { get; }

Property Value

bool

IsResimulating

public bool IsResimulating { get; }

Property Value

bool

Methods

~Entity()

protected ~Entity()

GameEngineIntoNetcode()

public void GameEngineIntoNetcode()

GetStateSizeWords(INetickNetworkScript[])

public static int GetStateSizeWords(INetickNetworkScript[] scripts)

Parameters

scripts INetickNetworkScript[]

Returns

int

GridMarkAltered(int, Entity, int)

public bool GridMarkAltered(int index, Entity entity, int isInputSourceOnly = 0)

Parameters

index int
entity Entity
isInputSourceOnly int

Returns

bool

InternalDirtify(INetickNetworkScript, int*, int*, int, int, int)

public static void InternalDirtify(INetickNetworkScript script, int* data, int* p, int sizeInWords, int hasOnChanged, int isInputSourceOnly = 0)

Parameters

script INetickNetworkScript
data int*
p int*
sizeInWords int
hasOnChanged int
isInputSourceOnly int

InternalRegOnChanged(INetickNetworkScript, int, int, int, int*, int*, int, OnChangedEvent)

public static void InternalRegOnChanged(INetickNetworkScript script, int isArray, int invokeDuringResims, int inversePrecision, int* propertyStart, int* propertyPartIndex, int propertySizeWords, OnChangedEvent onChanged)

Parameters

script INetickNetworkScript
isArray int
invokeDuringResims int
inversePrecision int
propertyStart int*
propertyPartIndex int*
propertySizeWords int
onChanged OnChangedEvent

InternalRegSmooth(INetickNetworkScript, string, int, float, int)

public static void InternalRegSmooth(INetickNetworkScript script, string propertyName, int offsetInWords, float precision, int vectorFloatFieldsCount)

Parameters

script INetickNetworkScript
propertyName string
offsetInWords int
precision float
vectorFloatFieldsCount int

MarkAltered(int*, int)

public bool MarkAltered(int* p, int isInputSourceOnly = 0)

Parameters

p int*
isInputSourceOnly int

Returns

bool

Move(Vector3)

public void Move(Vector3 newPos)

Parameters

newPos Vector3

NetcodeIntoGameEngine()

public void NetcodeIntoGameEngine()

SetData(int*, int*, int, int, int)

public void SetData(int* newValue, int* p, int size, int hasOnChanged, int isInputSourceOnly)

Parameters

newValue int*
p int*
size int
hasOnChanged int
isInputSourceOnly int

SetNarrowphaseInterest(NetworkPlayer, bool)

public void SetNarrowphaseInterest(NetworkPlayer player, bool isInterested)

Parameters

player NetworkPlayer
isInterested bool