Type.registerNamespace('MasterControls.Poker.Lobby');
MasterControls.Poker.Lobby.PokerLobby=function() {
MasterControls.Poker.Lobby.PokerLobby.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MasterControls.Poker.Lobby.PokerLobby.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MasterControls.Poker.Lobby.PokerLobby._staticInstance.get_path();},
GetRenderedLobby:function(filter,renderType,CurrentRoom,Startpage,PagesShown,ItemsPerPage,PageIndex,XslFile,succeededCallback, failedCallback, userContext) {
/// <param name="filter" type="String">System.String</param>
/// <param name="renderType" type="String">System.String</param>
/// <param name="CurrentRoom" type="String">System.String</param>
/// <param name="Startpage" type="Number">System.Int16</param>
/// <param name="PagesShown" type="Number">System.Int16</param>
/// <param name="ItemsPerPage" type="Number">System.Int16</param>
/// <param name="PageIndex" type="Number">System.Int16</param>
/// <param name="XslFile" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetRenderedLobby',false,{filter:filter,renderType:renderType,CurrentRoom:CurrentRoom,Startpage:Startpage,PagesShown:PagesShown,ItemsPerPage:ItemsPerPage,PageIndex:PageIndex,XslFile:XslFile},succeededCallback,failedCallback,userContext); },
GetDelimitedLobby:function(filter,sort,pageSize,pageIndex,succeededCallback, failedCallback, userContext) {
/// <param name="filter" type="String">System.String</param>
/// <param name="sort" type="String">System.String</param>
/// <param name="pageSize" type="Number">System.Int16</param>
/// <param name="pageIndex" type="Number">System.Int16</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetDelimitedLobby',false,{filter:filter,sort:sort,pageSize:pageSize,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetRenderedTableDetails:function(tableName,withPlayerList,renderType,succeededCallback, failedCallback, userContext) {
/// <param name="tableName" type="String">System.String</param>
/// <param name="withPlayerList" type="Boolean">System.Boolean</param>
/// <param name="renderType" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetRenderedTableDetails',false,{tableName:tableName,withPlayerList:withPlayerList,renderType:renderType},succeededCallback,failedCallback,userContext); },
GetDelimitedTableDetails:function(tableName,withPlayerList,succeededCallback, failedCallback, userContext) {
/// <param name="tableName" type="String">System.String</param>
/// <param name="withPlayerList" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetDelimitedTableDetails',false,{tableName:tableName,withPlayerList:withPlayerList},succeededCallback,failedCallback,userContext); }}
MasterControls.Poker.Lobby.PokerLobby.registerClass('MasterControls.Poker.Lobby.PokerLobby',Sys.Net.WebServiceProxy);
MasterControls.Poker.Lobby.PokerLobby._staticInstance = new MasterControls.Poker.Lobby.PokerLobby();
MasterControls.Poker.Lobby.PokerLobby.set_path = function(value) {
MasterControls.Poker.Lobby.PokerLobby._staticInstance.set_path(value); }
MasterControls.Poker.Lobby.PokerLobby.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MasterControls.Poker.Lobby.PokerLobby._staticInstance.get_path();}
MasterControls.Poker.Lobby.PokerLobby.set_timeout = function(value) {
MasterControls.Poker.Lobby.PokerLobby._staticInstance.set_timeout(value); }
MasterControls.Poker.Lobby.PokerLobby.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MasterControls.Poker.Lobby.PokerLobby._staticInstance.get_timeout(); }
MasterControls.Poker.Lobby.PokerLobby.set_defaultUserContext = function(value) { 
MasterControls.Poker.Lobby.PokerLobby._staticInstance.set_defaultUserContext(value); }
MasterControls.Poker.Lobby.PokerLobby.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MasterControls.Poker.Lobby.PokerLobby._staticInstance.get_defaultUserContext(); }
MasterControls.Poker.Lobby.PokerLobby.set_defaultSucceededCallback = function(value) { 
 MasterControls.Poker.Lobby.PokerLobby._staticInstance.set_defaultSucceededCallback(value); }
MasterControls.Poker.Lobby.PokerLobby.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MasterControls.Poker.Lobby.PokerLobby._staticInstance.get_defaultSucceededCallback(); }
MasterControls.Poker.Lobby.PokerLobby.set_defaultFailedCallback = function(value) { 
MasterControls.Poker.Lobby.PokerLobby._staticInstance.set_defaultFailedCallback(value); }
MasterControls.Poker.Lobby.PokerLobby.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MasterControls.Poker.Lobby.PokerLobby._staticInstance.get_defaultFailedCallback(); }
MasterControls.Poker.Lobby.PokerLobby.set_path("/services/Poker/lobby/PokerLobby.asmx");
MasterControls.Poker.Lobby.PokerLobby.GetRenderedLobby= function(filter,renderType,CurrentRoom,Startpage,PagesShown,ItemsPerPage,PageIndex,XslFile,onSuccess,onFailed,userContext) {
/// <param name="filter" type="String">System.String</param>
/// <param name="renderType" type="String">System.String</param>
/// <param name="CurrentRoom" type="String">System.String</param>
/// <param name="Startpage" type="Number">System.Int16</param>
/// <param name="PagesShown" type="Number">System.Int16</param>
/// <param name="ItemsPerPage" type="Number">System.Int16</param>
/// <param name="PageIndex" type="Number">System.Int16</param>
/// <param name="XslFile" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MasterControls.Poker.Lobby.PokerLobby._staticInstance.GetRenderedLobby(filter,renderType,CurrentRoom,Startpage,PagesShown,ItemsPerPage,PageIndex,XslFile,onSuccess,onFailed,userContext); }
MasterControls.Poker.Lobby.PokerLobby.GetDelimitedLobby= function(filter,sort,pageSize,pageIndex,onSuccess,onFailed,userContext) {
/// <param name="filter" type="String">System.String</param>
/// <param name="sort" type="String">System.String</param>
/// <param name="pageSize" type="Number">System.Int16</param>
/// <param name="pageIndex" type="Number">System.Int16</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MasterControls.Poker.Lobby.PokerLobby._staticInstance.GetDelimitedLobby(filter,sort,pageSize,pageIndex,onSuccess,onFailed,userContext); }
MasterControls.Poker.Lobby.PokerLobby.GetRenderedTableDetails= function(tableName,withPlayerList,renderType,onSuccess,onFailed,userContext) {
/// <param name="tableName" type="String">System.String</param>
/// <param name="withPlayerList" type="Boolean">System.Boolean</param>
/// <param name="renderType" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MasterControls.Poker.Lobby.PokerLobby._staticInstance.GetRenderedTableDetails(tableName,withPlayerList,renderType,onSuccess,onFailed,userContext); }
MasterControls.Poker.Lobby.PokerLobby.GetDelimitedTableDetails= function(tableName,withPlayerList,onSuccess,onFailed,userContext) {
/// <param name="tableName" type="String">System.String</param>
/// <param name="withPlayerList" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MasterControls.Poker.Lobby.PokerLobby._staticInstance.GetDelimitedTableDetails(tableName,withPlayerList,onSuccess,onFailed,userContext); }
