Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Windows Phone Platform Driver for Mogade
C#
branch: master

This branch is 46 commits behind mogade:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Mogade.WindowsPhone
references
.gitignore
Mogade.WindowsPhone.sln
README.textile
license.txt

README.textile

Mogade For Windows Phone

Mogade is a free service web-based service which allows game developers to quickly enchance their games with auxiliary functionality (such as leaderboards).

This is the official Windows Phone library. The library wraps the core .NET driver. It is currently a very thin wrapper, but we do plan on adding features.

Other Libraries

For a list of other libraries, please visit http://mogade.com/manage/libraries

Support

The http://groups.google.com/group/mogadedev google group is the best place for developers, either of games or libraries, to visit.

Usage

The library should be straightforward to most .NET developers. The main entry point is the MogadeClient class (which implements IMogadeClient for you DI junkies).

You instantiate MogadeClient via the static Initialize method, supplying your game key and game secret (available from the details view of your game on the mogade.com website):

var mogade = MogadeClient.Initialize(“myGameKey”, “shhhMySecret”);

Once created, its generally a good idea to call update – which’ll download any changes made to your game’s confirmation and store it in a file called mogade.dat. Once completed, you can use the various methods to interact with the mogade service. Note that all methods fire asynchronously, and thus return void and require a callback method:

mogade.GetLeaderboard(“leaderboardId”, LeaderboardScope.Daily, page, leaderboard => { //do something with the leaderboard});

API Overview

Mogade is based around a RESTish API, accepting and returning JSON messages.

A full API overview can be read here http://mogade.com/manage/api

Something went wrong with that request. Please try again.