Requesting ManiaLive documentation for Player properties
Moderator: NADEO
-
- Posts: 80
- Joined: 16 Jul 2012, 16:50
- Manialink: dragon
Requesting ManiaLive documentation for Player properties
I need some documentation for the properties in the DedicatedApi\Structures\Player structure. I don't know what some of the properties represent, and I'm working on a plugin that will make heavy use of the structure.
-
- Nadeo
- Posts: 585
- Joined: 14 Jun 2010, 16:15
- Manialink: maniahome
- Location: In front of your hood with one lap late
Re: Requesting ManiaLive documentation for Player properties
Can you give us the name of the property you don't understand ?
Also known as: satanasdiabolo
-
- Posts: 80
- Joined: 16 Jul 2012, 16:50
- Manialink: dragon
Re: Requesting ManiaLive documentation for Player properties
I can give some examples, but I'd prefer a data type and some short documentation for each of the properties. I don't know what $playerId, $teamId, $path, or $ladderStats are for. Also, does $ladderRanking give the player's worldwide ladder ranking, or the continent-wide ladder ranking? Is $ladderScore an int or a float? What data type is $bestTime, and is it the player's best time during the current challenge, or the player's best time across every challenge for the current map? Is it affected by a server restart or a ManiaLive restart?farfa wrote:Can you give us the name of the property you don't understand ?
Right now I'm working on a plugin that can replace "magic words" in other plugins' config options with dynamic data, and I'd like it to use as much data as I can gather so the plugin would be more useful for other plugin developers, instead of it just being used by my plugins. I could probably figure out most of the Player properties with some var_dump() testing, but I'd rather not waste hours reverse engineering the Player structure.
Who is online
Users browsing this forum: No registered users and 0 guests