Table of Contents

Struct AuthorityRequest

Namespace
Coherence.Generated
Assembly
Coherence.Common.Tests.dll
public struct AuthorityRequest : IEntityCommand, IEntityMessage
Implements

Constructors

AuthorityRequest(Entity, uint, int)

public AuthorityRequest(Entity entity, uint requester, int authorityType)

Parameters

entity Entity
requester uint
authorityType int

Fields

authorityType

public int authorityType

Field Value

int

requester

public uint requester

Field Value

uint

Properties

Entity

public Entity Entity { readonly get; set; }

Property Value

Entity

Routing

public MessageTarget Routing { readonly get; set; }

Property Value

MessageTarget

Sender

public uint Sender { readonly get; set; }

Property Value

uint

Methods

Clone()

public IEntityMessage Clone()

Returns

IEntityMessage

Deserialize(IInProtocolBitStream, Entity, MessageTarget)

public static AuthorityRequest Deserialize(IInProtocolBitStream bitStream, Entity entity, MessageTarget target)

Parameters

bitStream IInProtocolBitStream
entity Entity
target MessageTarget

Returns

AuthorityRequest

FromInterop(IntPtr, int)

public static AuthorityRequest FromInterop(IntPtr data, int dataSize)

Parameters

data IntPtr
dataSize int

Returns

AuthorityRequest

GetComponentType()

public uint GetComponentType()

Returns

uint

GetEntityRefs()

public HashSet<Entity> GetEntityRefs()

Returns

HashSet<Entity>

MapToAbsolute(IEntityMapper, Logger)

public IEntityMapper.Error MapToAbsolute(IEntityMapper mapper, Logger logger)

Parameters

mapper IEntityMapper
logger Logger

Returns

IEntityMapper.Error

MapToRelative(IEntityMapper, Logger)

public IEntityMapper.Error MapToRelative(IEntityMapper mapper, Logger logger)

Parameters

mapper IEntityMapper
logger Logger

Returns

IEntityMapper.Error

NullEntityRefs(Entity)

public void NullEntityRefs(Entity entity)

Parameters

entity Entity

Serialize(AuthorityRequest, IOutProtocolBitStream)

public static void Serialize(AuthorityRequest commandData, IOutProtocolBitStream bitStream)

Parameters

commandData AuthorityRequest
bitStream IOutProtocolBitStream