BA_RepArrayReplicationInfo_AuthorativeFunctions
--- sidebar_position: 0 sidebar_label: Authorative Functions title: BA Replication Array - Replication Info Actor - Authorative Functions slug: ReplicationInfoActor_AuthorativeFunctions authors: name: devbastian title: Owner url: https://github.com/DeveloperBastian image_url: /img/developer-bastian-blogimage.jpg tags: [Marketplace,Unreal Epics,Plugins] description: BA Replication Array - Actor Component - Authorative Functions keywords:
- Unreal Engine
- Marketplace
- Developer Bastian
- Inventory
- Replication
- TArray
- FFastArraySerializerItem
- FFastArraySerializer
- Authorative Functions last_update: date: 6/4/2024 author: devbastian image: http://cdn.developerbastian.tech/img/developer-bastian.jpg
BA Replication Array - Replication Info Actor - Authorative Functions
All functions shown here are demonstrated in the 'BP_ThirdPersonCharacter_Rep' class.
Authorative Functions
Add Object
The Object(s) will be added to the Replication Array and its Instance Guid and Instance Identifier (2 adjectives and one name) will be returned.
- UChannel::SendBunch - 'Attempted to send bunch exceeding max allowed size. BunchSize=%d, MaximumSize=%d Channel: %s'
- The maximum size allowed is defined in 'NetMaxConstructedPartialBunchSizeBytes' and is set as default to 65536 Byte
Clear Array
Remove Entry
This object is called an 'Entry' and adds some more functionality (Guid, Identifier, Sort Index) to the Object added.
Here we first get a random Entry from the Replication Array, then remove that entry using its Instance Guid. The Remove function will return the entry removed - this needs to be cast to its regarding class.
Access
- Source code https://github.com/DeveloperBastian/BA_ReplicationArray
- a video tutorial https://youtu.be/rrGx6bwwM6U (german version)