1
TNet 3 Support / SetChannelData
« on: January 08, 2018, 05:56:50 AM »
any chance of allowing the entire channel DataNode to be set at once? rather than multiple single calls?
- //
- //this does not work - but should (it works for playerdata)
- //
- data.SetChild("type", MSTORM_ChannelType.Guild);
- data.SetChild("start", GAME.ServerTime);
- data.SetChild("founder", TNManager.playerName);
- data.SetChild("is_private", true);
- data.SetChild("invited", "");
- data.SetChild("name", "Guild");
- TNManager.SetChannelData(channelID, "", data);
- //line #1541 of TNGameClient.cs
- if (ch != null && !string.IsNullOrEmpty(path))