if(typeof GoldSell == "undefined") GoldSell={};
if(typeof GoldSell.AjaxCore == "undefined") GoldSell.AjaxCore={};
GoldSell.AjaxCore_class = function() {};
Object.extend(GoldSell.AjaxCore_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetReg: function() {
		return this.invoke("GetReg", {}, this.GetReg.getArguments().slice(0));
	},
	GetOrder: function() {
		return this.invoke("GetOrder", {}, this.GetOrder.getArguments().slice(0));
	},
	UserCheck: function(username) {
		return this.invoke("UserCheck", {"username":username}, this.UserCheck.getArguments().slice(1));
	},
	Reg: function(myUser) {
		return this.invoke("Reg", {"myUser":myUser}, this.Reg.getArguments().slice(1));
	},
	MoreInfo: function() {
		return this.invoke("MoreInfo", {}, this.MoreInfo.getArguments().slice(0));
	},
	Login: function(struser, strpass) {
		return this.invoke("Login", {"struser":struser, "strpass":strpass}, this.Login.getArguments().slice(2));
	},
	LogOut: function() {
		return this.invoke("LogOut", {}, this.LogOut.getArguments().slice(0));
	},
	AddCart: function(num, product, quantity, sid) {
		return this.invoke("AddCart", {"num":num, "product":product, "quantity":quantity, "sid":sid}, this.AddCart.getArguments().slice(4));
	},
	AddPackages: function(product, price, gold, type, sid, gamdid, quantity) {
		return this.invoke("AddPackages", {"product":product, "price":price, "gold":gold, "type":type, "sid":sid, "gamdid":gamdid, "quantity":quantity}, this.AddPackages.getArguments().slice(7));
	},
	AddPowerCart: function(product, sid, gameid, price) {
		return this.invoke("AddPowerCart", {"product":product, "sid":sid, "gameid":gameid, "price":price}, this.AddPowerCart.getArguments().slice(4));
	},
	GetServer: function(gameid, type) {
		return this.invoke("GetServer", {"gameid":gameid, "type":type}, this.GetServer.getArguments().slice(2));
	},
	GetCart: function() {
		return this.invoke("GetCart", {}, this.GetCart.getArguments().slice(0));
	},
	DelCart: function(id) {
		return this.invoke("DelCart", {"id":id}, this.DelCart.getArguments().slice(1));
	},
	SetOrder: function(myOrder) {
		return this.invoke("SetOrder", {"myOrder":myOrder}, this.SetOrder.getArguments().slice(1));
	},
	GetOrderByDdh: function(ddh) {
		return this.invoke("GetOrderByDdh", {"ddh":ddh}, this.GetOrderByDdh.getArguments().slice(1));
	},
	GetOrderHistory: function() {
		return this.invoke("GetOrderHistory", {}, this.GetOrderHistory.getArguments().slice(0));
	},
	GetUserInfo: function() {
		return this.invoke("GetUserInfo", {}, this.GetUserInfo.getArguments().slice(0));
	},
	EditUserInfo: function(info) {
		return this.invoke("EditUserInfo", {"info":info}, this.EditUserInfo.getArguments().slice(1));
	},
	GetPowerCount: function(start, end, gameid) {
		return this.invoke("GetPowerCount", {"start":start, "end":end, "gameid":gameid}, this.GetPowerCount.getArguments().slice(3));
	},
	ChkCoupon: function(coupon) {
		return this.invoke("ChkCoupon", {"coupon":coupon}, this.ChkCoupon.getArguments().slice(1));
	},
	ChkCouponNum: function(coupon, price, gold) {
		return this.invoke("ChkCouponNum", {"coupon":coupon, "price":price, "gold":gold}, this.ChkCouponNum.getArguments().slice(3));
	},
	GoldPrice: function(sid, goldnum) {
		return this.invoke("GoldPrice", {"sid":sid, "goldnum":goldnum}, this.GoldPrice.getArguments().slice(2));
	},
	url: '/ajaxpro/GoldSell.AjaxCore,GoldSell.ashx'
}));
GoldSell.AjaxCore = new GoldSell.AjaxCore_class();


