⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chatmanager.as

📁 flashget43的源代码 一个比较常用的下载程序
💻 AS
📖 第 1 页 / 共 2 页
字号:
	{		getURL(this.settings.logout.url,this.settings.logout.window);	}			if(this.settings.logout.close)	{		getURL("javascript:window.close();");	}		//---};ChatManager.prototype.getLanguage = function(lang, save_only) {	var req = this.getRequester();	req.c = 'glan';	req.l = lang;	req.s = (save_only)? 1 : 0;	this.sendAndLoad(req);};ChatManager.prototype.sendAvatar = function(inType, inSmile, toUserID) {	var req = this.getRequester();	if(inType == 'mainchat') req.c = 'mavt';		if(inType == 'room') req.c = 'ravt';		req.u = (toUserID == undefined)? 0 : toUserID;	req.a = inSmile;		this.sendAndLoad(req);};ChatManager.prototype.sendMessageTo = function(toUserID, toRoomID, txt, args, sup) {	var req = this.getRequester();	req.c = 'msg';	req.u = toUserID;	req.r = toRoomID;	req.t = txt;	if(args != undefined) req.a = args;	if(sup  != undefined) req.s = sup;	this.sendAndLoad(req);};ChatManager.prototype.moveTo = function(roomID, pass) {	var req = this.getRequester();	req.c  = 'mvu';	req.r  = roomID;	if(pass != undefined) req.ps = pass;	this.sendAndLoad(req);};ChatManager.prototype.inviteMoveTo = function(roomID){	var req = this.getRequester();	req.c  = 'imvu';	req.r  = roomID;	this.sendAndLoad(req);};ChatManager.prototype.createRoom = function(label, isPublic, password) {	var req = this.getRequester();	req.c = 'adr';	req.l = label;	req.p = (isPublic)?1:0;	req.ps = password;	this.sendAndLoad(req);};ChatManager.prototype.inviteUserTo = function(invitedUserID, toRoomID, txt) {	var req = this.getRequester();	req.c = 'invu';	req.u = invitedUserID;	req.r = toRoomID;	req.t = txt;	this.sendAndLoad(req);};ChatManager.prototype.acceptInvitationTo = function(invitedByUserID, toRoomID, txt) {	var req = this.getRequester();	req.c = 'inva';	req.u = invitedByUserID;	req.r = toRoomID;	req.t = txt;	this.sendAndLoad(req);};ChatManager.prototype.declineInvitationTo = function(invitedByUserID, toRoomID, txt) {	var req = this.getRequester();	req.c = 'invd';	req.u = invitedByUserID;	req.r = toRoomID;	req.t = txt;	this.sendAndLoad(req);};ChatManager.prototype.ignoreUser = function(ignoredUserID, txt) {	var req = this.getRequester();	req.c = 'ignu';	req.u = ignoredUserID;	req.t = txt;	this.sendAndLoad(req);};ChatManager.prototype.unignoreUser = function(ignoredUserID, txt) {	var req = this.getRequester();	req.c = 'nignu';	req.u = ignoredUserID;	req.t = txt;	this.sendAndLoad(req);};ChatManager.prototype.banUser = function(bannedUserID, banType, banRoomID, txt, sup) {	var req = this.getRequester();	req.c = 'banu';	req.u = bannedUserID;	req.b = banType;	req.r = banRoomID;	req.t = txt;	if(sup != undefined) req.s = sup;	this.sendAndLoad(req);};ChatManager.prototype.unbanUser = function(bannedUserID, txt, sup) {	var req = this.getRequester();	req.c = 'nbanu';	req.u = bannedUserID;	req.t = txt;	if(sup != undefined) req.s = sup;	this.sendAndLoad(req);};ChatManager.prototype.setState = function(state) {	var req = this.getRequester();	req.c = 'sst';	req.t = state;	this.sendAndLoad(req);};ChatManager.prototype.setColor = function(color) {	var req = this.getRequester();	req.c = 'scl';	req.t = color;		this.sendAndLoad(req);};ChatManager.prototype.requestUserProfileText = function(userid) {	var req = this.getRequester();	req.c = 'usrp';	req.u = userid;	this.sendAndLoad(req);};ChatManager.prototype.requestHelpText = function() {	var req = this.getRequester();	req.c = 'help';	this.sendAndLoad(req);};ChatManager.prototype.saveChat = function() {	/*	_root.createEmptyMovieClip('saver', 90);	_root.saver.id = this.connid;	_root.saver.getURL(_root.documentRoot + 'save.php', '_blank', 'POST');	*/	var sendStr = _root.documentRoot + 'save.php?id=' + this.connid; 	    sendStr += '&font=' + this.ui.settings.user.text.itemToChange.mainChat.fontFamily;	    sendStr += '&size=' + this.ui.settings.user.text.itemToChange.mainChat.fontSize;		_root.getURL(sendStr, '_blank');};ChatManager.prototype.ringBell = function() {	var req = this.getRequester();	req.c = 'ring';	this.sendAndLoad(req);};ChatManager.prototype.back = function(numb) {	var req = this.getRequester();	req.c = 'back';	req.n = numb;	this.sendAndLoad(req);};ChatManager.prototype.backtime = function(numb) {	var req = this.getRequester();	req.c = 'backt';	req.n = numb;	this.sendAndLoad(req);};ChatManager.prototype.alert = function(userID, txt, sup){	var req = this.getRequester();	req.c = 'alrt';	req.u = userID;	req.t = txt;	if(sup != undefined) req.s = sup;	this.sendAndLoad(req);};ChatManager.prototype.roomAlert = function(roomID, txt, sup){	var req = this.getRequester();	req.c = 'ralrt';	req.r = roomID;	req.t = txt;	if(sup != undefined) req.s = sup;	this.sendAndLoad(req);};ChatManager.prototype.chatAlert = function(txt, sup){	var req = this.getRequester();	req.c = 'calrt';	req.t = txt;	if(sup != undefined) req.s = sup;	this.sendAndLoad(req);};ChatManager.prototype.gag = function(userid, minutes, sup){	var req = this.getRequester();	req.c = 'gag';	req.u = userid;	req.t = minutes;	if(sup != undefined) req.s = sup;		this.sendAndLoad(req);};ChatManager.prototype.ungag = function(userid, sup){	var req = this.getRequester();	req.c = 'ngag';	req.u = userid;	if(sup != undefined) req.s = sup;		this.sendAndLoad(req);};//inArgs = {alrt|gag}ChatManager.prototype.confirm = function(userid, inData, inArgs){	var req = this.getRequester();	req.c = 'cfrm';	req.u = userid;	req.t = inData;	req.a = inArgs;		this.sendAndLoad(req);};ChatManager.prototype.startBot = function(userName, roomId, sup){	var req = this.getRequester();	req.c  = 'srtbt';	req.lg = userName;	req.r  = roomId;	if(sup != undefined) req.s  = sup;		this.sendAndLoad(req);};ChatManager.prototype.killBot = function(userName, sup){	var req = this.getRequester();	req.c  = 'klbt';	req.lg = userName;	if(sup != undefined) req.s  = sup;		this.sendAndLoad(req);};ChatManager.prototype.addBot = function(login, bot, sup){	var req = this.getRequester();	req.c  = 'adbt';	req.lg = login;	req.a  = bot;	if(sup != undefined) req.s  = sup;		this.sendAndLoad(req);};ChatManager.prototype.teachBot = function(userName, args, sup){	var req = this.getRequester();	req.c  = 'tchbt';	req.lg = userName;	req.a  = args;	if(sup != undefined) req.s  = sup;		this.sendAndLoad(req);};ChatManager.prototype.unTeachBot = function(userName, args, sup){	var req = this.getRequester();	req.c  = 'utbt';	req.lg = userName;	req.a  = args;	if(sup != undefined) req.s  = sup;		this.sendAndLoad(req);};ChatManager.prototype.removeBot = function(userName, sup){	var req = this.getRequester();	req.c  = 'rmbt';	req.lg = userName;	if(sup != undefined) req.s  = sup;		this.sendAndLoad(req);};ChatManager.prototype.showBots = function(sup){ 	var req = this.getRequester();		req.c  = 'swbt';	if(sup != undefined) req.s = sup;		this.sendAndLoad(req);};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -