-
Notifications
You must be signed in to change notification settings - Fork 2
Server Data & Logging
mika edited this page Dec 22, 2017
·
1 revision
- void ServerLog(string msg)
- sends data to logging server, commandserver appends unique user id to the message
- void SetData(string key, string data)
- sends data to server persistent dictionary
- internally dictionary key is prefixed with classid, to keep data within class: realkey=classid+key
- void GetData(string key, string luaCallBack = "")
- gets data from server persistent dictionary
- if luaCallBack function name is defined, its called after client receives data
- internally dictionary key is prefixed with classid, to keep data within class: realkey=classid+key