How to call C++ function after replication is finished
I have some updating issue for a widget. Replication comes slower than updating.
Use() function should work on the server side only.
ClientUpdateInventoryWidget() function is used for updating an inventory widget.
And the same logic chain in the controller cpp
"Use" function adds an item to the inventory on the server side. Inventory is a container with replication (another cpp file). Unfortunately updating of widget on the client side comes faster than replication of Inventory from server to client.
How the updating function can be sure that the replication in the Inventory container is finished.
Time delay is not an answer. Every tick updating is not stylish.
Thanks in advance!
asked Sep 20 '17 at 02:56 AM in C++ Programming
The answer is very very simple
Follow this question
Once you sign in you will be able to subscribe for any updates here