Shared.Entity.EntityCopyHelper
Type JSONpublic class in Shared.Entity
Type metadata
- Assembly
Shared - Namespace
Shared.Entity - Base type
System.Object - Hash
0C64D509F578D10667B4661394C60D2E81D427232BEC1972B102ACD56A00C9E5
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
FieldInfos# | private | private System.Reflection.FieldInfo[] FieldInfos |
Methods
CopyEntitiesWithMask
#
public System.Void CopyEntitiesWithMask(Shared.Entity.EntitySystem source, Shared.Entity.EntitySystem target, Shared.Entity.Components.Component mask, CandideCreator.Shared.Serialization.CandideReflection reflection)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
82B6DA6F83D67753277489FFA32ADF2F9E2082F448917C4C885C338AA7B1065A - Body hash
4F9733FCE0B901E45164BB5E2E1BA6285BB7D89C43C4D993E2D8C90FE31E7755 - IL size112
Referenced calls
Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntitySystem::NewEntity()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Shared.Entity.EntityCopyHelper::DeepCopyEntity(Shared.Entity.EntitySystem, System.Int32, Shared.Entity.EntitySystem, System.Int32, System.Boolean, System.Boolean, CandideCreator.Shared.Serialization.CandideReflection)
String literals
Could not fully entities, target is full. Ended at index.
CopySystem
#
public System.Void CopySystem(Shared.Entity.EntitySystem source, Shared.Entity.EntitySystem target, CandideCreator.Shared.Serialization.CandideReflection reflection)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
3434E071F89269894FC55777BCAA85682474BF8667BB107680A16DBB6144645C - Body hash
756BB572BDE2601C743A719D86BB222B50394A58A0B4A2A17BED11E253C15BFA - IL size107
Referenced calls
Shared.Entity.EntitySystem::NewEntity()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Shared.Entity.EntityCopyHelper::DeepCopyEntity(Shared.Entity.EntitySystem, System.Int32, Shared.Entity.EntitySystem, System.Int32, System.Boolean, System.Boolean, CandideCreator.Shared.Serialization.CandideReflection)
String literals
Could not fully copy system, target is full. Ended at index.
DeepCopyEntity
#
public System.Void DeepCopyEntity(Shared.Entity.EntitySystem sourceSystem, System.Int32 sourceId, Shared.Entity.EntitySystem targetSystem, System.Int32 targetId, System.Boolean initializeControllers, System.Boolean ignoreControllers, CandideCreator.Shared.Serialization.CandideReflection reflection)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
C0A8AAE46FF26BC3F7ADA6D6C783636B51D2F56D49586005061F4C9E1AEEA965 - Body hash
B9C119C04E75E93E81F0773194C74C5F21611BAC4A1D31A5CEFBBBDBA1993C8C - IL size408
Referenced calls
System.Reflection.FieldInfo::GetValue(System.Object)System.Array::GetValue(System.Int32)CandideCreator.Shared.Serialization.CandideReflection::Clone(System.Object)System.Array::SetValue(System.Object, System.Int32)Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.Base.AbstractController::Clone(Shared.Entity.EntityWrapper)CandideCreator.Shared.Helpers.Parameters::.ctor(CandideCreator.Shared.Helpers.Parameters)Shared.Entity.Base.AbstractController::AttachEntity(Shared.Entity.EntityWrapper, CandideCreator.Shared.Helpers.Parameters)CandideCreator.Shared.Serialization.CandideReflection::Clone(!!0)Shared.Entity.Base.AbstractAi::AttachEntityController(Shared.Entity.Base.EntityControllerBase, CandideCreator.Shared.Helpers.Parameters)Shared.Entity.Base.AbstractController::EntityInitialize()
ShallowCopyEntity
#
public System.Void ShallowCopyEntity(Shared.Entity.EntitySystem source, System.Int32 sourceId, Shared.Entity.EntitySystem target, System.Int32 targetId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
D2D537F049EE5F03307902EC5DF9ACB0131C54329DC805B284132A6F158B66BB - Body hash
CF2B5D8D1D4A6691C99055787F6CFA1197E60AFDBC475D2E8ECD772B6D68E6B7 - IL size63
Referenced calls
System.Reflection.FieldInfo::GetValue(System.Object)System.Array::GetValue(System.Int32)System.Array::SetValue(System.Object, System.Int32)
TransferEntity
#
public System.Void TransferEntity(Shared.Entity.EntitySystem source, System.Int32 sourceId, Shared.Entity.EntitySystem target, System.Int32 targetId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2C14EAE53FA97CD845B97F13F921EB2DEE69B55A1886652338459482395E9822 - Body hash
E1B9B127F93B6A4D0F58EB3B83C2146EE2E75E9005875652AE46E253CEF201F7 - IL size56