changedVars is not List<string>

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

Nexic
Posts: 31
Joined: 26 Jun 2008, 12:23

changedVars is not List<string>

Postby Nexic » 24 Aug 2017, 20:14

Just wanted to let you know that I've noticed a small mistake in your C# docs:
http://docs2x.smartfoxserver.com/api-do ... a996a0.htm

It says that event.params["changedVars"] is a List<string> when it's actually an ArrayList, and won't cast with normal unboxing.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: changedVars is not List<string>

Postby Bax » 25 Aug 2017, 08:11

Thank you for reporting. We will fix this in the next release, probably returning a List instead of an ArrayList, just like for any other event or method returning a list of objects.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 24 guests