if(typeof GeCommunity == "undefined") GeCommunity={};
if(typeof GeCommunity.Server == "undefined") GeCommunity.Server={};
GeCommunity.Server_class = function() {};
Object.extend(GeCommunity.Server_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	DelFriend: function(userId, friendId, status) {
		return this.invoke("DelFriend", {"userId":userId, "friendId":friendId, "status":status}, this.DelFriend.getArguments().slice(3));
	},
	DelEnemy: function(userId, enemyId) {
		return this.invoke("DelEnemy", {"userId":userId, "enemyId":enemyId}, this.DelEnemy.getArguments().slice(2));
	},
	AddFriend: function(userId, otherUserId) {
		return this.invoke("AddFriend", {"userId":userId, "otherUserId":otherUserId}, this.AddFriend.getArguments().slice(2));
	},
	AddEnemy: function(userId, otherUserId) {
		return this.invoke("AddEnemy", {"userId":userId, "otherUserId":otherUserId}, this.AddEnemy.getArguments().slice(2));
	},
	LoadMessage: function(serverId) {
		return this.invoke("LoadMessage", {"serverId":serverId}, this.LoadMessage.getArguments().slice(1));
	},
	PublishGameMessage: function(userId, groupId, selectedServerId, selectedGroupId, familyName, comment) {
		return this.invoke("PublishGameMessage", {"userId":userId, "groupId":groupId, "selectedServerId":selectedServerId, "selectedGroupId":selectedGroupId, "familyName":familyName, "comment":comment}, this.PublishGameMessage.getArguments().slice(6));
	},
	OnCloseIE: function() {
		return this.invoke("OnCloseIE", {}, this.OnCloseIE.getArguments().slice(0));
	},
	GetUserByFamilyName: function(familyName) {
		return this.invoke("GetUserByFamilyName", {"familyName":familyName}, this.GetUserByFamilyName.getArguments().slice(1));
	},
	url: '/ajaxpro/GeCommunity.Web.GateWay,GeCommunity.Web.ashx'
}));
GeCommunity.Server = new GeCommunity.Server_class();

