/**
 * Gbanga Puppet Master API 1.103.9
 * assembly: com.gbanga.backend.api.APIImpl@1dda2a24
 * server time: Tue Sep 07 20:23:29 UTC 2010
 * automatically generated on Tue Sep 07 20:23:29 UTC 2010
 * 
 * (C) 2007-2009 Copyright Millform AG, Switzerland. http://gbanga.com/
 * 
 * Please consult documentation on the Gbanga Puppet Master Wiki at http://gbanga.com/api/
 */
GbangaAPI = {

	version: 1,
	/**
	 * The URL path to the api (without domain)
	 */
	location: "/api/",
	channel: "updates",
	/**
	 * The handler if the API call was successful.
	 */
	onSuccess: null,
	/**
	 * The handler if the API call failed.
	 */
	onFailed: null,
	/**
	 * The handler when the API call has completed.
	 */
	onComplete: null,


register: function(String0, String1, String2, String3, String4, String5, String6, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "register", p0: String0, p1: String1, p2: String2, p3: String3, p4: String4, p5: String5, p6: String6}), onSuccess: s, onFailed: f, onComplete: c });
	},

clear: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "clear", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

notify: function(String0, String1, String2, String3, long4, boolean5, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "notify", p0: String0, p1: String1, p2: String2, p3: String3, p4: long4, p5: boolean5}), onSuccess: s, onFailed: f, onComplete: c });
	},

getResource: function(long0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getResource", p0: long0}), onSuccess: s, onFailed: f, onComplete: c });
	},

resume: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "resume", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

stop: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "stop", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

setMemory: function(String0, String1, String2, String3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "setMemory", p0: String0, p1: String1, p2: String2, p3: String3}), onSuccess: s, onFailed: f, onComplete: c });
	},

accept: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "accept", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

getVersion: function(s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getVersion"}), onSuccess: s, onFailed: f, onComplete: c });
	},

isAvailable: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "isAvailable", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

logout: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "logout", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

free: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "free", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

broadcast: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "broadcast", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

abort: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "abort", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

dispose: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "dispose", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

build: function(String0, long1, long2, String3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "build", p0: String0, p1: long1, p2: long2, p3: String3}), onSuccess: s, onFailed: f, onComplete: c });
	},

decorate: function(String0, long1, intArray2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

login: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "login", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

getCell: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getCell", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getRandomCell: function(float0, float1, float2, float3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getRandomCell", p0: float0, p1: float1, p2: float2, p3: float3}), onSuccess: s, onFailed: f, onComplete: c });
	},

getCellNames: function(float0, float1, float2, float3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getCellNames", p0: float0, p1: float1, p2: float2, p3: float3}), onSuccess: s, onFailed: f, onComplete: c });
	},

getNumCells: function(float0, float1, float2, float3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getNumCells", p0: float0, p1: float1, p2: float2, p3: float3}), onSuccess: s, onFailed: f, onComplete: c });
	},

getGbangoo: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getGbangoo", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

getGbangooById: function(long0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getGbangooById", p0: long0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getInfrastructure: function(long0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getInfrastructure", p0: long0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getPlayer: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getPlayer", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getTag: function(long0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getTag", p0: long0}), onSuccess: s, onFailed: f, onComplete: c });
	},

jump: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "jump", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

challenge: function(String0, long1, long2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "challenge", p0: String0, p1: long1, p2: long2}), onSuccess: s, onFailed: f, onComplete: c });
	},

playCard: function(String0, long1, long2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "playCard", p0: String0, p1: long1, p2: long2}), onSuccess: s, onFailed: f, onComplete: c });
	},

prepareOffer: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "prepareOffer", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

addToOffer: function(String0, long1, long2, long3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "addToOffer", p0: String0, p1: long1, p2: long2, p3: long3}), onSuccess: s, onFailed: f, onComplete: c });
	},

postOffer: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "postOffer", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

mine: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "mine", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

beamGbangoo: function(String0, long1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "beamGbangoo", p0: String0, p1: long1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

beamResource: function(String0, long1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "beamResource", p0: String0, p1: long1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

beamInfrastructure: function(String0, long1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "beamInfrastructure", p0: String0, p1: long1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

renameCell: function(String0, long1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "renameCell", p0: String0, p1: long1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

rateCell: function(String0, long1, byte2, String3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "rateCell", p0: String0, p1: long1, p2: byte2, p3: String3}), onSuccess: s, onFailed: f, onComplete: c });
	},

locate: function(String0, float1, float2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "locate", p0: String0, p1: float1, p2: float2}), onSuccess: s, onFailed: f, onComplete: c });
	},

offerFriendship: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "offerFriendship", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

acceptFriendship: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "acceptFriendship", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

forceFriendship: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "forceFriendship", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

reportPlayer: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "reportPlayer", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

adjustInterests: function(String0, boolean1, boolean2, boolean3, boolean4, boolean5, boolean6, boolean7, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "adjustInterests", p0: String0, p1: boolean1, p2: boolean2, p3: boolean3, p4: boolean4, p5: boolean5, p6: boolean6, p7: boolean7}), onSuccess: s, onFailed: f, onComplete: c });
	},

changeSettings: function(String0, boolean1, boolean2, boolean3, boolean4, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "changeSettings", p0: String0, p1: boolean1, p2: boolean2, p3: boolean3, p4: boolean4}), onSuccess: s, onFailed: f, onComplete: c });
	},

breakWith: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "breakWith", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

piece: function(String0, long1, long2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "piece", p0: String0, p1: long1, p2: long2}), onSuccess: s, onFailed: f, onComplete: c });
	},

getPocket: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getPocket", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getPocketOf: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getPocketOf", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

pick: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "pick", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

chuckAway: function(String0, int1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "chuckAway", p0: String0, p1: int1}), onSuccess: s, onFailed: f, onComplete: c });
	},

getNewcomers: function(s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getNewcomers"}), onSuccess: s, onFailed: f, onComplete: c });
	},

getNewcomers: function(int0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getNewcomers", p0: int0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getFeaturedStories: function(s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getFeaturedStories"}), onSuccess: s, onFailed: f, onComplete: c });
	},

getFeaturedStories: function(int0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getFeaturedStories", p0: int0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getMostPopular: function(s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getMostPopular"}), onSuccess: s, onFailed: f, onComplete: c });
	},

getMostPopular: function(int0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getMostPopular", p0: int0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getMapTile: function(float0, float1, float2, float3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getMapTile", p0: float0, p1: float1, p2: float2, p3: float3}), onSuccess: s, onFailed: f, onComplete: c });
	},

getPlayersIn: function(float0, float1, float2, float3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getPlayersIn", p0: float0, p1: float1, p2: float2, p3: float3}), onSuccess: s, onFailed: f, onComplete: c });
	},

getPlayersIn: function(String0, float1, float2, float3, float4, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getPlayersIn", p0: String0, p1: float1, p2: float2, p3: float3, p4: float4}), onSuccess: s, onFailed: f, onComplete: c });
	},

findOnMap: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "findOnMap", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

whereAmI: function(s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "whereAmI"}), onSuccess: s, onFailed: f, onComplete: c });
	},

getHighscore: function(int0, int1, byte2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getHighscore", p0: int0, p1: int1, p2: byte2}), onSuccess: s, onFailed: f, onComplete: c });
	},

getPromotion: function(s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getPromotion"}), onSuccess: s, onFailed: f, onComplete: c });
	},

getGlobalEvents: function(s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getGlobalEvents"}), onSuccess: s, onFailed: f, onComplete: c });
	},

getGlobalEvents: function(int0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getGlobalEvents", p0: int0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getYourEvents: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getYourEvents", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getYourEvents: function(String0, int1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getYourEvents", p0: String0, p1: int1}), onSuccess: s, onFailed: f, onComplete: c });
	},

getEventsAt: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getEventsAt", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getEventsAt: function(String0, int1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getEventsAt", p0: String0, p1: int1}), onSuccess: s, onFailed: f, onComplete: c });
	},

getFriends: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getFriends", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getUnreadMessages: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getUnreadMessages", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getAllMessages: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getAllMessages", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

shout: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "shout", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

mail: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "mail", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

rateTag: function(String0, long1, byte2, String3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "rateTag", p0: String0, p1: long1, p2: byte2, p3: String3}), onSuccess: s, onFailed: f, onComplete: c });
	},

updateProfile: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "updateProfile", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

move: function(String0, long1, long2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "move", p0: String0, p1: long1, p2: long2}), onSuccess: s, onFailed: f, onComplete: c });
	},

speak: function(String0, long1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "speak", p0: String0, p1: long1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

speakTo: function(String0, long1, String2, String3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "speakTo", p0: String0, p1: long1, p2: String2, p3: String3}), onSuccess: s, onFailed: f, onComplete: c });
	},

removeMemory: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "removeMemory", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

getMemory: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getMemory", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

give: function(String0, String1, long2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "give", p0: String0, p1: String1, p2: long2}), onSuccess: s, onFailed: f, onComplete: c });
	},

createGbangoo: function(String0, long1, String2, long3, long4, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "createGbangoo", p0: String0, p1: long1, p2: String2, p3: long3, p4: long4}), onSuccess: s, onFailed: f, onComplete: c });
	},

createGbangooType: function(String0, InputStream1, String2, String3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

updateGbangooType: function(String0, long1, InputStream2, String3, String4, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

createInfrastructure: function(String0, long1, String2, long3, long4, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "createInfrastructure", p0: String0, p1: long1, p2: String2, p3: long3, p4: long4}), onSuccess: s, onFailed: f, onComplete: c });
	},

createInfrastructureType: function(String0, InputStream1, String2, String3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

updateInfrastructureType: function(String0, long1, InputStream2, String3, String4, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

createTag: function(String0, long1, long2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "createTag", p0: String0, p1: long1, p2: long2}), onSuccess: s, onFailed: f, onComplete: c });
	},

createGube: function(String0, long1, int2, int3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "createGube", p0: String0, p1: long1, p2: int2, p3: int3}), onSuccess: s, onFailed: f, onComplete: c });
	},

createResource: function(String0, long1, short2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "createResource", p0: String0, p1: long1, p2: short2}), onSuccess: s, onFailed: f, onComplete: c });
	},

createResourceType: function(String0, String1, InputStream2, String3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

updateResourceType: function(String0, long1, String2, InputStream3, String4, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

createAvatar: function(String0, InputStream1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

createDescription: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "createDescription", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

reportBug: function(String0, String1, int2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "reportBug", p0: String0, p1: String1, p2: int2}), onSuccess: s, onFailed: f, onComplete: c });
	},

invite: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "invite", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

requestDownloadSMS: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "requestDownloadSMS", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

requestDownloadSMSByHeader: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "requestDownloadSMSByHeader", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

requestDownloadSMSBySessionKey: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "requestDownloadSMSBySessionKey", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getDownloadLink: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getDownloadLink", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

updateProfileImage: function(String0, InputStream1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

remindPassword: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "remindPassword", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

updateStatus: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "updateStatus", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

isEmailAvailable: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "isEmailAvailable", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

isPhoneAvailable: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "isPhoneAvailable", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

isTimedOut: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "isTimedOut", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

getConversationWithPlayer: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getConversationWithPlayer", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

getConversationWithGbangoo: function(String0, long1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getConversationWithGbangoo", p0: String0, p1: long1}), onSuccess: s, onFailed: f, onComplete: c });
	},

submitStatistics: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "submitStatistics", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

subscribeToWebHook: function(String0, int1, String2, String3, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "subscribeToWebHook", p0: String0, p1: int1, p2: String2, p3: String3}), onSuccess: s, onFailed: f, onComplete: c });
	},

unsubscribeFromWebHook: function(String0, String1, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "unsubscribeFromWebHook", p0: String0, p1: String1}), onSuccess: s, onFailed: f, onComplete: c });
	},

getWebHookSubscriptions: function(String0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "getWebHookSubscriptions", p0: String0}), onSuccess: s, onFailed: f, onComplete: c });
	},

updateAvatar: function(String0, long1, InputStream2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };

		// This method contains an input stream parameter which has to be submitted
		// with EncodingType "multipart/form-data". 
		// Please check the Gbanga Puppetmaster wiki for more details how to do this.
		debugger;
	},

setTradable: function(String0, long1, boolean2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "setTradable", p0: String0, p1: long1, p2: boolean2}), onSuccess: s, onFailed: f, onComplete: c });
	},

isTradable: function(long0, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "isTradable", p0: long0}), onSuccess: s, onFailed: f, onComplete: c });
	},

updateDescription: function(String0, long1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "updateDescription", p0: String0, p1: long1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

playSound: function(String0, String1, long2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "playSound", p0: String0, p1: String1, p2: long2}), onSuccess: s, onFailed: f, onComplete: c });
	},

showTicker: function(String0, String1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "showTicker", p0: String0, p1: String1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

setCode: function(String0, long1, String2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "setCode", p0: String0, p1: long1, p2: String2}), onSuccess: s, onFailed: f, onComplete: c });
	},

reward: function(String0, String1, int2, s, f, c) {
		if (typeof(s) != 'function') { s = this.onSuccess; };
		if (typeof(f) != 'function') { f = this.onFailed; };
		if (typeof(c) != 'function') { c = this.onComplete; };
		var request = new Ajax.Request( this.location, { parameters: $H({m: "reward", p0: String0, p1: String1, p2: int2}), onSuccess: s, onFailed: f, onComplete: c });
	}

}; // end of GbangaAPI

