Struct AuthorityTransfer
- Namespace
- Coherence.Generated
- Assembly
- Coherence.Common.Tests.dll
public struct AuthorityTransfer : IEntityCommand, IEntityMessage
- Implements
-
Constructors
AuthorityTransfer(Entity, uint, bool, int)
public AuthorityTransfer(Entity entity, uint newAuthority, bool accepted, int authorityType)
Parameters
entity
Entity
newAuthority
uint
accepted
bool
authorityType
int
Fields
accepted
Field Value
- bool
authorityType
Field Value
- int
newAuthority
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 AuthorityTransfer Deserialize(IInProtocolBitStream bitStream, Entity entity, MessageTarget target)
Parameters
bitStream
IInProtocolBitStream
entity
Entity
target
MessageTarget
Returns
- AuthorityTransfer
FromInterop(IntPtr, int)
public static AuthorityTransfer FromInterop(IntPtr data, int dataSize)
Parameters
data
IntPtr
dataSize
int
Returns
- AuthorityTransfer
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(AuthorityTransfer, IOutProtocolBitStream)
public static void Serialize(AuthorityTransfer commandData, IOutProtocolBitStream bitStream)
Parameters
commandData
AuthorityTransfer
bitStream
IOutProtocolBitStream