CBlob::Sync

From King Arthur's Gold Wiki
Jump to: navigation, search

Synchronizes a property value over the network.


Call this method to synchronize a value stored with one of the set functions. The value is only synchronized once when called. No actual synchronization will take place over the network if the value has not changed since the last time it was synchronized.

This can be called both by a server and by a client, as suggested by the second parameter.

void Sync(const string &in name, bool onlyServer)

Object method of: CBlob