1
TNet 3 Support / Re: SetPlayerSave callback
« on: January 04, 2018, 09:41:02 AM »
I came across this issue in my project.... I ended up use 'if' conditions like so -
- private void OnSetPlayerData(Player p, string path, DataNode node)
- {
- if (mycondition1)
- {
- //do stuff
- }
- if (mycondition2)
- {
- //do stuff
- }
- if (mycondition3)
- {
- //do stuff
- }