Overview
The Madder Player class is sent to the Unity game from the Madder server to register a Madder controller with the game in the Madder Manager’sRegisterMadderController
method.
The Madder Player class is also used to update the player’s account with stats.
This class contains the player’s gamername and a dictionary of MadderStat objects.
In the MadderStat dictionary, the key is the name of the stat, and the value is the stat object.
MadderPlayer.cs
Usage
The Madder Manager does not keep a list ofMadderPlayer
objects that have joined the game.
To update a player’s stats, you will need to call the Madder Messager’s
UpdateMadderPlayerStats
method.