when should i use GetLifeTimeReplicatedProps?
When should i use GetLifeTimeReplicatedProps? Doesn't the properties get replicated when i use UPROPERTY(Replicate)? Does the server only run the event?
asked Mar 15 '19 at 10:26 AM in C++ Programming
You need to use GetLifeTimeReplicatedProps and use a variant of the DOREPLIFETIME macro while setting the UPROPERTY(replicate).
Yes? Clients can't replicate anything the server is in charge of setting things up for the clients to receive. Many things are setup at compile time as far as I know though.
Follow this question
Once you sign in you will be able to subscribe for any updates here