Limen Framework 0.1 Help

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

ShouldCallRPC(T* InObject)

Determines if an RPC should be called for a given object. Returns true if the object's owner is in client mode, otherwise returns false.

bool

ShouldPerformNetworkPrediction(const AActor* InActor)

Determines if network prediction should be performed for a given actor. Returns true if the actor is in client mode, otherwise returns false.

Usage & Implementation Notes

  • The macros SHOULD_PREDICT_NETWORK_EVENT and SHOULD_PREDICT_NETWORK_EVENT_COMP are currently marked as "DELETE ME" and should not be used.

  • The macro NETWORK_PREDICTION is 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.

22 May 2026