[Suggestion] Rankings class Title should also support envir

Maniaplanet public API, ManiaConnect system and the open source PHP SDK.

Moderator: NADEO

Post Reply
User avatar
Electron
Posts: 797
Joined: 15 Jun 2010, 18:02
Contact:

[Suggestion] Rankings class Title should also support envir

Post by Electron »

It looks like the Rankings class \Maniaplanet\WebServices\Rankings\Title supports only custom made titles. But it were very forward if this class also support the environment strings TMCanyon, SMStorm and future collections.

This will allow us today to write code that also works in the future. We only have to add another environment or title string.

The classes Canyon and Storm could be build as a wrapper around the Title class for backward compatibility.
You of cause are free to extend the SDK every time a new environment comes out. ;)
User avatar
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: [Suggestion] Rankings class Title should also support en

Post by magnetik »

It's planned to add this.
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
Post Reply

Return to “Maniaplanet Web Services”

Who is online

Users browsing this forum: No registered users and 1 guest