Method PatchEntitiesForPrefab
PatchEntitiesForPrefab(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, int, Entity*, Entity*, int)
Applies a set of patches, remapping the internal prefab entities.
Declaration
public static void PatchEntitiesForPrefab(EntityRemapUtility.EntityPatchInfo* scalarPatches, int scalarPatchCount, EntityRemapUtility.BufferEntityPatchInfo* bufferPatches, int bufferPatchCount, byte* chunkBuffer, int indexInChunk, int entityCount, Entity* remapSrc, Entity* remapDst, int remappingCount)
Parameters
Type | Name | Description |
---|---|---|
EntityPatchInfo* | scalarPatches | The scalar patches to apply. |
int | scalarPatchCount | The number of scalar patches. |
BufferEntityPatchInfo* | bufferPatches | The buffer patches to apply. |
int | bufferPatchCount | The number of buffer patches. |
byte* | chunkBuffer | The chunk buffer, where the patches are applied. |
int | indexInChunk | Theo index in chunk of the source entity to remap. |
int | entityCount | The number of entities in chunk. |
Entity* | remapSrc | The remap source array. |
Entity* | remapDst | The remap target array. |
int | remappingCount | The size of the remap arrays. |