Merge branch 'minor_mem_layout_opt' of https://github.com/VitaminCpp/FlaxEngine into VitaminCpp-minor_mem_layout_opt
This commit is contained in:
@@ -116,17 +116,6 @@ PACK_STRUCT(struct NetworkMessageObjectRpc
|
|||||||
|
|
||||||
struct NetworkReplicatedObject
|
struct NetworkReplicatedObject
|
||||||
{
|
{
|
||||||
ScriptingObjectReference<ScriptingObject> Object;
|
|
||||||
Guid ObjectId;
|
|
||||||
Guid ParentId;
|
|
||||||
uint32 OwnerClientId;
|
|
||||||
uint32 LastOwnerFrame = 0;
|
|
||||||
NetworkObjectRole Role;
|
|
||||||
uint8 Spawned : 1;
|
|
||||||
uint8 Synced : 1;
|
|
||||||
DataContainer<uint32> TargetClientIds;
|
|
||||||
INetworkObject* AsNetworkObject;
|
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
NetworkClientsMask Mask;
|
NetworkClientsMask Mask;
|
||||||
@@ -139,6 +128,17 @@ struct NetworkReplicatedObject
|
|||||||
}
|
}
|
||||||
} RepCache;
|
} RepCache;
|
||||||
|
|
||||||
|
ScriptingObjectReference<ScriptingObject> Object;
|
||||||
|
Guid ObjectId;
|
||||||
|
Guid ParentId;
|
||||||
|
DataContainer<uint32> TargetClientIds;
|
||||||
|
INetworkObject* AsNetworkObject;
|
||||||
|
uint32 OwnerClientId;
|
||||||
|
uint32 LastOwnerFrame = 0;
|
||||||
|
NetworkObjectRole Role;
|
||||||
|
uint8 Spawned : 1;
|
||||||
|
uint8 Synced : 1;
|
||||||
|
|
||||||
NetworkReplicatedObject()
|
NetworkReplicatedObject()
|
||||||
{
|
{
|
||||||
Spawned = 0;
|
Spawned = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user