Skip to content

Server Data & Logging

mika edited this page Dec 22, 2017 · 1 revision

Server Data & Logging

  • 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
Clone this wiki locally