FLimenReplicationUtils
Overview
FLimenReplicationUtils provides utility functions to determine whether a function call should be made on the client side or if it should be replicated to the server. This is particularly useful for managing network operations efficiently, ensuring that only necessary RPCs are called based on the current network mode of the actor or component.
Properties
Type | Name | Access | Description |
|---|---|---|---|
None | None | None | No significant properties are defined in this class. |
Functions
Return Type | Signature | Description |
|---|---|---|
bool |
| Determines if an RPC should be called for a given object. Returns |
bool |
| Determines if network prediction should be performed for a given actor. Returns |
Usage & Implementation Notes
The macros
SHOULD_PREDICT_NETWORK_EVENTandSHOULD_PREDICT_NETWORK_EVENT_COMPare currently marked as "DELETE ME" and should not be used.The macro
NETWORK_PREDICTIONis a utility for executing a function on the client side and calling an RPC on the server side if the current network mode is client.