Just a quick question; I remember there being some documentation on how Epic prefers to name its different kinds of RPCs, but I can’t for the life of me find it again. Does anyone have a link?
Thanks!
Just a quick question; I remember there being some documentation on how Epic prefers to name its different kinds of RPCs, but I can’t for the life of me find it again. Does anyone have a link?
Thanks!
They just prefix the function names with what type of RPC it is:
Client - ‘ClientMyFunction’
Server - ‘ServerMyFunction’
Multicast - ‘MultiMyFunction’
With the relevant _Implementation and _Validate suffixes of course
Oh also forgot, they use OnRep_MyFunction for functions called via variable replication:
UPROPERTY(ReplicatedUsing = OnRep_MyVariable)
var MyVariable;
UFUNCTION()
OnRep_MyVariable()
I was looking for this info too
I’ve just found this link after this topic, so here is it