REFERENCEOBJECTS
UCISReplicatedObject
The base class of the Actions and move handlers of an interaction object. It holds the instancing policy, the net execution policy and the context of the current use. It takes part in the networking of the use when bWithReplication is on.
Functions
The policy a use applies: Default resolved by the class (C++ -> SharedPerObject, Blueprint -> InstancedPerExecution), then SharedPerObject when the class has its own RPCs or replicated properties (CIS::Migration::ClassHasCustomNetFields). Never Default.
bWithReplication (read by the migration).
The use this object runs for (UCISUseExecution sets it when the use starts). The object set on the interaction object (SharedPerObject) gets a default context again when the use ends; a per-execution instance keeps its context.
- Category
- CIS|Execution
The use runs on the server or in a standalone game (GetExecutionContext().bIsServer).
- Category
- CIS|Execution
The use runs on the user's machine ahead of the server: a client that started it (bIsOwner and not bIsServer).
- Category
- CIS|Execution
This machine only shows the use of another player (GetExecutionContext().bIsSimulated).
- Category
- CIS|Execution
The server rejected the use, which ends as interrupted (GetExecutionContext().bRejectedByServer).
- Category
- CIS|Execution
Sets the context returned by GetExecutionContext (UCISUseExecution; a default context means that no use runs this object).
For a per-execution instance (InstancedPerExecution), the object set on the interaction object that it was copied from; null once that object is gone. For every other object, the object itself.
True for a copy that UCISUseExecution made for one use (InstancedPerExecution).
UCISUseExecution: marks this object as the per-execution instance of Template.
Properties
How a use runs this object (see ECISInstancingPolicy). Default: SharedPerObject for a C++ class, InstancedPerExecution for a Blueprint class. Content saved before 2.0 loads with SharedPerObject, or with the value of its Blueprint archetype saved by 2.0.
- Default
- ECISInstancingPolicy::Default
- Category
- Execution
Where this object runs during a use (see ECISNetExecutionPolicy). Content saved before 2.0 loads with AllMachines, or LocalOnly when bWithReplication is off, or with the value of its Blueprint archetype saved by 2.0.
- Default
- ECISNetExecutionPolicy::AllMachines
- Category
- Execution
Whether the object's own RPCs and replicated properties work over the network. When off, they run on the local machine only. The default is on.
- Default
- true
- Category
- Replication