Skip to main content

Replication

In the Details Panel, you can choose a Replication Mode for your Stat.

There are three keywords that you can use:

  • Full: This Stat is fully replicated. If it is a Complex Stat, the Value Sets Manager values are also replicated.
  • Partial: This Stat is partially replicated. If it is a Complex Stat, the Value Sets Manager values are not replicated, so you won't have access to Value Sets, Value Types or ID Values. However, you still have access to the Final, Integer, Alternative Values, etc.
  • None: This Stat is not replicated.
info

Right now, the Replication Mode "Partial" only concerns the Value Sets Manager (Complex Stats), so it has no effect on Progress Stats (it has the same effect as "Full").

For each Replication Mode, we can see that there are two keywords. The first one concerns the Owning Client and the second one other Clients.

Example

With "Full | Partial", the Stat will be fully replicated to the Client that owns the Pawn that owns this Stat. From other Clients however, if it's a Complex Stat, they won't have access to the Value Sets Manager (Value Sets, Value Types, ID Values).

In cases where the Owner is the Server (the Character of a Listener Server or NPCs), only the second keyword is relevant (the server always has access to the full informations).

In Practice

This system aims to limit the amount of data sent over the network.
You can always keep it at the default "Full | Full" and see later on if there are some informations that you don't need.

Example

Should I really have access to the Strength "Equipment" value of this NPC? If the answer is no, the second keyword should be "Partial".
Do I, at all, need to know the amount of Attribute Points of this other Player? If the answer is no, the second keyword should be "None".

note

Even in a "Full" Replication Mode, the system is designed so that the Value Sets Manager UObject itself isn't replicated, but only its values.