CBlob::Sync

From King Arthur's Gold Wiki
Revision as of 15:46, 31 January 2016 by Vermilicious (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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