AS3 Code:
- Code: Select all
multiplayer.createJoinRoom("main", "Stocks", true, null, {username:"piman314"}, OnJoin, OnJoinError);
C# Code
- Code: Select all
[DebugAction("JoinData", DebugAction.Icon.Smiley)]
public void OutputPlayers()
{
foreach (Player p in Players)
{
Console.WriteLine(p.JoinData.Count.ToString());
foreach (KeyValuePair<string, string> kvp in p.JoinData)
{
Console.WriteLine(kvp.Key + ":" + kvp.Value);
}
}
}
When I press the JoinData button on the development server, the only thing outputted is "0", so there is no data in player.JoinData.