CombinedText
stringlengths
4
3.42M
/* * The MIT License (MIT) * * Copyright (c) 2017 Digital Strawberry LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ package com.digitalstrawberry.ane.hapticfeedback { CONFIG::ane { import flash.external.ExtensionContext; } import flash.system.Capabilities; /** * Haptic feedback extension's API. */ public class HapticFeedback { /** * Extension version. */ public static const VERSION:String = "1.1.0"; private static const EXTENSION_ID:String = "com.digitalstrawberry.ane.hapticfeedback"; private static const iOS:Boolean = Capabilities.manufacturer.indexOf("iOS") > -1; CONFIG::ane { private static var mContext:ExtensionContext; } /* Generator id counter */ private static var mGeneratorId:int; /** * @private * Do not use. HapticFeedback is a static class. */ public function HapticFeedback() { throw Error("HapticFeedback is static class."); } /** * * * Public API * * */ public static function getImpactGenerator(impactFeedbackStyle:int):ImpactFeedbackGenerator { if (!ImpactFeedbackStyle.isValid(impactFeedbackStyle)) { throw new ArgumentError("Impact feedback style must be one of the values defined in ImpactFeedbackStyle class."); } FeedbackGenerator.CAN_INITIALIZE = true; var generator:ImpactFeedbackGenerator = new ImpactFeedbackGenerator(impactFeedbackStyle); generator.id = ++mGeneratorId; if (iOS && initExtensionContext()) { CONFIG::ane { mContext.call("initImpactGenerator", generator.id, impactFeedbackStyle); } } return generator; } public static function getNotificationGenerator():NotificationFeedbackGenerator { FeedbackGenerator.CAN_INITIALIZE = true; var generator:NotificationFeedbackGenerator = new NotificationFeedbackGenerator(); generator.id = ++mGeneratorId; if (iOS && initExtensionContext()) { CONFIG::ane { mContext.call("initNotificationGenerator", generator.id); } } return generator; } public static function getSelectionGenerator():SelectionFeedbackGenerator { FeedbackGenerator.CAN_INITIALIZE = true; var generator:SelectionFeedbackGenerator = new SelectionFeedbackGenerator(); generator.id = ++mGeneratorId; if (iOS && initExtensionContext()) { CONFIG::ane { mContext.call("initSelectionGenerator", generator.id); } } return generator; } public static function setLogEnabled(value:Boolean):void { if (!iOS || !initExtensionContext()) { return; } CONFIG::ane { mContext.call("setLogEnabled", value); } } public static function get isAvailable():Boolean { var result:Boolean; if (!iOS || !initExtensionContext()) { return result; } CONFIG::ane { result = mContext.call("isAvailable") as Boolean; } return result; } /** * Disposes native extension context. */ public static function dispose():void { if (!iOS) { return; } CONFIG::ane { if (mContext !== null) { mContext.dispose(); mContext = null; } } } /** * * * Internal API * * */ /** * @private */ internal static function prepareGenerator(generator:FeedbackGenerator):void { if (!iOS || !initExtensionContext()) { return; } CONFIG::ane { mContext.call("prepareGenerator", generator.id); } } /** * @private */ internal static function releaseGenerator(generator:FeedbackGenerator):void { if (!iOS || !initExtensionContext()) { return; } CONFIG::ane { mContext.call("releaseGenerator", generator.id); } } /** * @private */ internal static function triggerImpact(generator:FeedbackGenerator):void { if (!iOS || !initExtensionContext()) { return; } CONFIG::ane { mContext.call("triggerImpactFeedback", generator.id); } } /** * @private */ internal static function triggerSelection(generator:FeedbackGenerator):void { if (!iOS || !initExtensionContext()) { return; } CONFIG::ane { mContext.call("triggerSelectionFeedback", generator.id); } } /** * @private */ internal static function triggerNotification(generator:FeedbackGenerator, notificationFeedbackType:int):void { if (!iOS || !initExtensionContext()) { return; } CONFIG::ane { mContext.call("triggerNotificationFeedback", generator.id, notificationFeedbackType); } } /** * * * Private API * * */ /** * Initializes extension context. * @return <code>true</code> if initialized successfully, <code>false</code> otherwise. */ private static function initExtensionContext():Boolean { CONFIG::ane { if (mContext === null) { mContext = ExtensionContext.createExtensionContext(EXTENSION_ID, null); } return mContext !== null; } return false; } } }
/** * Copyright (c) 2007 - 2009 Adobe * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ package com.adobe.cairngorm.navigation.core { public class NavigationActionName { public static const FIRST_ENTER:String = "firstEnter"; public static const ENTER:String = "enter"; public static const EVERY_ENTER:String = "everyEnter"; public static const EXIT:String = "exit"; public static const ENTER_INTERCEPT:String = "enterIntercept"; public static const EXIT_INTERCEPT:String = "exitIntercept"; public static function getDestination(event:String):String { return event.split(":")[0] as String; } public static function getAction(event:String):String { return event.split(":")[1] as String; } public static function getEventName(destination:String, action:String):String { return destination + ":" + action; } public static function isInterceptor(action:String):Boolean { return action == ENTER_INTERCEPT || action == EXIT_INTERCEPT; } } }
package starling.assets { import flash.utils.ByteArray; import starling.textures.AtfData; import starling.textures.Texture; import starling.utils.execute; /** This AssetFactory creates texture assets from ATF files. */ public class AtfTextureFactory extends AssetFactory { /** Creates a new instance. */ public function AtfTextureFactory() { addExtensions("atf"); // not used, actually, since we can parse the ATF header, anyway. } /** @inheritDoc */ override public function canHandle(reference:AssetReference):Boolean { return (reference.data is ByteArray && AtfData.isAtfData(reference.data as ByteArray)); } /** @inheritDoc */ override public function create(reference:AssetReference, helper:AssetFactoryHelper, onComplete:Function, onError:Function):void { helper.executeWhenContextReady(createTexture); function createTexture():void { var onReady:Function = reference.textureOptions.onReady as Function; reference.textureOptions.onReady = function():void { execute(onReady, texture); onComplete(reference.name, texture); }; var texture:Texture = null; var url:String = reference.url; try { texture = Texture.fromData(reference.data, reference.textureOptions); } catch (e:Error) { onError(e.message); } if (url && texture) { texture.root.onRestore = function():void { helper.onBeginRestore(); helper.loadDataFromUrl(url, function(data:ByteArray):void { helper.executeWhenContextReady(function():void { try { texture.root.uploadAtfData(data); } catch (e:Error) { helper.log("Texture restoration failed: " + e.message); } helper.onEndRestore(); }); }, onReloadError); }; } reference.data = null; // prevent closures from keeping reference } function onReloadError(error:String):void { helper.log("Texture restoration failed for " + reference.url + ". " + error); helper.onEndRestore(); } } } }
; ; Parts of LIBC.LIB ; ; dissasembled by Andrey Nikitin & Ladislau Szilagyi ; ;========================================================= ; 8018 csv: csv.asm ; 8024 cret: ; 802B indir: ; 802C ncsv: ;========================================================= global csv, cret, indir, ncsv psect text csv: pop hl ;return address push iy push ix ld ix,0 add ix,sp ;new frame pointer jp (hl) cret: ld sp,ix pop ix pop iy ret indir: jp (hl) ; New csv: allocates space for stack based on word following ; call ncsv ncsv: pop hl push iy push ix ld ix,0 add ix,sp ld e,(hl) inc hl ld d,(hl) inc hl ex de,hl add hl,sp ld sp,hl ex de,hl jp (hl) ;========================================================= ; * 70CB toupper ;========================================================= ; char toupper(char c) { ; if(c >= 'a' && c <= 'z') c += 'A' - 'a'; ; return c; ; } ; global _toupper global brelop global wrelop psect text _toupper: call csv ld b,'a' ld a,(ix+6) call brelop jp m,loc_70F2 ld a,(ix+6) ld e,a rla sbc a,a ld d,a ld hl,'z' call wrelop jp m,loc_70F2 ld a,(ix+6) add a,224 ; 'A' - 'a' ld l, a jp cret loc_70F2: ld l,(ix+6) jp cret ;========================================================= ; 7F3D _brk: sbrk.asm ; 7F45 _sbrk: ; 7F71 _checksp: ;========================================================= ; NB This brk() does not check that the argument is reasonable. psect text global _sbrk,__Hbss, _brk _brk: pop hl ;return address pop de ;argument ld (memtop),de ;store it push de ;adjust stack jp (hl) ;return _sbrk: pop bc pop de push de push bc ld hl,(memtop) ld a,l or h jr nz,1f ld hl,__Hbss ld (memtop),hl 1: add hl,de jr c,2f ;if overflow, no room ld bc,1024 ;allow 1k bytes stack overhead add hl,bc jr c,2f ;if overflow, no room sbc hl,sp jr c,1f 2: ld hl,-1 ;no room at the inn ret 1: ld hl,(memtop) push hl add hl,de ld (memtop),hl pop hl ret psect bss memtop: defs 2 ;========================================================= ; 7F90 shll: shll.asm ;========================================================= ; Shift operations - the count is always in B, ; the quantity to be shifted is in HL, except for the ; assignment type operations, when it is in the memory ; location pointed to by HL global shll,shal ;shift left, arithmetic or logical psect text shll: shal: ld a,b ;check for zero shift or a ret z cp 16 ;16 bits is maximum shift jr c,1f ;is ok ld b,16 1: add hl,hl ;shift left djnz 1b ret ;========================================================= ; 7B06 asll: asll.asm ;========================================================= ; Shift operations - the count is always in B, the quantity ; to be shifted is in HL, except for the assignment type ; operations, when it is in the memory location pointed to ; by HL global asll,asal ; assign shift left (logical or arithmetic) psect text global shal asll: asal: ld e,(hl) inc hl ld d,(hl) push hl ; save for the store ex de,hl call shal ex de,hl pop hl ld (hl),d dec hl ld (hl),e ex de,hl ; return value in hl ret ;========================================================= ; 7D24 amod: idiv.asm ; 7D29 lmod: ; 7D33 adiv: ; 7D80 negif: ; 7D83 negat: ;========================================================= ; 16 bit divide and modulus routines ; called with dividend in hl and divisor in de ; returns with result in hl. ; adiv (amod) is signed divide (modulus), ldiv (lmod) is unsigned global adiv,ldiv,amod,lmod psect text amod: call adiv ex de,hl ;put modulus in hl ret lmod: call ldiv ex de,hl ret ldiv: xor a ex af,af' ex de,hl jr dv1 adiv: ld a,h xor d ;set sign flag for quotient ld a,h ;get sign of dividend ex af,af' call negif ex de,hl call negif dv1: ld b,1 ld a,h or l ret z dv8: push hl add hl,hl jr c,dv2 ld a,d cp h jr c,dv2 jr nz,dv6 ld a,e cp l jr c,dv2 dv6: pop af inc b jr dv8 dv2: pop hl ex de,hl push hl ld hl,0 ex (sp),hl dv4: ld a,h cp d jr c,dv3 jr nz,dv5 ld a,l cp e jr c,dv3 dv5: sbc hl,de dv3: ex (sp),hl ccf adc hl,hl srl d rr e ex (sp),hl djnz dv4 pop de ex de,hl ex af,af' call m,negat ex de,hl or a ;test remainder sign bit call m,negat ex de,hl ret negif: bit 7,h ret z negat: ld b,h ld c,l ld hl,0 or a sbc hl,bc ret ;========================================================= ; 7ECB amul: imul.asm ; 7EDE mult8b: ;========================================================= ; 16 bit integer multiply ; on entry, left operand is in hl, right operand in de psect text global amul,lmul amul: lmul: ld a,e ld c,d ex de,hl ld hl,0 ld b,8 call mult8b ex de,hl jr 3f 2: add hl,hl 3: djnz 2b ex de,hl 1: ld a,c mult8b: srl a jr nc,1f add hl,de 1: ex de,hl add hl,hl ex de,hl ret z djnz mult8b ret ;========================================================= ; 7AE5 asar: asar.asm ;========================================================= ; Shift operations - the count is always in B, ; the quantity to be shifted is in HL, except for the ; assignment type operations, when it is in the memory ; location pointed to by HL global asar ; assign shift arithmetic right psect text global shar asar: ld e,(hl) inc hl ld d,(hl) push hl ; save for the store ex de,hl call shar ex de,hl pop hl ld (hl),d dec hl ld (hl),e ex de,hl ; return value in hl ret ;========================================================= ; 7F80 shar: shar.asm ;========================================================= ; Shift operations - the count is always in B, ; the quantity to be shifted is in HL, except for the ; assignment type operations, when it is in the memory ; location pointed to by HL global shar ;shift arithmetic right psect text shar: ld a,b ;check for zero shift or a ret z cp 16 ;16 bits is maximum shift jr c,1f ;is ok ld b,16 1: sra h rr l djnz 1b ret ;========================================================= ; 781E exit ;========================================================= ; #include "stdio.h" ; ; #define uchar unsigned char ; #define MAXFILE 5 ; #define WPOKE(addr, word) *((unsigned *)addr) = (unsigned)word ; ; void exit(int code) { ; uchar i; ; register FILE * ip; ; ; i = MAXFILE; ; ip = _iob; ; do { ; fclose(ip); ; ip++; ; } while(--i); ; WPOKE(0x80, code); ; #asm ; call 0 /* Exit; */ ; #endasm ; } ; global _exit global __iob global _fclose psect text _exit: call csv push hl ld (ix+-1),5 ld iy,__iob loc_782A: push iy pop hl ld bc,8 add hl,bc push hl pop iy sbc hl,bc push hl call _fclose pop bc ld a,(ix+-1) add a,0FFh ld (ix+-1),a or a jr nz,loc_782A ld l,(ix+6) ld h,(ix+7) ld (128),hl call 0 jp cret ; ;========================================================= ; Offsets of things in the _iob structure ptr equ 0 ; pointer to next byte cnt equ 2 ; number of bytes left base equ 4 ; beginning of buffer flag equ 6 ; flag bits file equ 7 ; file number ; The bit numbers of the flags in flag _IOREAD_BIT equ 0 _IOWRT_BIT equ 1 _IONBF_BIT equ 2 _IOMYBUF_BIT equ 3 _IOEOF_BIT equ 4 _IOERR_BIT equ 5 _IOSTRG_BIT equ 6 _IOBINARY_BIT equ 7 ; Various characters CPMEOF equ 032q ; EOF byte NEWLINE equ 012q ; newline character RETURN equ 015q ; carriage return EOF equ -1 ; stdio EOF value ; ; /* ; * STDIO.H Modified version from Tesseract vol 91 ; */ ; #if z80 ; #define BUFSIZ 512 ; #define _NFILE 8 ; #else z80 ; #define BUFSIZ 1024 ; #define _NFILE 20 ; #endif z80 ; ; #ifndef FILE ; #define uchar unsigned char ; ; extern struct _iobuf ; { ; char *_ptr; ; int _cnt; ; char *_base; ; unsigned short _flag; ; char _file; ; } _iob[_NFILE]; ; ; ; stdclean ; global __cleanup global ncsv, cret, indir global __iob global _fclose psect text __cleanup: global csv call csv push hl ld (ix+-1),8 ld iy,__iob cl5: push iy call _fclose pop bc ld de,8 add iy,de ld a,(ix+-1) add a,255 ld (ix+-1),a or a jp nz,cl5 jp cret psect data __iob: global __sibuf defw __sibuf defw 0 defw __sibuf defb 9 defb 0 defw 0 defw 0 defw 0 defb 6 defb 1 defw 0 defw 0 defw 0 defb 6 defb 2 defb 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 defb 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 defb 0,0,0,0,0,0,0,0 ; ; setbuf ; psect text global _setbuf ; _setbuf: CALL csv LD L,(IX+06H) LD H,(IX+07H) PUSH HL POP IY BIT 3,(IY+06H) JR NZ,l_5842 LD A,(IY+04H) OR (IY+05H) JR Z,l_5842 LD L,(IY+04H) LD H,(IY+05H) PUSH HL CALL __buffree POP BC l_5842: LD (IY+02H),00 LD (IY+03H),00 LD L,(IX+08H) LD H,(IX+09H) LD (IY+00H),L LD (IY+01H),H LD (IY+04H),L LD (IY+05H),H LD A,L OR H JR NZ,l_5872 LD A,(IY+06H) AND 0F7H LD (IY+06H),A JP cret l_5872: SET 3,(IY+06H) BIT 1,(IY+06H) JP Z,cret LD (IY+02H),00 LD (IY+03H),02 JP cret ; __buffree: CALL csv LD L,(IX+06H) LD H,(IX+07H) PUSH HL POP IY LD HL,(buf_81B2) LD (IY+00H),L LD (IY+01H),H LD (buf_81B2),IY JP cret ; psect bss buf_81B2:defs 2 ; ; ; ; fgets ; global _fgets global ncsv, cret, indir global _fgetc psect text _fgets: global csv call csv push hl push hl ld l,(ix+10) ld h,(ix+11) push hl pop iy ld l,(ix+6) ld h,(ix+7) ld (ix+-2),l ld (ix+-1),h l4: ld l,(ix+8) ld h,(ix+9) dec hl ld (ix+8),l ld (ix+9),h ld a,l or h jp z,l5 push iy call _fgetc pop bc ld (ix+-4),l ld (ix+-3),h ld de,-1 or a sbc hl,de jp z,l5 ld a,(ix+-4) ld l,(ix+6) ld h,(ix+7) inc hl ld (ix+6),l ld (ix+7),h dec hl ld (hl),a cp 10 jp nz,l4 l5: ld l,(ix+6) ld h,(ix+7) ld (hl),0 ld e,(ix+-2) ld d,(ix+-1) or a sbc hl,de jp nz,cl6 ld hl,0 jp cret cl6: ld l,(ix+-2) ld h,(ix+-1) jp cret ; ;========================================================= ; 768F fgetc(FILE * f) from libraty ;========================================================= ; fgetc(f) register FILE * f; { ; int c; ; ; if(f->_flag & _IOEOF || !(f->_flag & _IOREAD)) { ; reteof: ; f->_flag |= _IOEOF; ; return EOF; ; } ; loop: ; if(f->_cnt > 0) { ; c = (unsigned)*f->_ptr++; ; f->_cnt--; ; } else if(f->_flag & _IOSTRG) ; goto reteof; ; else ; c = _filbuf(f); ; if(f->_flag & _IOBINARY) ; return c; ; if(c == '\r') ; goto loop; ; if(c == CPMEOF) { ; f->_cnt++; ; f->_ptr--; ; goto reteof; ; } ; return c; ; } ; The assembler version of the above routine ;*Include stdio.i global _fgetc, __filbuf psect text _fgetc: pop de ;get return address off stack ex (sp),iy ;save iy and get arguement into iy ld a,(iy+flag) ;get flag bits bit _IOREAD_BIT,a jr z,reteof ;return EOF if not open for read bit _IOEOF_BIT,a ;Already seen EOF? jr nz,reteof ;yes, repeat ourselves loop: ld l,(iy+cnt) ld h,(iy+cnt+1) ld a,l or h ;any bytes left? jr z,1f ;no, go get some more dec hl ld (iy+cnt),l ;update count ld (iy+cnt+1),h ld l,(iy+ptr) ;get the pointer ld h,(iy+ptr+1) ld a,(hl) inc hl ld (iy+ptr),l ;update pointer ld (iy+ptr+1),h 2: bit _IOBINARY_BIT,(iy+flag) ;Binary mode? jr z,3f ;no, check for EOF etc retch: ld l,a ;return the character in a ld h,0 ex (sp),iy ;restore iy push de ;put return address back ret ;with char in hl 3: cp RETURN ;carriage return jr z,loop ;yes, get another instead cp CPMEOF ;end of file? jr nz,retch ;no, return it! ; ld a,(iy+base) ;buffered? ; or (iy+base+1) ; jr z,reteof ;yup, leave count alone ld l,(iy+cnt) ld h,(iy+cnt+1) inc hl ;reset count ld (iy+cnt),l ld (iy+cnt+1),h ld l,(iy+ptr) ld h,(iy+ptr+1) dec hl ;reset pointer ld (iy+ptr),l ld (iy+ptr+1),h reteof: set _IOEOF_BIT,(iy+flag) ;note EOF ld hl,EOF ex (sp),iy ;restore iy push de ret ;return with EOF in hl 1: bit _IOSTRG_BIT,(iy+flag) ;end of string? jr nz,reteof ;yes, return EOF push de ;save de push iy ;pass iy as argument call __filbuf ;refill the buffer ld a,l ;the returned value pop bc pop de ;return address in de again bit 7,h jr nz,reteof ;returned EOF jr 2b ;========================================================= ; sub_770B filbuf Used in: fgetc ;========================================================= ; int filbuf(register FILE * f) { ; struct fcb * p; ; ; p = _fcb + (f - stdin); ; f->_cnt = 0; ; sub_77F5(); ; if((char)p->rwp == 1) { ; for(f->_ptr = f->_base; f->_ptr < f->_base+BUFSIZ; f->_ptr += 0x80) { ; bdos(CPMSDMA, f->_ptr); ; if(bdos(CPMREAD, p) != 0) break; ; } ; f->_cnt = f->_ptr - f->_base; ; f->_ptr = f->_base; ; if(f->_cnt == 0) return -1; ; f->_cnt--; ; return (unsigned char)*(f->_ptr++); ; } ; return -1; ; } ; global __filbuf global __fcb global __iob global adiv global amul global _sub_77F5 global _bdos global wrelop psect text __filbuf: call csv push hl ld l,(ix+6) ld h,(ix+7) push hl pop iy ld de,__iob push iy pop hl or a sbc hl,de ld de,8 call adiv ld de,41 call amul ld de,__fcb add hl,de ld (ix+-2),l ld (ix+-1),h ld (iy+2),0 ld (iy+3),0 call _sub_77F5 ld e,(ix+-2) ld d,(ix+-1) ld hl,36 add hl,de ld a,(hl) cp 1 jp nz,loc_77CE ld l,(iy+4) ld h,(iy+5) ld (iy+0),l ld (iy+1),h jr loc_7793 loc_7760: ld l,(iy+0) ld h,(iy+1) push hl ld hl,26 ; Set DMA adr push hl call _bdos pop bc ld l,(ix+-2) ld h,(ix+-1) ex (sp),hl ld hl,20 ; Read next record push hl call _bdos pop bc pop bc ld a,l or a jr nz,loc_77A9 ld de,128 ld l,(iy+0) ld h,(iy+1) add hl,de ld (iy+0),l ld (iy+1),h loc_7793: ld e,(iy+4) ld d,(iy+5) ld hl,512 add hl,de ex de,hl ld l,(iy+0) ld h,(iy+1) call wrelop jr c,loc_7760 loc_77A9: ld e,(iy+4) ld d,(iy+5) ld l,(iy+0) ld h,(iy+1) or a sbc hl,de ld (iy+2),l ld (iy+3),h ld l,e ld h,d ld (iy+0),l ld (iy+1),h ld a,(iy+2) or (iy+3) jr nz,loc_77D4 loc_77CE: ld hl,-1 jp cret loc_77D4: ld l,(iy+2) ld h,(iy+3) dec hl ld (iy+2),l ld (iy+3),h ld l,(iy+0) ld h,(iy+1) inc hl ld (iy+0),l ld (iy+1),h dec hl ld l,(hl) ld h,0 jp cret ;========================================================= ; sub_7855 fclose ;========================================================= ; int fclose(register FILE * f) { ; struct fcb * p; ; ; p = _fcb + (f - stdin); ; if(!(f->_flag & _IORW)) return EOF; ; fflush(f); ; f->_flag &= ~(_IOREAD|_IOWRT|_IONBF); ; if((char)p->rwp == 2) goto l1; ; if(!(ISMPM())) goto l2; ; l1: ; bdos(CPMCLS, p); /* close file */ ; l2: ; LO_CHAR(p->rwp) = 0; ; return 0; ; } ; global _fclose global __fcb global __iob global adiv global amul global _fflush global _bdoshl global _bdos psect text _fclose: call csv push hl ld l,(ix+6) ld h,(ix+7) push hl pop iy ld de,__iob push iy pop hl or a sbc hl,de ld de,8 call adiv ld de,41 call amul ld de,__fcb add hl,de ld (ix+-2),l ld (ix+-1),h ld a,(iy+6) and 3 or a jr nz,loc_788F ld hl,-1 jp cret loc_788F: push iy call _fflush pop bc ld a,(iy+6) and 248 ld (iy+6),a ld e,(ix+-2) ld d,(ix+-1) ld hl,36 add hl,de ld a,(hl) cp 2 jr z,l6 ld hl,12 push hl call _bdoshl pop bc bit 0,h jr z,l8 l6: ld l,(ix+-2) ld h,(ix+-1) push hl ld hl,16 ; CPMCLS - close file push hl call _bdos pop bc pop bc l8: ld e,(ix+-2) ld d,(ix+-1) ld hl,36 add hl,de ld (hl),0 ld hl,0 jp cret ;========================================================= ; 78DA _bdoshl - from libraty ;========================================================= ; Bdos calls which return values in HL ; short bdoshl(fun, arg); psect text entry equ 5 ; CP/M entry point arg equ 8 ; argument to call func equ 6 ; desired function global _bdoshl global csv,cret psect text _bdoshl: call csv ld e,(ix+arg) ld d,(ix+arg+1) ld c,(ix+func) push ix call entry pop ix jp cret ; return value already in hl ;========================================================= ; sub_78F0 - fflush ;========================================================= ; int fflush(register FILE * f) { ; struct fcb * p; ; ; p = _fcb + (f - stdin); ; ; if(!(f->_flag & _IOWRT)) return -1; ; ; if(((unsigned int)f->_cnt & 0x7F) != 0) { ; if(p->rwp > 4) { ; *(f->_ptr) = CPMETX; ; count--; ; } ; } ; if((f->_ptr = f->_base) == 0) return 0; ; f->_cnt = BUFSIZ - f->_cnt; ; switch((char)p->rwp) { ; case 2: ; f->_cnt = (f->_cnt+127)/128; ; for(;;) { ; if(f->_cnt-- == 0) break; ; bdos(CPMSDMA, f->_ptr); ; bdos(CPMWRIT, p); ; if(bdos(CPMWRIT, p) != 0) break; ; f->_ptr += 128; ; } ; case 4: ; for(;;) { ; if(f->_cnt-- == 0) break; ; bdos(CPMWCON, *(f->_ptr++)); ; } ; } ; f->_cnt = 0; ; f->_ptr = f->_base; ; LO_CHAR(f->_cnt) = 0; ; HI_CHAR(f->_cnt) = 2; ; return 0; ; } ; global _fflush global __fcb global __iob global adiv global amul global wrelop global _bdos psect text _fflush: call csv push hl ld l,(ix+6) ld h,(ix+7) push hl pop iy ld de,__iob push iy pop hl or a sbc hl,de ld de,8 call adiv ld de,41 call amul ld de,__fcb add hl,de ld (ix+-2),l ld (ix+-1),h bit 1,(iy+6) jr nz,loc_7928 ld hl,-1 jp cret loc_7928: ; m0: ld a,(iy+2) and 127 ld l,a xor a ld h,a ld a,l or h jr z,loc_795B ld b,4 ld e,(ix+-2) ld d,(ix+-1) ld hl,36 add hl,de ld a,(hl) call brelop jr nc,loc_795B ld l,(iy+0) ld h,(iy+1) ld (hl),26 ld l,(iy+2) ld h,(iy+3) dec hl ld (iy+2),l ld (iy+3),h loc_795B: ; m1: ld l,(iy+4) ld h,(iy+5) ld (iy+0),l ld (iy+1),h ld a,l or h jr nz,loc_7971 loc_796B: ; m2: ld hl,0 jp cret loc_7971: ; m3: ld e,(iy+2) ld d,(iy+3) ld hl,512 or a sbc hl,de ld (iy+2),l ld (iy+3),h ld e,(ix+-2) ld d,(ix+-1) ld hl,36 add hl,de ld a,(hl) cp 2 jr z,loc_79E4 cp 4 jr z,loc_79D0 loc_7996: ; m4: ld (iy+2),0 ld (iy+3),0 ld l,(iy+4) ld h,(iy+5) ld (iy+0),l ld (iy+1),h ld (iy+2),0 ld (iy+3),2 jr loc_796B loc_79B4: ; m5: ld l,(iy+0) ld h,(iy+1) ld a,(hl) inc hl ld (iy+0),l ld (iy+1),h ld l,a rla sbc a,a ld h,a push hl ld hl,2 push hl call _bdos pop bc pop bc loc_79D0: ; case 4: ; m6: ld l,(iy+2) ld h,(iy+3) dec hl ld (iy+2),l ld (iy+3),h inc hl ld a,l or h jr nz,loc_79B4 jr loc_7996 loc_79E4: ; case 2: ; m7: ld e,(iy+2) ld d,(iy+3) ld hl,7Fh add hl,de ld de,80h call adiv ld (iy+2),l ld (iy+3),h jr loc_7A30 loc_79FC: ; m8: ld l,(iy+0) ld h,(iy+1) push hl ld hl,1Ah ;CPMSDMA push hl call _bdos pop bc ld l,(ix+-2) ld h,(ix+-1) ex (sp),hl ld hl,15h ;CPMWRIT push hl call _bdos pop bc pop bc ld a,l or a jp nz,loc_7996 ld de,80h ld l,(iy+0) ld h,(iy+1) add hl,de ld (iy+0),l ld (iy+1),h loc_7A30: ; m9: ld l,(iy+2) ld h,(iy+3) dec hl ld (iy+2),l ld (iy+3),h inc hl ld a,l or h jr nz,loc_79FC jp loc_7996 ;========================================================= ; 7A45 bdos char bdos(func, arg) from bdos.asm ;========================================================= ;entry equ 5 ; CP/M entry point ;arg equ 8 ; argument to call ;func equ 6 ; desired function global _bdos psect text _bdos: call csv ld e,(ix+arg) ld d,(ix+arg+1) ld c,(ix+func) push ix ; push iy call entry ; pop iy pop ix ld l,a rla sbc a,a ld h,a jp cret ;========================================================= ; 75A2 fputc(uchar c, FILE * f) from library ;========================================================= ; #include <stdio.h> ; ; fputc(c, f) register FILE * f; uchar c; { ; if(!(f->_flag & _IOWRT)) return EOF; ; if((f->_flag & _IOBINARY) == 0 && c == '\n') ; fputc('\r', f); ; if(f->_cnt > 0) { ; f->_cnt--; ; *f->_ptr++ = c; ; } else ; return _flsbuf(c, f); ; return c; ; } ; ;*Include stdio.i global _fputc, __flsbuf psect text _fputc: pop de ;return address pop bc ;character argument ld b,0 ;so zero the top byte ex (sp),iy ;save iy and get file pointer bit _IOWRT_BIT,(iy+flag) ;are we reading jr z,reteof1 bit _IOBINARY_BIT,(iy+flag) ;binary mode? jr nz,2f ;yes, just return ld a,c ;is it a newline? cp NEWLINE jr nz,2f ;no push bc ;save thingos push de push iy ;file argument ld hl,RETURN push hl call _fputc pop hl ;unjunk stack pop bc pop de pop bc 2: ld l,(iy+cnt) ld h,(iy+cnt+1) ld a,l ;check count or h jr z,1f ;no room at the inn dec hl ;update count ld (iy+cnt),l ld (iy+cnt+1),h ld l,(iy+ptr) ld h,(iy+ptr+1) ;get pointer ld (hl),c ;store character inc hl ;bump pointer ld (iy+ptr),l ld (iy+ptr+1),h 3: ex (sp),iy ;restore iy push bc ;fix stack up push de ld l,c ld h,b ;return the character ret 1: ex (sp),iy ;restore the stack to what it was push bc push de ;return address and all jp __flsbuf ;let flsbuf handle it reteof1: ld bc,-1 jr 3b ;========================================================= ; 7CDC brelop: brelop.asm ;========================================================= ; byte relational operation - returns flags correctly for ; comparision of words in a and c psect text global brelop brelop: push de ld e,a xor b ;compare signs jp m,1f ;if different, return sign of lhs ld a,e sbc a,b pop de ret 1: ld a,e ;get sign of lhs and 80h ;mask out sign flag ld d,a ld a,e sbc a,b ;set carry flag if appropriate ld a,d inc a ;set sign flag as appropriate and reset Z flag pop de ret ;========================================================= ;7CF0 wrelop: wrelop.asm ;========================================================= ; word relational operation - returns flags correctly for ; comparision of words in hl and de psect text global wrelop wrelop: ld a,h xor d ;compare signs jp m,1f ;if different, return sign of lhs sbc hl,de ;just set flags as normal ret 1: ld a,h ;get sign of lhs and 80h ;mask out sign flag sbc hl,de ;set carry flag if appropriate inc a ;set sign flag as appropriate and reset Z flag ret ;========================================================= ; 7A5F start1.asm ;========================================================= psect text global __getargs, startup, __argc_, __sibuf startup: jp __getargs psect bss __sibuf: defs 512 __argc_: defs 2 psect text ;========================================================= ; 7A62 start2.asm ;========================================================= global __getargs, __argc_, nularg psect text __getargs: pop hl ; return address exx pop hl pop hl ; unjunk stack ld a,(80h) ; get buffer length inc a ; allow for null byte neg ld l,a ld h,-1 add hl,sp ld sp,hl ; allow space for args ld bc,0 ; flag end of args push bc ld hl,80h ; address of argument buffer ld c,(hl) ld b,0 add hl,bc ld b,c ex de,hl ld hl,(6) ld c,1 dec hl ld (hl),0 inc b jr 3f 2: ld a,(de) cp ' ' dec de jr nz,1f push hl inc c 4: ld a,(de) ; remove extra spaces cp ' ' jr nz,5f dec de jr 4b 5: xor a 1: dec hl ld (hl),a 3: djnz 2b ld (__argc_),bc ; store argcount ld hl,nularg push hl ld hl,0 add hl,sp exx push de ; junk the stack again push de push hl ; return address exx ret ;========================================================= ; 708D printf ;========================================================= ; printf(char * f, int a) { ; ; return(_doprnt(stdout, f, &a)); ; } ; global _printf global __doprnt global __iob psect text _printf: call csv push ix pop de ld hl,8 add hl,de push hl ld l,(ix+6) ld h,(ix+7) push hl ld hl,__iob+8 push hl call __doprnt pop bc pop bc pop bc jp cret ;========================================================= ; sub_7325 _doprnt(file, f, a) ;========================================================= ; _doprnt(FILE * file, register char * f, int * a) { ; char c; ; uchar sign, len, width; ; long xxxx; ; int yyyy ; ... ; } ; global __doprnt global _strlen global brelop global wrelop global _atoi global __ctype_ global __pnum global _pputc global _left global _base global _ffile psect text __doprnt: ; sub_7325: call ncsv defw -10 ; 0FFF6h ld l,(ix+8) ld h,(ix+9) ; push hl ; pop iy ; f ld l,(ix+6) ; ld h,(ix+7) ; ld (_ffile),hl ; ffile = file; jp loc_74A7 ; goto m15; loc_733F: ; m1: ld a,(ix+-1) cp '%' jr z,loc_7351 ; if(c == '%') goto m3; ld l,a ld h,0 push hl loc_734A: ; m2: call _pputc ; pputc(c); pop bc jp loc_74A7 ; goto m15; loc_7351: ; m3: ld a,0Ah ld (_base),a ; base = 10; ld (ix+-4),0FFh ; -4 width = -1; ld (ix+-2),0 ; -2 sign = 0; ld a,0 ld (_left),a ; left = 0; ld (ix+-3),1 ; -3 len = sizeof(int)/sizeof *a; loc_7367: ; m4: ld a,(iy+0) inc iy ld (ix+-1),a ; -1 c = *f++ or a ; if(c == 0) return; jp z,cret ; switch(c){ cp '*' ; case: '*': jr z,loc_73CF ; goto m cp '.' ; case: '.': jp z,loc_7565 ; goto m cp 'c' ; case: 'c': jp z,loc_74CD ; goto m cp 'd' ; case: 'd': jp z,loc_74B6 ; goto m cp 'l' ; case: 'l': jr z,loc_73E0 ; goto m cp 'o' ; case: 'o': jr z,loc_73E6 ; goto m cp 'x' ; case: 'x': jr z,loc_x ; goto m cp 's' ; case: 's': jp z,loc_74F1 ; goto m cp 'u' ; case: 'u': jr z,loc_73EB ; goto m9; ld b,30h ; '0' call brelop jp m,loc_7599 ; if((c >= '0') || (c > '9') goto m26; ld a,(ix+-1) ld e,a rla sbc a,a ld d,a ld hl,39h ; '9' call wrelop jp m,loc_7599 ; if() goto m26; ld de,0Ah ld a,(_left) ld l,a rla sbc a,a ld h,a call amul ; hl*de ld a,l ld (_left),a ; left *= 10; ld a,(ix+-1) add a,0D0h ld e,a ; e = c+0xd0 ld a,(_left) ; left +c+0xd0 add a,e loc_73CA: ; m5: ld (_left),a ; left = jr loc_7367 ; goto m4; loc_73CF: ; '*' ; m6: ld l,(ix+0Ah) ld h,(ix+0Bh) ; a ld a,(hl) inc hl inc hl ld (ix+0Ah),l ld (ix+0Bh),h ; a += sizeof(char*)/sizeof *a; jr loc_73CA ; goto m5; loc_73E0: ; 'l' ; m7: ld (ix+-3),2 ; len = 2; jp loc_7367 ; goto m4; loc_x: ; 'x' ld a,16 ld (_base),a ; base = 16 ; jr loc_73EB loc_73E6: ; 'o' ; m8: ld a,8 ld (_base),a ; base = 8 ; loc_73EB: ; 'u' ; m9: ld l,(ix+0Ah) ld h,(ix+0Bh) ; a ld e,(hl) inc hl ld d,(hl) ld a,d rla sbc a,a ld l,a ld h,a ld (ix+-8),e ld (ix+-7),d ld (ix+-6),l ld (ix+-5),h ; a = ld a,(ix+-2) ; sign ; or a ; jr nz,loc_7423 ; if(sign != 0) goto m10; ld l,(ix+0Ah) ld h,(ix+0Bh) ; a ld e,(hl) inc hl ld d,(hl) ld hl,0 ld (ix+-8),e ld (ix+-7),d ld (ix+-6),l ld (ix+-5),h ; loc_7423: ; m10: ld a,(ix+-3) ; len ; cp 1 ; jr z,loc_7444 ; if(len == 1) goto m11; ld l,(ix+0Ah) ld h,(ix+0Bh) ; a ld e,(hl) inc hl ld d,(hl) inc hl ld a,(hl) inc hl ld h,(hl) ld l,a ld (ix+-8),e ld (ix+-7),d ld (ix+-6),l ld (ix+-5),h ; xxxx loc_7444: ; m11: ld a,(ix+-2) ; sign or a jr z,loc_7480 ; if(sign == 0) goto m12; bit 7,(ix+-5) ld e,(ix+-8) ld d,(ix+-7) ld l,(ix+-6) ld h,(ix+-5) ; xxxx push hl push de jr z,loc_748E ; if( == ) goto m13; ld hl,0 pop bc or a sbc hl,bc pop bc ex de,hl ld hl,0 sbc hl,bc ld (ix+-8),e ld (ix+-7),d ld (ix+-6),l ld (ix+-5),h ; xxxx ld hl,'-' push hl call _pputc ; pputc('-'); pop bc loc_7480: ; m12: ld e,(ix+-8) ld d,(ix+-7) ld l,(ix+-6) ld h,(ix+-5) ; xxxx push hl push de loc_748E: ; m13: call __pnum ; pop bc ; pop bc ; ld l,(ix+-3) ; len ; ld h,0 ; add hl,hl ; ex de,hl ; ld l,(ix+0Ah) ; ld h,(ix+0Bh) ; a ; add hl,de ; ld (ix+0Ah),l ; loc_74A4: ; m14: ld (ix+0Bh),h ; a = loc_74A7: ; m15: ld a,(iy+0) ; inc iy ; ld (ix+-1),a ; (c = *(++f)) or a ; jp nz,loc_733F ; if(c != 0) goto m1; jp cret loc_74B6: ; 'd' ; m16: ld (ix+-2),1 ; sign = 1; jp loc_73EB ; goto m9; loc_74BD: ; m17: ld hl,' ' ; push hl ; call _pputc ; pputc(' '); pop bc ; ld a,(_left) ; ld e,a ; dec a ;-1 ; ld (_left),a ; left--; loc_74CD: ; 'c' ; m18: ld a,(_left); left ; ld e,a ; rla ; sbc a,a ; ld d,a ; ld hl,1 ; call wrelop ; if(reg_hl-reg_de) jp m,loc_74BD ; if( ) goto m17; ld l,(ix+0Ah) ; ld h,(ix+0Bh) ; a ; ld c,(hl) ; inc hl ; ld b,(hl) ; inc hl ; ld (ix+0Ah),l ; ld (ix+0Bh),h ; a = push bc jp loc_734A ; goto m2; loc_74F1: ; 's' ; m19: ld l,(ix+0Ah) ; ld h,(ix+0Bh) ; ld c,(hl) ; inc hl ; ld b,(hl) ; inc hl ; ld (ix+0Ah),l ; ld (ix+0Bh),h ; a += sizeof(char*)/sizeof *a; ld (ix+-10),c ld (ix+-9),b ; file = ld l,c ld h,b push hl call _strlen ; int strlen(char *s); pop bc ld (ix+-2),l ; sign = ld b,(ix+-4) ; width ld a,l ; call brelop ; jr nc,loc_7532 ; if(reg_a==reg_b) goto m21; ld a,(ix+-2) ; ld (ix+-4),a ; width = sign; jr loc_7532 ; goto m21; loc_7522: ; m20: ld hl,' ' push hl call _pputc ; pputc(' '); pop bc ld a,(_left) ; ld e,a ; dec a ; ld (_left),a ; left--; loc_7532: ; m21: ld a,(_left) ; left ld e,a ld d,0 ld l,(ix+-4) ; width ld h,d call wrelop jr c,loc_7522 ; if(reg_hl-reg_de) goto m20; jr loc_7559 ; goto m23; loc_7543: ; m22: ld l,(ix+-10) ; ld h,(ix+-9) ; inc hl ; ld (ix+-10),l ; ld (ix+-9),h ; file++; ; dec hl ; ld l,(hl) ; ld h,0 ; push hl ; call _pputc ; pputc(*(file++)); pop bc loc_7559: ; m23: ld a,(ix+-4) ; dec (ix+-4) ; or a ; jr nz,loc_7543 ; if(width != 0) goto m22; jp loc_74A7 ; goto m15; loc_7565: ; '.' ; m24: ld a,(iy+0) cp '*' jr nz,loc_7587 ; if(*f != '*') goto m25; ld l,(ix+0Ah) ld h,(ix+0Bh) ld c,(hl) inc hl ld b,(hl) inc hl ld (ix+0Ah),l ld (ix+0Bh),h ; a += sizeof(char*)/sizeof *a; push bc call _atoi pop bc ld (ix+-4),l ; width = atoi(*a); jp loc_7367 ; goto m4; loc_7587: ; m25: ld a,(iy+0) ld l,a rla sbc a,a ld h,a ld a,l add a,0D0h ld (ix+-4),a ; width = *f+0xD0; inc iy ; f++; jp loc_7367 ; goto m4; loc_7599: ; m26: ld l,(ix+-1) ; c ld h,0 push hl jp loc_734A ; goto m2; ;========================================================= ; 7B4B digit: ; 7B52 _atoi: atoi.asm ;========================================================= psect text digit: sub '0' ret c cp 10 ccf ret global _atoi _atoi: pop bc ; return address pop de push de push bc ld hl,0 1: ld a,(de) inc de cp ' ' jr z,1b cp 9 ; tab jr z,1b dec de ; point to 1st non blank char cp '-' jr z,3f cp '+' jr nz,2f or a ; reset zero flag 3: inc de 2: ex af,af' 1: ld a,(de) inc de call digit jr c,3f add hl,hl ld c,l ld b,h add hl,hl add hl,hl add hl,bc ld c,a ld b,0 add hl,bc jr 1b 3: ex af,af' ret nz ex de,hl ld hl,0 sbc hl,de ret ;========================================================= ; sub_7288 pputc ;========================================================= ; FILE * word_B02F; ; ; int sub_7288(int c) fputc(c, word_B02F); ; global _fputc global _ffile psect text _pputc: call csv ld hl,(_ffile) push hl ld l,(ix+6) ld h,(ix+7) push hl call _fputc jp cret psect bss _left: defs 1 ; byte_B02E _ffile: defs 2 ; word_B02F _base: defs 1 ; byte_B031 ;========================================================= ; * sub_729C pnum ;========================================================= ; char left; ; uchar base; ; ; int pputc(int); ; ; pnum(long i) { ; long j; ; ; left--; ; if((j = i/base) != 0) pnum(j); ; while ((int)left > 0) { ; left--; ; pputc(' '); ; } ; pputc((uchar)"0123456789ABCDEF"[i%base]); ; return; ; } ; global __pnum global _left global _base global _ffile global lldiv global _pputc global wrelop global llmod psect text __pnum: call csv push hl push hl ld a,(_left) ld e, a dec a ld (_left),a ld a,(_base) ld hl,0 ld d,l ld e,a push hl push de ld e,(ix+6) ld d,(ix+7) ld l,(ix+8) ld h,(ix+9) call lldiv ld (ix+-4),e ld (ix+-3),d ld (ix+-2),l ld (ix+-1),h ld a,e or d or l or h jr z,loc_72ED push hl push de call __pnum pop bc pop bc jr loc_72ED loc_72DD: ld a,(_left) ; sub 1 ld e,a dec a ld (_left),a ld hl,32 push hl call _pputc pop bc loc_72ED: ld a,(_left) ld e, a rla sbc a, a ld d, a ld hl,0 call wrelop jp m,loc_72DD ld a,(_base) ld hl,0 ld d,l ld e,a push hl push de ld e,(ix+6) ld d,(ix+7) ld l,(ix+8) ld h,(ix+9) call llmod ex de,hl ld de,19f add hl,de ld l,(hl) ld h,0 push hl call _pputc ; pop bc jp cret psect data 19: defb 48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70 defb 0 global lldiv psect text ; Called with dividend in HLDE, divisor on stack under 2 return ; addresses. Returns with dividend in HL/HL', divisor in DE/DE' ; on return the HIGH words are selected. lregset: pop bc ;get top return address exx ;select other bank pop bc ;return address of call to this module pop de ;get low word of divisor exx ;select hi bank ex de,hl ;dividend.low -> hl ex (sp),hl ;divisor.high -> hl ex de,hl ;dividend.high -> hl exx ;back to low bank push bc ;put outer r.a. back on stack pop hl ;return address ex (sp),hl ;dividend.low -> hl exx push bc ;top return address ret ; Called with dividend in HL/HL', divisor in DE/DE', high words in ; selected register set ; returns with quotient in BC/BC', remainder in HL/HL', high words ; selected divide: ld bc,0 ;initialize quotient ld a,e ;check for zero divisor or d exx ld bc,0 or e or d exx ;restor high words ret z ;return with quotient == 0 ld a,1 ;loop count jr 3f ;enter loop in middle 1: push hl ;save divisor exx push hl ;low word or a ;clear carry sbc hl,de ;subtract low word exx sbc hl,de ;sbutract hi word exx pop hl ;restore dividend exx pop hl ;and hi word jr c,2f ;finished - divisor is big enough exx inc a ;increment count ex de,hl ;put divisor in hl - still low word add hl,hl ;shift left ex de,hl ;put back in de exx ;get hi word ex de,hl adc hl,hl ;shift with carry ex de,hl 3: bit 7,d ;test for max divisor jr z,1b ;loop if msb not set 2: ;arrive here with shifted divisor, loop count in a, and low words ;selected 3: push hl ;save dividend exx push hl ;low word or a ;clear carry sbc hl,de exx sbc hl,de exx ;restore low word jr nc,4f pop hl ;restore low word of dividend exx pop hl ;hi word exx ;restore low word jr 5f 4: inc sp ;unjunk stack inc sp inc sp inc sp 5: ccf ;complement carry bit rl c ;shift in carry bit rl b ;next byte exx ;hi word rl c rl b srl d ;now shift divisor right rr e exx ;get low word back rr d rr e exx ;select hi word again dec a ;decrement loop count jr nz,3b ret ;finished ;========================================================= ; 7FC8 _strcmp: strcmp.asm ;========================================================= psect text global _strcmp _strcmp: pop bc pop de pop hl push hl push de push bc 1: ld a,(de) cp (hl) jr nz,2f inc de inc hl or a jr nz,1b ld hl,0 ret 2: ld hl,1 ret nc dec hl dec hl ret ;========================================================= ; 7FE2 _strcpy: strcpy.asm ;========================================================= psect text global _strcpy _strcpy: pop bc pop de pop hl push hl push de push bc ld c,e ld b,d ;save destination pointer 1: ld a,(hl) ld (de),a inc de inc hl or a jr nz,1b ld l,c ld h,b ret ;========================================================= ; 7FF4 _strlen: strlen.asm ;========================================================= psect text global _strlen _strlen: pop hl pop de push de push hl ld hl,0 1: ld a,(de) or a ret z inc hl inc de jr 1b ;========================================================= ; sub_6BD3 fprintf ;========================================================= ; #include <stdio.h> ; ; fprintf(file, f, a) FILE * file; char * f; int a; { ; return(_doprnt(file, f, &a)); ; } ; psect text global _fprintf global __doprnt _fprintf: call csv push ix pop de ld hl,10 add hl,de push hl ld l,(ix+8) ld h,(ix+9) push hl ld l,(ix+6) ld h,(ix+7) push hl call __doprnt pop bc pop bc pop bc jp cret ;========================================================= ; sub_6BF5 freopen OK(no code matching) Used in: main ;========================================================= ; FILE * freopen(char * name, char * mode, register FILE * f) { ; unsigned char c1, func; ; struct fcb * p; ; ; fclose(f); ; p = _fcb + (f->_file = (f - stdin)); ; c1 = 0; ; func = CPMOPN; ; f->_flag &= 0x4F; ; switch(*mode) { ; case 'w': ; c1++; ; func = CPMMAKE; ; case 'r': ; if(*(mode+1) == 'b') f->_flag = _IOBINARY; ; break; ; } ; def_fcb(p, name); ; if(func == CPMMAKE) bdos(CPMDEL, p); ; if(bdos(func, p) == -1) return 0; ; LO_CHAR(p->rwp) = c1 ? 2 : 1; ; if(((LO_CHAR(f->_flag) |= (c1+1))&0xC) == 0) { ; if(f->_base == 0) f->_base = sbrk(512); ; } ; f->_ptr = f->_base; ; if(f->_base == 0) goto m8; ; LO_CHAR(f->_cnt) = 0; ; if(c1 == 0) goto m9; ; HI_CHAR(f->_cnt) = 2; ; goto m10; ; m8: LO_CHAR(f->_cnt) = 0; ; m9: HI_CHAR(f->_cnt) = 0; ; m10: ; return f; ; } ; global _freopen global _fclose global __fcb global __iob global adiv global amul global _def_fcb global _bdos global _sbrk psect text _freopen: call csv push hl push hl ld l,(ix+10) ld h,(ix+11) push hl pop iy push hl call _fclose pop bc ld de,__iob push iy pop hl or a sbc hl,de ld de,8 call adiv ld a,l ld (iy+7),a ld l,a rla sbc a,a ld h,a ld de,41 call amul ld de,__fcb add hl,de ld (ix+-4),l ld (ix+-3),h ld (ix+-1),0 ld (ix+-2),15 ld a,(iy+6) and 79 ld (iy+6),a ld l,(ix+8) ld h,(ix+9) ld a,(hl) cp 'r' jr z,loc_6C55 cp 'w' jr nz,loc_6C65 inc (ix+-1) ld (ix+-2),22 loc_6C55: ld l,(ix+8) ld h,(ix+9) inc hl ld a,(hl) cp 'b' jr nz,loc_6C65 ld (iy+6),-128 loc_6C65: ld l,(ix+6) ld h,(ix+7) push hl ld l,(ix+-4) ld h,(ix+-3) push hl call _def_fcb pop bc pop bc ld a,(ix+-2) cp 22 ld l,(ix+-4) ld h,(ix+-3) push hl jr nz,loc_6C95 ld hl,19 push hl call _bdos pop bc ld l,(ix+-4) ld h,(ix+-3) ex (sp),hl loc_6C95: ld l,(ix+-2) ld h,0 push hl call _bdos pop bc pop bc ld a,l cp 255 jr nz,loc_6CAB ld hl,0 jp cret loc_6CAB: ld a,(ix+-1) or a jr nz,loc_6CB6 ld hl,1 jr loc_6CB9 loc_6CB6: ld hl,2 loc_6CB9: ld a,l ld e,(ix+-4) ld d,(ix+-3) ld hl,36 add hl,de ld (hl),a ld a,(ix+-1) inc a ld e,a ld a,(iy+6) or e ld (iy+6),a and 12 or a jr nz,loc_6CEC ld a,(iy+4) or (iy+5) jr nz,loc_6CEC ld hl,512 push hl call _sbrk pop bc ld (iy+4),l ld (iy+5),h loc_6CEC: ld l,(iy+4) ld h,(iy+5) ld (iy+0),l ld (iy+1),h ld a,l or (iy+5) jr z,loc_6D0E ld a,(ix+-1) or a ld (iy+2),0 jr z,loc_6D12 ld (iy+3),2 jr loc_6D16 loc_6D0E: ld (iy+2),0 loc_6D12: ld (iy+3),0 loc_6D16: push iy pop hl jp cret ;========================================================= ; 75FA flsbuf Push next buffer to file ;========================================================= ; int _flsbuf(int c, register FILE * f) { ; struct fcb * p; ; ; sub_77F5(); /* Test ^c */ ; p = _fcb + (f - stdin); ; ; if(f->_flag & _IOWRT) { ; if(f->_base == (char *)NULL) { ; f->_cnt = 0; ; if((char)(p->rwp) == 4) { ; bdos(CPMWCON, c); ; return c; ; } ; return -1; ; } else { ; fflush(f); ; *(f->_ptr++) = c; ; f->_cnt--; ; } ; return c; ; } ; return -1; ; } ; global __flsbuf global _sub_77F5 global __fcb global __iob global adiv global amul global _bdos global _fflush psect text __flsbuf: call csv push hl ld l,(ix+8) ld h,(ix+9) push hl pop iy call _sub_77F5 ld de,__iob push iy pop hl or a sbc hl,de ld de,8 call adiv ld de,41 call amul ld de,__fcb add hl,de ld (ix+-2),l ld (ix+-1),h bit 1,(iy+6) jr z,loc_7689 ld a,(iy+4) or (iy+5) jr nz,loc_7662 ld (iy+2),0 ld (iy+3),0 ex de,hl ld hl,36 add hl,de ld a,(hl) cp 4 jr nz,loc_7689 ld l,(ix+6) ld h,(ix+7) push hl ld hl,2 push hl call _bdos pop bc pop bc loc_7659: ld l,(ix+6) ld h,(ix+7) jp cret loc_7662: push iy call _fflush pop bc ld a,(ix+6) ld l,(iy+0) ld h,(iy+1) inc hl ld (iy+0),l ld (iy+1),h dec hl ld (hl),a ld l,(iy+2) ld h,(iy+3) dec hl ld (iy+2),l ld (iy+3),h jr loc_7659 loc_7689: ld hl,-1 jp cret ;========================================================= ; sub_77F5 Test ^c ;========================================================= ; #define CPMRCON 1 /* read console */ ; #define CPMICON 11 /* interrogate console ready */ ; ; char sub_77F5() { /* Test ^c */ ; char * st; ; ; if(bdos(CPMICON) == 0) return; /* status console */ ; if(( *st=bdos(CPMRCON)) != 3) return; /* read console */ ; exit(); ; } ; global _sub_77F5 global _exit psect text _sub_77F5: call csv push hl ld hl,11 ; CPMICON - interrogate console ready push hl call _bdos pop bc ld a,l or a jp z,cret ld hl,1 ; CPMRCON - read console push hl call _bdos pop bc ld e,l ld (ix+-1),e ld a,e cp 3 jp nz,cret call _exit jp cret ;========================================================= ; sub_70F8 def_fcb Define FCB fields ;========================================================= ; char def_fcb(register struct fcb * fc, char * fname) { ; char * cp; ; ; fc->dr = 0; ; if(*(fname+1) == ':') { ; fc->dr = *(fname) & 0xf; ; fname += 2; ; } ; cp = &fc->name; ; while((*fname != '.') ; && ('\t' < *fname) ; && (cp < &fc->ft)) *(cp++) = toupper(*(fname++)); ; while(cp < &fc->ft) *(cp++) = ' '; ; do {if(*fname == 0) break;} while(*(fname++) != '.'); ; while(('\t' < *(fname)) ; && (cp < (char*)&fc->ex)) *(cp++) = toupper(*(++fname)); ; while(cp <= (char*)&fc->ex) *(cp++) = ' '; ; fc->ex = fc->nr = 0; ; return 0; ; } ; global _def_fcb global _toupper global wrelop psect text _def_fcb: call csv push hl ld l,(ix+6) ld h,(ix+7) push hl pop iy ld (iy+0),0 ld l,(ix+8) ld h,(ix+9) inc hl ld a,(hl) cp 58 jr nz,loc_712D dec hl ld a,(hl) ld l,a rla ld a,l and 15 ld (iy+0),a ld l,(ix+8) ld h,(ix+9) inc hl inc hl ld (ix+8),l ld (ix+9),h loc_712D: push iy pop hl inc hl ld (ix+-2),l ld (ix+-1),h jr loc_7160 loc_7139: ld l,(ix+8) ld h,(ix+9) ld a,(hl) inc hl ld (ix+8),l ld (ix+9),h ld l,a rla sbc a,a ld h,a push hl call _toupper pop bc ld e,l ld l,(ix+-2) ld h,(ix+-1) inc hl ld (ix+-2),l ld (ix+-1),h dec hl ld (hl),e loc_7160: ld l,(ix+8) ld h,(ix+9) ld a,(hl) cp 46 jr z,loc_719E ld a,(hl) ld e,a rla sbc a,a ld d,a ld hl,9 call wrelop push iy pop de ld hl,9 jp p,loc_71A4 add hl,de ex de,hl ld l,(ix+-2) ld h,(ix+-1) call wrelop jr c,loc_7139 jr loc_719E loc_718E: ld l,(ix+-2) ld h,(ix+-1) inc hl ld (ix+-2),l ld (ix+-1),h dec hl ld (hl),32 loc_719E: push iy pop de ld hl,9 loc_71A4: add hl,de ex de,hl ld l,(ix+-2) ld h,(ix+-1) call wrelop jr c,loc_718E loc_71B1: ld l,(ix+8) ld h,(ix+9) ld a,(hl) or a ld a,(hl) jr z,loc_71F7 inc hl ld (ix+8),l ld (ix+9),h cp 46 jr nz,loc_71B1 jr loc_71F0 loc_71C9: ld l,(ix+8) ld h,(ix+9) ld a,(hl) inc hl ld (ix+8),l ld (ix+9),h ld l,a rla sbc a,a ld h,a push hl call _toupper pop bc ld e,l ld l,(ix+-2) ld h,(ix+-1) inc hl ld (ix+-2),l ld (ix+-1),h dec hl ld (hl),e loc_71F0: ld l,(ix+8) ld h,(ix+9) ld a,(hl) loc_71F7: ld e,a rla sbc a,a ld d,a ld hl,9 call wrelop push iy pop de ld hl,12 jp p,loc_722F add hl,de ex de,hl ld l,(ix+-2) ld h,(ix+-1) call wrelop jr c,loc_71C9 jr loc_7229 loc_7219: ld l,(ix+-2) ld h,(ix+-1) inc hl ld (ix+-2),l ld (ix+-1),h dec hl ld (hl),32 loc_7229: push iy pop de ld hl,12 loc_722F: add hl,de ex de,hl ld l,(ix+-2) ld h,(ix+-1) call wrelop jr c,loc_7219 xor a ld (iy+32),a ld (iy+12),a ld l,a jp cret psect data ; extern unsigned char _ctype_[]; /* in libc.lib */ __ctype_: ;81h defb 00H,20H,20H,20H,20H,20H,20H defb 20H,20H,20H,08H,08H,08H,08H,08H,20H,20H,20H,20H,20H,20H,20H,20H defb 20H,20H,20H,20H,20H,20H,20H,20H,20H,20H,08H,10H,10H,10H,10H,10H defb 10H,10H,10H,10H,10H,10H,10H,10H,10H,10H,04H,04H,04H,04H,04H,04H defb 04H,04H,04H,04H,10H,10H,10H,10H,10H,10H,10H,41H,41H,41H,41H,41H defb 41H,01H,01H,01H,01H,01H,01H,01H,01H,01H,01H,01H,01H,01H,01H,01H defb 01H,01H,01H,01H,01H,10H,10H,10H,10H,10H,10H,42H,42H,42H,42H,42H defb 42H,02H,02H,02H,02H,02H,02H,02H,02H,02H,02H,02H,02H,02H,02H,02H defb 02H,02H,02H,02H,02H,10H,10H,10H,10H,20H ; #if z80 ; #define MAXFILE 8 /* max number of files open */ ; #else z80 ; #define MAXFILE 15 /* max number of files open */ ; #endif z80 ; #define SECSIZE 128 /* no. of bytes per sector */ ; ; extern struct fcb { ; uchar dr; /* drive code */ ; char name[8]; /* file name */ ; char ft[3]; /* file type */ ; uchar ex; /* file extent */ ; char fil[2]; /* not used */ ; char rc; /* number of records in present extent */ ; char dm[16]; /* CP/M disk map */ ; char nr; /* next record to read or write */ ; uchar ranrec[3]; /* random record number (24 bit no. ) */ ; long rwp; /* + 34 read/write pointer in bytes */ ; uchar use; /* use flag */ ; uchar uid; /* user id belonging to this file */ ; } _fcb[MAXFILE]; ; ; __fcb: ;150h ;stdin defb 00H,20H,20H,20H,20H,20H,20H,20H,20H,20H,20H,20H,00H,00H,00H,00H ;16 defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H ;32 defb 00H,00H defb 00H,00H ;34 defb 00H,00H,00H,00H,04H,00H ;stdout defb 00H,20H,20H,20H,20H,20H,20H,20H,20H,20H,20H,20H,00H,00H,00H,00H ;16 defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H ;32 defb 00H,00H defb 00H,00H ;34 defb 00H,00H,00H,00H,04H,00H ;stderr defb 00H,20H,20H,20H,20H,20H,20H,20H,20H,20H,20H,20H,00H,00H,00H,00H ;16 defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H ;32 defb 00H,00H defb 04H,00H ;34 defb 00H,00H,00H,00H,04H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H defb 00H,00H,00H,00H,00H,00H,00H,00H,00H
//////////////////////////////////////////////////////////////////////////////// // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// package mx.core { import flash.display.DisplayObjectContainer; import flash.events.Event; import flash.geom.Point; import flash.system.ApplicationDomain; /** * SpriteAsset is a subclass of the flash.display.Sprite class which * represents vector graphic images that you embed in an application. * It implements the IFlexDisplayObject interface, which makes it * possible for an embedded vector graphic image to be displayed in an Image * control, or to be used as a container background or a component skin. * * <p>The vector graphic image that you're embedding can be in an SVG file. * You can also embed a sprite symbol that is in a SWF file produced * by Flash. * In both cases, the MXML compiler autogenerates a class that extends * SpriteAsset to represent the embedded vector graphic image.</p> * * <p>You don't generally have to use the SpriteAsset class directly * when you write a Flex application. * For example, you can embed a sprite symbol from a SWF file and display * it in an Image control by writing the following:</p> * * <pre> * &lt;mx:Image id="logo" source="&#64;Embed(source='Assets.swf', symbol='Logo')"/&gt;</pre> * * <p>Or use it as the application's background image in CSS syntax * by writing the following:</p> * * <pre> * &lt;fx:Style&gt; * &#64;namespace mx "library://ns.adobe.com/flex/mx" * mx|Application { * backgroundImage: Embed(source="Assets.swf", symbol='Logo') * } * &lt;fx:Style/&gt;</pre> * * <p>without having to understand that the MXML compiler has created * a subclass of BitmapAsset for you.</p> * * <p>However, it may be useful to understand what is happening * at the ActionScript level. * To embed a vector graphic image in ActionScript, you declare a variable * of type Class, and put <code>[Embed]</code> metadata on it. * For example, you embed a sprite symbol from a SWF file like this:</p> * * <pre> * [Bindable] * [Embed(source="Assets.swf", symbol="Logo")] * private var logoClass:Class;</pre> * * <p>The MXML compiler notices that the Logo symbol in Assets.swf * is a sprite, autogenerates a subclass of the SpriteAsset class * to represent it, and sets your variable to be a reference to this * autogenerated class. * You can then use this class reference to create instances of the * SpriteAsset using the <code>new</code> operator, and use APIs * of the Sprite class on them:</p> * * <pre> * var logo:SpriteAsset = SpriteAsset(new logoClass()); * logo.rotation=45;</pre> * * <p>However, you rarely need to create SpriteAsset instances yourself * because image-related properties and styles can simply be set to an * image-producing class, and components will create image instances * as necessary. * For example, to display this vector graphic image in an Image control, * you can set the Image's <code>source</code> property to * <code>logoClass</code>. * In MXML you could do this as follows:</p> * * <pre> * &lt;mx:Image id="logo" source="{logoClass}"/&gt;</pre> * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject, IBorder, ILayoutDirectionElement { include "../core/Version.as"; // Softlink FlexVersion and MatrixUtil to remove dependencies of embeds on // framework classes. This helps to reduce swf size in AS-only projects. private static var FlexVersionClass:Class; private static var MatrixUtilClass:Class; //-------------------------------------------------------------------------- // // Constructor // //-------------------------------------------------------------------------- /** * Constructor. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function SpriteAsset() { super(); // Remember initial size as our measured size. _measuredWidth = width; _measuredHeight = height; if (FlexVersionClass == null) { var appDomain:ApplicationDomain = ApplicationDomain.currentDomain; if (appDomain.hasDefinition("mx.core::FlexVersion")) FlexVersionClass = Class(appDomain.getDefinition("mx.core::FlexVersion")); } if (FlexVersionClass && FlexVersionClass["compatibilityVersion"] >= FlexVersionClass["VERSION_4_0"]) this.addEventListener(Event.ADDED, addedHandler); } //-------------------------------------------------------------------------- // // Variables // //-------------------------------------------------------------------------- // Softlink AdvancedLayoutFeatures to remove dependencies of embeds on // framework classes. This helps to reduce swf size in AS-only projects. private var layoutFeaturesClass:Class; private var layoutFeatures:IAssetLayoutFeatures; //-------------------------------------------------------------------------- // // Overridden Properties // //-------------------------------------------------------------------------- //---------------------------------- // x //---------------------------------- /** * @private */ override public function get x():Number { // TODO(hmuller): by default get x returns transform.matrix.tx rounded to the nearest 20th. // should do the same here, if we're returning layoutFeatures.layoutX. return (layoutFeatures == null) ? super.x : layoutFeatures.layoutX; } /** * @private */ override public function set x(value:Number):void { if (x == value) return; if (layoutFeatures == null) { super.x = value; } else { layoutFeatures.layoutX = value; validateTransformMatrix(); } } //---------------------------------- // y //---------------------------------- /** * @private */ override public function get y():Number { return (layoutFeatures == null) ? super.y : layoutFeatures.layoutY; } /** * @private */ override public function set y(value:Number):void { if (y == value) return; if (layoutFeatures == null) { super.y = value; } else { layoutFeatures.layoutY = value; validateTransformMatrix(); } } //---------------------------------- // z //---------------------------------- /** * @private */ override public function get z():Number { return (layoutFeatures == null) ? super.z : layoutFeatures.layoutZ; } /** * @private */ override public function set z(value:Number):void { if (z == value) return; if (layoutFeatures == null) { super.z = value; } else { layoutFeatures.layoutZ = value; validateTransformMatrix(); } } //---------------------------------- // width //---------------------------------- /** * @private */ override public function get width():Number { if (layoutFeatures == null) return super.width; // Return bounding box width in mirroring case var p:Point; if (MatrixUtilClass != null) p = MatrixUtilClass["transformSize"](layoutFeatures.layoutWidth, _height, transform.matrix); return p ? p.x : super.width; } /** * @private */ override public function set width(value:Number):void { if (width == value) return; if (layoutFeatures == null) { super.width = value; } else { layoutFeatures.layoutWidth = value; // Calculate scaleX based on initial width. We set scaleX // here because resizing a BitmapAsset normally would adjust // the scale to match. layoutFeatures.layoutScaleX = measuredWidth != 0 ? value / measuredWidth : 0; validateTransformMatrix(); } } //---------------------------------- // height //---------------------------------- private var _height:Number; /** * @private */ override public function get height():Number { if (layoutFeatures == null) return super.height; // Return bounding box height in mirroring case var p:Point; if (MatrixUtilClass != null) p = MatrixUtilClass["transformSize"](layoutFeatures.layoutWidth, _height, transform.matrix); return p ? p.y : super.height; } /** * @private */ override public function set height(value:Number):void { if (height == value) return; if (layoutFeatures == null) { super.height = value; } else { _height = value; // Calculate scaleY based on initial height. We set scaleY // here because resizing a BitmapAsset normally would adjust // the scale to match. layoutFeatures.layoutScaleY = measuredHeight != 0 ? value / measuredHeight : 0; validateTransformMatrix(); } } //---------------------------------- // rotation //---------------------------------- /** * @private */ override public function get rotationX():Number { return (layoutFeatures == null) ? super.rotationX : layoutFeatures.layoutRotationX; } /** * @private */ override public function set rotationX(value:Number):void { if (rotationX == value) return; if (layoutFeatures == null) { super.rotationX = value; } else { layoutFeatures.layoutRotationX = value; validateTransformMatrix(); } } /** * @private */ override public function get rotationY():Number { return (layoutFeatures == null) ? super.rotationY : layoutFeatures.layoutRotationY; } /** * @private */ override public function set rotationY(value:Number):void { if (rotationY == value) return; if (layoutFeatures == null) { super.rotationY = value; } else { layoutFeatures.layoutRotationY = value; validateTransformMatrix(); } } /** * @private */ override public function get rotationZ():Number { return (layoutFeatures == null) ? super.rotationZ : layoutFeatures.layoutRotationZ; } /** * @private */ override public function set rotationZ(value:Number):void { if (rotationZ == value) return; if (layoutFeatures == null) { super.rotationZ = value; } else { layoutFeatures.layoutRotationZ = value; validateTransformMatrix(); } } /** * @private */ override public function get rotation():Number { return (layoutFeatures == null) ? super.rotation : layoutFeatures.layoutRotationZ; } /** * @private */ override public function set rotation(value:Number):void { // TODO (klin): rotation actually affects width and height as well. if (rotation == value) return; if (layoutFeatures == null) { super.rotation = value; } else { layoutFeatures.layoutRotationZ = value; validateTransformMatrix(); } } //---------------------------------- // scaleX //---------------------------------- /** * @private */ override public function get scaleX():Number { return (layoutFeatures == null) ? super.scaleX : layoutFeatures.layoutScaleX; } /** * @private */ override public function set scaleX(value:Number):void { if (scaleX == value) return; if (layoutFeatures == null) { super.scaleX = value; } else { layoutFeatures.layoutScaleX = value; layoutFeatures.layoutWidth = Math.abs(value) * measuredWidth; validateTransformMatrix(); } } //---------------------------------- // scaleY //---------------------------------- /** * @private */ override public function get scaleY():Number { return (layoutFeatures == null) ? super.scaleY : layoutFeatures.layoutScaleY; } /** * @private */ override public function set scaleY(value:Number):void { if (scaleY == value) return; if (layoutFeatures == null) { super.scaleY = value; } else { layoutFeatures.layoutScaleY = value; _height = Math.abs(value) * measuredHeight; validateTransformMatrix(); } } //---------------------------------- // scaleZ //---------------------------------- /** * @private */ override public function get scaleZ():Number { return (layoutFeatures == null) ? super.scaleZ : layoutFeatures.layoutScaleZ; } /** * @private */ override public function set scaleZ(value:Number):void { if (scaleZ == value) return; if (layoutFeatures == null) { super.scaleZ = value; } else { layoutFeatures.layoutScaleZ = value; validateTransformMatrix(); } } //-------------------------------------------------------------------------- // // Properties // //-------------------------------------------------------------------------- //---------------------------------- // layoutDirection //---------------------------------- // Use "ltr" instead of LayoutDirection.LTR to avoid depending // on that framework class. private var _layoutDirection:String = "ltr"; [Inspectable(category="General", enumeration="ltr,rtl")] /** * @inheritDoc * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4.1 */ public function get layoutDirection():String { return _layoutDirection; } public function set layoutDirection(value:String):void { if (value == _layoutDirection) return; _layoutDirection = value; invalidateLayoutDirection(); } //---------------------------------- // measuredHeight //---------------------------------- /** * @private * Storage for the measuredHeight property. */ private var _measuredHeight:Number; /** * @inheritDoc * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function get measuredHeight():Number { return _measuredHeight; } //---------------------------------- // measuredWidth //---------------------------------- /** * @private * Storage for the measuredWidth property. */ private var _measuredWidth:Number; /** * @inheritDoc * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function get measuredWidth():Number { return _measuredWidth; } //---------------------------------- // borderMetrics //---------------------------------- /** * @inheritDoc * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function get borderMetrics():EdgeMetrics { if (scale9Grid == null) { return EdgeMetrics.EMPTY; } else { return new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil(measuredWidth - scale9Grid.right), Math.ceil(measuredHeight - scale9Grid.bottom)); } } //-------------------------------------------------------------------------- // // Methods // //-------------------------------------------------------------------------- /** * @inheritDoc * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4.1 */ public function invalidateLayoutDirection():void { var p:DisplayObjectContainer = parent; // We check the closest parent's layoutDirection property // to create or destroy layoutFeatures if needed. while (p) { if (p is ILayoutDirectionElement) { // mirror is true if our layoutDirection differs from our parent's. var mirror:Boolean = _layoutDirection != null && ILayoutDirectionElement(p).layoutDirection != null && (_layoutDirection != ILayoutDirectionElement(p).layoutDirection); // If our layoutDirection is different from our parent's and if it used to // be the same, create layoutFeatures to handle mirroring. if (mirror && layoutFeatures == null) { initAdvancedLayoutFeatures(); if (layoutFeatures != null) { layoutFeatures.mirror = mirror; validateTransformMatrix(); } } else if (!mirror && layoutFeatures) { // If our layoutDirection is not different from our parent's and if // it used to be different, then recover our matrix and remove layoutFeatures. layoutFeatures.mirror = mirror; validateTransformMatrix(); layoutFeatures = null; } break; } p = p.parent; } } /** * @inheritDoc * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function move(x:Number, y:Number):void { this.x = x; this.y = y; } /** * @inheritDoc * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function setActualSize(newWidth:Number, newHeight:Number):void { width = newWidth; height = newHeight; } /** * @private */ private function addedHandler(event:Event):void { invalidateLayoutDirection(); } /** * @private * Initializes AdvancedLayoutFeatures for this asset when mirroring. */ private function initAdvancedLayoutFeatures():void { // Get AdvancedLayoutFeatures if it exists. if (layoutFeaturesClass == null) { var appDomain:ApplicationDomain = ApplicationDomain.currentDomain; if (appDomain.hasDefinition("mx.core::AdvancedLayoutFeatures")) layoutFeaturesClass = Class(appDomain.getDefinition("mx.core::AdvancedLayoutFeatures")); // Get MatrixUtil class if it exists if (MatrixUtilClass == null) { if (appDomain.hasDefinition("mx.utils::MatrixUtil")) MatrixUtilClass = Class(appDomain.getDefinition("mx.utils::MatrixUtil")); } } if (layoutFeaturesClass != null) { var features:IAssetLayoutFeatures = new layoutFeaturesClass(); features.layoutScaleX = scaleX; features.layoutScaleY = scaleY; features.layoutScaleZ = scaleZ; features.layoutRotationX = rotationX; features.layoutRotationY = rotationY; features.layoutRotationZ = rotation; features.layoutX = x; features.layoutY = y; features.layoutZ = z; features.layoutWidth = width; // for the mirror transform _height = height; // for backing storage layoutFeatures = features; } } /** * @private * Applies the transform matrix calculated by AdvancedLayoutFeatures * so that this bitmap will not be mirrored if a parent is mirrored. */ private function validateTransformMatrix():void { if (layoutFeatures != null) { if (layoutFeatures.is3D) super.transform.matrix3D = layoutFeatures.computedMatrix3D; else super.transform.matrix = layoutFeatures.computedMatrix; } } } }
package com.ankamagames.dofus.network.messages.game.inventory.items { import com.ankamagames.dofus.network.messages.game.inventory.exchanges.ExchangeObjectMessage; import com.ankamagames.jerakine.network.CustomDataWrapper; import com.ankamagames.jerakine.network.ICustomDataInput; import com.ankamagames.jerakine.network.ICustomDataOutput; import com.ankamagames.jerakine.network.INetworkMessage; import com.ankamagames.jerakine.network.utils.FuncTree; import flash.utils.ByteArray; public class ExchangeKamaModifiedMessage extends ExchangeObjectMessage implements INetworkMessage { public static const protocolId:uint = 1705; private var _isInitialized:Boolean = false; public var quantity:Number = 0; public function ExchangeKamaModifiedMessage() { super(); } override public function get isInitialized() : Boolean { return super.isInitialized && this._isInitialized; } override public function getMessageId() : uint { return 1705; } public function initExchangeKamaModifiedMessage(remote:Boolean = false, quantity:Number = 0) : ExchangeKamaModifiedMessage { super.initExchangeObjectMessage(remote); this.quantity = quantity; this._isInitialized = true; return this; } override public function reset() : void { super.reset(); this.quantity = 0; this._isInitialized = false; } override public function pack(output:ICustomDataOutput) : void { var data:ByteArray = new ByteArray(); this.serialize(new CustomDataWrapper(data)); writePacket(output,this.getMessageId(),data); } override public function unpack(input:ICustomDataInput, length:uint) : void { this.deserialize(input); } override public function unpackAsync(input:ICustomDataInput, length:uint) : FuncTree { var tree:FuncTree = new FuncTree(); tree.setRoot(input); this.deserializeAsync(tree); return tree; } override public function serialize(output:ICustomDataOutput) : void { this.serializeAs_ExchangeKamaModifiedMessage(output); } public function serializeAs_ExchangeKamaModifiedMessage(output:ICustomDataOutput) : void { super.serializeAs_ExchangeObjectMessage(output); if(this.quantity < 0 || this.quantity > 9007199254740992) { throw new Error("Forbidden value (" + this.quantity + ") on element quantity."); } output.writeVarLong(this.quantity); } override public function deserialize(input:ICustomDataInput) : void { this.deserializeAs_ExchangeKamaModifiedMessage(input); } public function deserializeAs_ExchangeKamaModifiedMessage(input:ICustomDataInput) : void { super.deserialize(input); this._quantityFunc(input); } override public function deserializeAsync(tree:FuncTree) : void { this.deserializeAsyncAs_ExchangeKamaModifiedMessage(tree); } public function deserializeAsyncAs_ExchangeKamaModifiedMessage(tree:FuncTree) : void { super.deserializeAsync(tree); tree.addChild(this._quantityFunc); } private function _quantityFunc(input:ICustomDataInput) : void { this.quantity = input.readVarUhLong(); if(this.quantity < 0 || this.quantity > 9007199254740992) { throw new Error("Forbidden value (" + this.quantity + ") on element of ExchangeKamaModifiedMessage.quantity."); } } } }
package com.splunk.properties { import com.jasongatt.controls.TextBlock; public class TextBlockPropertyParser extends LayoutSpritePropertyParser { // Private Static Properties private static var _instance:TextBlockPropertyParser; // Public Static Methods public static function getInstance() : TextBlockPropertyParser { var instance:TextBlockPropertyParser = TextBlockPropertyParser._instance; if (!instance) instance = TextBlockPropertyParser._instance = new TextBlockPropertyParser(); return instance; } // Protected Properties protected var textFormatPropertyParser:TextFormatPropertyParser; // Constructor public function TextBlockPropertyParser() { this.textFormatPropertyParser = TextFormatPropertyParser.getInstance(); } // Public Methods public override function stringToValue(propertyManager:PropertyManager, str:String) : * { if (ParseUtils.trimWhiteSpace(str) == "textBlock") return new TextBlock(); return null; } public override function valueToString(propertyManager:PropertyManager, value:*) : String { if (value is TextBlock) return "textBlock"; return null; } public override function registerProperties(propertyManager:PropertyManager, value:*) : void { super.registerProperties(propertyManager, value); if (value is TextBlock) { propertyManager.registerProperty("useBitmapRendering", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("useBitmapSmoothing", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("bitmapSmoothingSharpness", this.numberPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("bitmapSmoothingQuality", this.numberPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("overflowMode", this.stringPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("alwaysShowSelection", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("antiAliasType", this.stringPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("background", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("backgroundColor", this.numberPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("border", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("borderColor", this.numberPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("bottomScrollV", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("caretIndex", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("condenseWhite", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("defaultTextFormat", this.textFormatPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("displayAsPassword", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("embedFonts", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("gridFitType", this.stringPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("htmlText", this.stringPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("length", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("maxChars", this.numberPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("maxScrollH", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("maxScrollV", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("mouseWheelEnabled", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("numLines", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("restrict", this.stringPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("scrollH", this.numberPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("scrollV", this.numberPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("selectable", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("selectionBeginIndex", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("selectionEndIndex", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("sharpness", this.numberPropertyParser, this.getProperty, this.setProperty); //propertyManager.registerProperty("styleSheet", this.styleSheetPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("text", this.stringPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("textColor", this.numberPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("textHeight", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("textWidth", this.numberPropertyParser, this.getProperty); propertyManager.registerProperty("thickness", this.numberPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("type", this.stringPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("useRichTextClipboard", this.booleanPropertyParser, this.getProperty, this.setProperty); propertyManager.registerProperty("wordWrap", this.booleanPropertyParser, this.getProperty, this.setProperty); } } } }
/* * _________ __ __ * _/ / / /____ / /________ ____ ____ ___ * _/ / / __/ -_) __/ __/ _ `/ _ `/ _ \/ _ \ * _/________/ \__/\__/\__/_/ \_,_/\_, /\___/_//_/ * /___/ * * Tetragon : Game Engine for multi-platform ActionScript projects. * http://www.tetragonengine.com/ - Copyright (C) 2012 Sascha Balkau * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ package tetragon.util.structures { /** * Base interface for collection iterators. */ public interface IIterator { /** * Determines whether the iterator has more elements to iterate over. * * @return true if there is any other element to iterate over or false if not. */ function get hasNext():Boolean; /** * The next element that is iterated by the Iterator. * * @return The next element. */ function get next():*; /** * Removes the currently iterated element from the iterated collection and * returns it. * * @return The removed element. */ function remove():*; /** * Resets the iterator. */ function reset():void; } }
package com.d5power.net.httpd { import flash.events.Event; import flash.events.EventDispatcher; import flash.events.ProgressEvent; import flash.filesystem.File; import flash.filesystem.FileMode; import flash.filesystem.FileStream; import flash.net.Socket; import flash.utils.ByteArray; import flash.utils.IDataOutput; import flash.utils.clearTimeout; import flash.utils.setTimeout; [Event(name="complete", type="flash.events.Event")] public class HttpRequest extends EventDispatcher { public static var DEFAULT_FILE:String = 'index.html'; public static const TEXT_PLAIN:String="text/plain"; public static const TEXT_HTML:String="text/html"; public static const APPLICATION_X_WWW_FORM_URLENCODED:String="application/x-www-form-urlencoded"; public static const MULTIPART_FORM_DATA:String="multipart/form-data"; public static const APPLICATION_OCTET_STREAM:String="application/octet-stream"; public static const CONTENT_LENGTH:String="Content-Length"; public static const CONTENT_TYPE:String="Content-Type"; private const REG_ENCODEURL:RegExp =/([\w\d\.\/\:]+)\=([\w\d\%\.\/\:]+)/g; private const REG_URL:RegExp=/\?.*+$/g; private const REG_LINE:RegExp=/^[\w\d\-]+/; private const REG_KEYPAIR:RegExp=/\w+\=\"[^"]+\"/g; //对外属性 public var url:String; public var rawURL:String; public var method:String; public var version:String; public var header:Object={}; public var contentLength:int=0; public var contentType:String=TEXT_HTML; public var queryString:Object={}; public var post:Object={}; public var files:Object={}; private var sr:HttpRequestReader; private var _timeout:int; private var data:HttpFile=new HttpFile(); private var sw:IDataOutput; private var state:int=0; private var CLRF:Boolean=false; private var boundary:String; private var tmps:Array=[]; private var socket:Socket; private var _buffer:ByteArray=new ByteArray(); public function HttpRequest(socket:Socket) { this.socket=socket; this.socket.addEventListener(ProgressEvent.SOCKET_DATA,reader_header); sr=new HttpRequestReader(socket); this.reset_clock(); } /** * 重置时钟 */ private function reset_clock():void{ clearTimeout(_timeout); _timeout=setTimeout(reader_end,1000); } /** * 数据接收 * @param e */ private function reader_header(...args):void{ this.reset_clock(); var line:String; while(socket.connected && sr.readLine()){ line=sr.buffer.toString(); if(line!=""){ parse_header_line(line); }else{ parse_header_end(); socket.removeEventListener(ProgressEvent.SOCKET_DATA,reader_header); switch(contentType){ case TEXT_HTML: case TEXT_PLAIN: reader_end(); break; case APPLICATION_X_WWW_FORM_URLENCODED: _buffer.clear(); sr.byteReaded=0; socket.addEventListener(ProgressEvent.SOCKET_DATA,reader_post); reader_post(); break; case MULTIPART_FORM_DATA: sr.byteReaded=0; socket.addEventListener(ProgressEvent.SOCKET_DATA,reader_form_data); reader_form_data(); break; case APPLICATION_OCTET_STREAM: _buffer.clear(); sr.byteReaded=0; socket.addEventListener(ProgressEvent.SOCKET_DATA,reader_octet_stream); reader_octet_stream(); break; } break; } } } /** * 解析 APPLICATION_X_WWW_FORM_URLENCODED */ private function reader_post(...args):void{ this.reset_clock(); sr.readLine(); if (sr.byteReaded >= contentLength) { socket.removeEventListener(ProgressEvent.SOCKET_DATA, reader_post); parse_url_data(sr.buffer.toString(),post); reader_end(); } } /** * 解析 MULTIPART_FORM_DATA * @param args */ private function reader_form_data(...args):void{ var text:String,i:int,b:int,a:String,readFlag:Boolean=true; while(true){ readFlag=sr.readLine(); if(!readFlag) break; if(state==0){ if(sr.buffer.length>=this.boundary.length){ text=sr.buffer.toString(); if(text.indexOf(this.boundary)>=0){ state=1; } } }else if(state==1){ //解析Header text=sr.buffer.toString(); if(text.indexOf("Content-Disposition: form-data; ")==0){ data=new HttpFile(); var sps:Array=text.match(REG_KEYPAIR); for(i=0;i<sps.length;i++){ a=sps[i].replace(/[\'\"]/g,""); b=a.indexOf("="); if(b>0) data[a.substring(0,b)]=a.substring(b+1); } }else if(text.indexOf("Content-Type: ")==0){ data.contentType=text.replace("Content-Type: ",""); }else if(text==""){ if(data.filename){ var nf:File=requireTmp(); data.tmpFile=nf.nativePath; var fs:FileStream=new FileStream(); fs.open(nf,FileMode.APPEND); sw=fs; }else{ _buffer.clear(); sw=_buffer; } CLRF=false; state=2; } }else if(state==2){ if(sr.buffer.length<=this.boundary.length+10 && sr.buffer.length>=this.boundary.length && sr.buffer.toString().indexOf(this.boundary)>=0){ if(sw is FileStream){ (sw as FileStream).close(); this.files[data.name]=data; }else{ this.post[data.name]=_buffer.toString(); } state=1; }else{ if(CLRF){ sw.writeByte(13); sw.writeByte(10); } sw.writeBytes(sr.buffer,0,sr.buffer.length); CLRF=true; } } } if(sr.byteReaded==contentLength){ socket.removeEventListener(ProgressEvent.SOCKET_DATA,reader_form_data); _buffer.clear(); reader_end(); } } /** * 读取二进制流数据 */ private function reader_octet_stream(...args):void{ socket.readBytes(_buffer,_buffer.length,socket.bytesAvailable); if(_buffer.length>=contentLength){ reader_end(); } } /** * 流程处理结束 */ private function reader_end():void{ clearTimeout(_timeout); sr.dispose(); if(url==null || rawURL==null){ try{ socket.close(); }catch(e:Error){ } }else{ this.dispatchEvent(new Event(Event.COMPLETE)); } this._buffer.clear(); this.dispose(); } /** * 清空当前文件 */ private function dispose():void{ for(var i:int=0;i<this.tmps.length;i++){ var f:File=new File(this.tmps[i]); if(f.exists){ try{ f.deleteFileAsync(); }catch(e:Error){ } } } } /** * 处理文件头 */ private function parse_header_end():void{ if(header[CONTENT_LENGTH]){ contentLength=int(header[CONTENT_LENGTH]); }else{ contentLength=1024*512; } if(header[CONTENT_TYPE]){ var _l:Array=header[CONTENT_TYPE].split('; boundary='); if(_l.length==2){ contentType=_l[0]; boundary=_l[1]; }else{ contentType=header[CONTENT_TYPE]; } } } /** * 当前输入的流仅 octet stream 有效 * @return * */ public function get stream():ByteArray{ return _buffer; } /** * 处理头部 * @param text * */ private function parse_header_line(text:String):void{ var a:Object=text.match(REG_LINE); if(a.length!=1 || a.index!=0) return; var b:String=String(a[0]).toLowerCase(); if(b=="post" || b=="get"){ //第一行 var c:Array=text.split(/\s+/); if(c.length==3){ method=c[0]; rawURL=c[1]; version=c[2]; rawURL=rawURL && rawURL!='/' ? rawURL : DEFAULT_FILE; url=rawURL.replace(REG_URL,""); url=url.length>0 ? url.substr(1) : DEFAULT_FILE; parse_url_data(rawURL,queryString); } }else{ var poz:int=text.indexOf(": "); if(poz>0) header[text.substring(0,poz)]=text.substring(poz+2); } } /** * 处理字符post get数据 * @param text * @param data * */ private function parse_url_data(text:String,data:Object):void{ REG_ENCODEURL.lastIndex = 0; var list:Array = REG_ENCODEURL.exec(text); while (list != null) { if(data==queryString){ data[list[1]] =unescape(list[2]); }else{ try{ data[list[1]] = decodeURIComponent(list[2]); }catch(e:Error){ data[list[1]] = unescape(list[2]); } } list = REG_ENCODEURL.exec(text); } } /** * 请求一个临时文件 * @return */ private function requireTmp():File{ var f:File= new File(File.createTempFile().nativePath); tmps.push(f.nativePath); trace(f.nativePath); return f; } } }
/* Copyright (c) 2007 Ultraweb Development This file is part of Bojinx. Bojinx is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Bojinx is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Bojinx. If not, see <http://www.gnu.org/licenses/>. Pointer code taken from http://anotherflexdev.blogspot.com */ package com.bojinx.dialog.ui { import com.bojinx.dialog.DialogEvent; import com.bojinx.dialog.IDialog; import com.bojinx.dialog.IDialogAware; import com.bojinx.dialog.layout.DialogPosition; import com.bojinx.dialog.util.Bubble; import com.bojinx.dialog.util.TranslateUtil; import com.bojinx.dialog.wrapper.Dialog; import flash.display.GradientType; import flash.display.Graphics; import flash.events.Event; import flash.geom.Matrix; import flash.geom.Point; import flash.geom.Rectangle; import mx.core.FlexGlobals; import mx.events.MoveEvent; import mx.styles.CSSStyleDeclaration; import mx.styles.IStyleManager2; import mx.styles.StyleManager; import org.as3commons.ui.layer.Placement; import spark.components.SkinnableContainer; import spark.skins.*; [Style( name = "backgroundAlphas", type = "Array", format = "Number", inherit = "no" )] [Style( name = "backgroundColors", type = "Array", format = "Color", inherit = "no" )] [Style( name = "backgroundRatios", type = "Array", format = "Number", inherit = "no" )] [Style( name = "borderAlpha", type = "Number", format = "Length", inherit = "no" )] [Style( name = "borderColor", type = "uint", format = "Color", inherit = "no" )] [Style( name = "borderThickness", type = "Number", format = "Length", inherit = "no" )] [Style( name = "cornerRadius", type = "Number", format = "Length", inherit = "no" )] [Style( name = "distance", type = "Number", format = "Length", inherit = "no" )] [Style( name = "legPoint", type = "String", arrayType = "String", inherit = "no" )] [Style( name = "legSize", type = "Number", format = "Length", inherit = "no" )] /** * <p>A skinnable dialog container that will hold content * for the dialog plugin.</p> * * <p>You can replace this class with your own, you will need * to implement the <code>IDialogWindow</code> interface to use * it with the manager. You can also extend this class to save time.</p> * * <p><b>Note:</b> This container is not currently draggable.</p> * * <p>Default skin: <code>com.bojinx.plugins.dialog.DialogSkinnableWindowSkin</code></p> * * @manifest * @see com.bojinx.plugins.dialog.DialogSkinnableWindowSkin * @author wael * @since Jul 6, 2009 */ public class DialogBubbleWindow extends SkinnableContainer implements IDialogAware { /*============================================================================*/ /*= PUBLIC PROPERTIES */ /*============================================================================*/ private var _dialog:Dialog; public function set dialog( value:Dialog ):void { _dialog = value; if ( value ) { value.addEventListener( DialogEvent.UPDATE, onUpdate ); } } private var _dragEnabled:Boolean; /** @private */ public function get dragEnabled():Boolean { return _dragEnabled; } /** * <p>Sets the draggable state</p> */ public function set dragEnabled( value:Boolean ):void { _dragEnabled = value; } public var session:Dialog; /*============================================================================*/ /*= PRIVATE PROPERTIES */ /*============================================================================*/ private var _complete:Boolean = false; private var contentChanged:Boolean = false; private var mo:Number = 0; private var position:Placement = new Placement(); private var useOffset:Point = new Point(); /** @private */ public function DialogBubbleWindow() { super(); addEventListener( MoveEvent.MOVE, onMove ); } /*============================================================================*/ /*= STATIC PRIVATE PROPERTIES */ /*============================================================================*/ private static var stylesInited:Boolean = initStyles(); /*============================================================================*/ /*= STATIC PRIVATE METHODS */ /*============================================================================*/ /** * Default Style */ private static function initStyles():Boolean { var sm:IStyleManager2 = StyleManager.getStyleManager( null ); var selector:CSSStyleDeclaration = sm.getStyleDeclaration( "com.bojinx.dialog.ui.DialogBubbleWindow" ); if ( !selector ) { selector = new CSSStyleDeclaration(); sm.setStyleDeclaration( "com.bojinx.dialog.ui.DialogBubbleWindow", selector, true ); } selector.defaultFactory = function():void { this.skinClass = DialogBubbleWindowSkin; this.borderColor = 0XCCCCCC; this.backgroundColor = 0XCCCCCC; this.alpha = 1; this.borderThickness = 1; this.backgroundAlpha = 1; this.borderAlpha = 1; this.legSize = 10; this.cornerRadius = 10; this.legPoint = [ "L20", "L-10" ]; this.color = 0XFFFFFF; } return true; } /*============================================================================*/ /*= PUBLIC METHODS */ /*============================================================================*/ public function dialogChanged( session:Dialog ):void { var legSize:Number = getStyle( "legSize" ); var l1:Number; var l2:Number; var distance:Number = getStyle( "distance" ); this.session = session; if ( isNaN( legSize )) { legSize = 10; } if ( isNaN( distance )) { distance = 10; } if ( _dialog.bindTo ) { l1 = 10; l2 = 20; // setStyle( "legPoint", [ "L" + l1, "L" + l2 ]); } } /*============================================================================*/ /*= PROTECTED METHODS */ /*============================================================================*/ protected function onUpdate( event:Event = null ):void { useOffset.x = _dialog.offSetX; useOffset.y = _dialog.offSetY; doUpdate(); } override protected function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void { onUpdate(); super.updateDisplayList( unscaledWidth, unscaledHeight ); } /*============================================================================*/ /*= PRIVATE METHODS */ /*============================================================================*/ private function doUpdate():void { var offset:Point = TranslateUtil.updateNoLockOffset( _dialog.dialogAnchor, _dialog.window.width + useOffset.x, _dialog.window.height + useOffset.y ); var offset2:Point = TranslateUtil.updateNoLockOffset( _dialog.bindToAnchor, _dialog.bindTo.width + useOffset.x, _dialog.bindTo.height + useOffset.y ); var distance:Number = getStyle( "distance" ); var L1:Number = 0; var L2:Number = 0; // if ( isNaN( distance )) // { distance = 15; // } // var pos:Placement = new Placement( this, _dialog.bindTo ); // pos.layerAnchor = TranslateUtil.translateAnchor( _dialog.bindToAnchor ); // pos.sourceAnchor = TranslateUtil.translateAnchor( _dialog.dialogAnchor ); // pos.place( false ); // The point on a global scale // Ie: If binding anchor is none this would be the // top left of the owner (0,0) on a global scale. var bindPoint:Point = _dialog.bindTo.localToGlobal( offset ); var dialogPoint:Point = _dialog.window.localToGlobal( offset ); switch ( _dialog.dialogAnchor ) { case DialogPosition.BOTTOM_MIDDLE: L1 = ( bindPoint.x - dialogPoint.x + offset2.x ); L2 = ( bindPoint.y - dialogPoint.y + offset2.y ); break; case DialogPosition.BOTTOM_RIGHT: L1 = ( bindPoint.x - dialogPoint.x + offset2.x - distance ); L2 = ( bindPoint.y - dialogPoint.y ); break; case DialogPosition.BOTTOM_LEFT: L1 = ( bindPoint.x - dialogPoint.x + offset2.x + ( distance )); L2 = ( bindPoint.y - dialogPoint.y + offset2.y - ( distance )); break; case DialogPosition.CENTRE: L1 = 0; L2 = 0; break; case DialogPosition.LEFT_MIDDLE: L1 = ( bindPoint.x - dialogPoint.x + offset2.x - distance ); L2 = ( bindPoint.y - dialogPoint.y + offset2.y ); break; case DialogPosition.RIGHT_MIDDLE: L1 = ( bindPoint.x - dialogPoint.x + offset2.x ); L2 = ( bindPoint.y - dialogPoint.y + offset2.y - distance ); break; case DialogPosition.TOP_LEFT: L1 = ( bindPoint.x - dialogPoint.x + distance ); L2 = ( bindPoint.y - dialogPoint.y + ( distance * 2 )); break; case DialogPosition.TOP_MIDDLE: L1 = ( bindPoint.x - dialogPoint.x + offset2.x ); L2 = ( bindPoint.y - dialogPoint.y + offset2.y + distance ); break; case DialogPosition.TOP_RIGHT: L1 = ( bindPoint.x - dialogPoint.x ); L2 = ( bindPoint.y - dialogPoint.y ); break; } if ( height > 20 && width > 20 ) { setStyle( "legPoint", [ "L" + L1, "L" + L2 ]); } else { setStyle( "legPoint", [ "L" + 0, "L" + 0 ]); } if ( skin ) { var g:Graphics; var borderThickness:Number = getStyle( "borderThickness" ); var legSize:Number = getStyle( "legSize" ); var cornerRadius:Number = getStyle( "cornerRadius" ); var backgroundColours:Array = getStyle( "backgroundColors" ); var backgroundAlphas:Array = getStyle( "backgroundAlphas" ); var backgroundRatios:Array = getStyle( "backgroundRatios" ); var borderColor:Number = getStyle( "borderColor" ); g = skin.graphics; var m:Matrix = new Matrix(); m.createGradientBox( 200, 100, 90 * Math.PI / 180, 80, 80 ); g.clear(); g.lineStyle( borderThickness, borderColor, 1, true ); g.beginGradientFill( GradientType.LINEAR, backgroundColours, backgroundAlphas, backgroundRatios, m ); Bubble.drawSpeechBubble( this.skin, new Rectangle( 0, 0, width, height ), 5, new Point( L1, L2 )); g.endFill(); // g = FlexGlobals.topLevelApplication.skin.grp.graphics; // g.beginFill( 0XFF0000, 1 ); // g.drawCircle( L1, L2, 5 ); // g.endFill(); } } private function onMove( event:MoveEvent ):void { useOffset.x = 0; useOffset.y = 0; doUpdate(); } } }
package com.deleidos.rtws.alertviz.events { import com.deleidos.rtws.alertviz.models.Alert; import flash.events.Event; public class TimelineCommandEvent extends Event { public static const COMMAND_KEY :String = "timelineCommand"; public static const SELECTED :String = COMMAND_KEY + ".selected"; public static const DESELECTED :String = COMMAND_KEY + ".deselected"; private var _alert:Alert; public function TimelineCommandEvent(type:String, alert:Alert, bubbles:Boolean=false, cancelable:Boolean=false) { super(type, bubbles, cancelable); _alert = alert; } public function get alert():Alert { return _alert; } public override function clone():Event { return new TimelineCommandEvent(type, _alert, bubbles, cancelable); } } }
package nid.xfl.compiler.swf.data.actions.swf5 { import nid.xfl.compiler.swf.data.actions.*; public class ActionInitObject extends Action implements IAction { public static const CODE:uint = 0x43; public function ActionInitObject(code:uint, length:uint) { super(code, length); } override public function toString(indent:uint = 0):String { return "[ActionInitObject]"; } } }
package com.vstyran.transform.controls { import mx.core.IVisualElement; /** * Interface for visual elements that can be used as anchor. * * @author Volodymyr Styranivskyi */ public interface IAnchor extends IVisualElement { /** * Function is called when anchor is being used by control. */ function activateAnchor():void; /** * Function is called when anchor is released by control. */ function deactivateAnchor():void; } }
package com.ankamagames.dofus.modules.utils.pathfinding.world { public class Transition { private var _type:int; private var _direction:int; private var _skillId:int; private var _criterion:String; private var _transitionMapId:Number; private var _cell:int; private var _id:uint; public function Transition(type:int, direction:int, skillId:int, criterion:String, transitionMapId:Number, cell:int, id:uint) { super(); this._type = type; this._direction = direction; this._skillId = skillId; this._criterion = criterion; this._transitionMapId = transitionMapId; this._cell = cell; this._id = id; } public function get type() : int { return this._type; } public function get direction() : int { return this._direction; } public function get skillId() : int { return this._skillId; } public function get criterion() : String { return this._criterion; } public function get cell() : int { return this._cell; } public function get transitionMapId() : Number { return this._transitionMapId; } public function get id() : uint { return this._id; } public function toString() : String { return "Transition{_type=" + String(this._type) + ",_direction=" + String(this._direction) + ",_skillId=" + String(this._skillId) + ",_criterion=" + String(this._criterion) + ",_transitionMapId=" + String(this._transitionMapId) + ",_cell=" + String(this._cell) + ",_id=" + String(this._id) + "}"; } } }
package kabam.rotmg.messaging.impl.incoming { import flash.utils.IDataInput; public class QuestObjId extends IncomingMessage { public function QuestObjId(id:uint, callback:Function) { super(id, callback); } public var objectId_:int; override public function parseFromInput(data:IDataInput):void { this.objectId_ = data.readInt(); } override public function toString():String { return formatToString("QUESTOBJID", "objectId_"); } } }
/////////////////////////////////////////////////////////////////////////// // Copyright (c) 2008-2013 Esri. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /////////////////////////////////////////////////////////////////////////// package com.esri.ags.samples.events { import com.esri.ags.FeatureSet; import flash.events.Event; /** * Represents event objects that are specific to the ArcGISHeatMapLayer. * * @see com.esri.ags.samples.layers.ArcGISHeatMapLayer */ public class HeatMapEvent extends Event { /** * The number of features used in generating the heatmap layer. */ public var count:Number; /** * The featureset returned by the query issued by the ArcGISHeatMapLayer. */ public var featureSet:FeatureSet; /** * Defines the value of the <code>type</code> property of an refreshStart event object. * * @eventType refreshStart */ public static const REFRESH_START:String = "refreshStart"; /** * Defines the value of the <code>type</code> property of an refreshEnd event object. * * @eventType refreshEnd */ public static const REFRESH_END:String = "refreshEnd"; /** * Creates a new HeatMapEvent. * * @param type The event type; indicates the action that triggered the event. */ public function HeatMapEvent(type:String, count:Number = NaN, featureSet:FeatureSet = null) { super(type); this.count = count; this.featureSet = featureSet; } /** * @private */ override public function clone():Event { return new HeatMapEvent(type, count, featureSet); } /** * @private */ override public function toString():String { return formatToString("HeatMapEvent", "type", "count", "featureSet"); } } }
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. function switchTest() { var x = 10; switch (x) { case 10: return 50; default: return 30; } return 100; } print(switchTest());
package { import flash.text.Font; public class $Controller_Buttons extends Font { public function $Controller_Buttons() { // constructor code } } }
package com.adobe.nativeExtensions.maps { import com.adobe.nativeExtensions.maps.overlays.Marker; import flash.events.Event; public class MapEvent extends Event { // Original Events public static var MAP_LOAD_ERROR:String = "mapevent_maploaderror"; public static var TILES_LOADED_PENDING:String = "mapevent_tilesloadedpending"; public static var TILES_LOADED:String = "mapevent_tilesloaded"; // Added Events public static var DETAIL_BUTTON_PRESSED:String = "mapevent_detailbuttonpressed"; public static var PIN_SELECTED:String = "mapevent_pinselect"; public static var PIN_DESELECTED:String = "mapevent_pindeselect"; public static var USER_LOCATION_CLICKED:String = "mapevent_userlocationclick"; public static var USER_LOCATION_UPDATE:String = "mapevent_userlocationupdate"; public static var USER_LOCATION_FAIL_TO_LOCATE_USER_WITH_ERROR:String = "mapevent_userlocationerror"; public static var USER_LOCATION_FAIL_TO_LOCATE_USER:String = "mapevent_userlocationfail"; public static var USER_LOCATION_UPDATE_STARTED:String = "mapevent_userlocationstart"; public static var USER_LOCATION_UPDATE_STOPPED:String = "mapevent_userlocationstop"; private var _data:Object; public function MapEvent(type:String, feature:Object=null, bubbles:Boolean=false, cancelable:Boolean=false) { super(type, bubbles, cancelable); _data = feature; trace("_data",_data); } /*/ override public function get target():Object { return _data; } //*/ public function get marker():Marker { return _data as Marker; } public function get markerId():int { var mark:Marker = _data as Marker; return mark.myId; // Function not working // return _data.myId; } } }
package serverProto.fight { import com.netease.protobuf.Message; import com.netease.protobuf.fieldDescriptors.FieldDescriptor$TYPE_MESSAGE; import com.netease.protobuf.fieldDescriptors.FieldDescriptor$TYPE_SINT32; import com.netease.protobuf.WireType; import serverProto.inc.ProtoRetInfo; import com.netease.protobuf.WritingBuffer; import com.netease.protobuf.WriteUtils; import flash.utils.IDataInput; import com.netease.protobuf.ReadUtils; import flash.errors.IOError; public final class ProtoWatchFightReadyResponse extends Message { public static const RET:FieldDescriptor$TYPE_MESSAGE = new FieldDescriptor$TYPE_MESSAGE("serverProto.fight.ProtoWatchFightReadyResponse.ret","ret",1 << 3 | WireType.LENGTH_DELIMITED,ProtoRetInfo); public static const ACTION:FieldDescriptor$TYPE_MESSAGE = new FieldDescriptor$TYPE_MESSAGE("serverProto.fight.ProtoWatchFightReadyResponse.action","action",2 << 3 | WireType.LENGTH_DELIMITED,ProtoMetaAction); public static const NEED_LOAD_RES_PLAYER_LIST:FieldDescriptor$TYPE_MESSAGE = new FieldDescriptor$TYPE_MESSAGE("serverProto.fight.ProtoWatchFightReadyResponse.need_load_res_player_list","needLoadResPlayerList",3 << 3 | WireType.LENGTH_DELIMITED,ProtoAllNeedLoadResPlayerList); public static const ENCHANTMENT_ID:FieldDescriptor$TYPE_SINT32 = new FieldDescriptor$TYPE_SINT32("serverProto.fight.ProtoWatchFightReadyResponse.enchantment_id","enchantmentId",4 << 3 | WireType.VARINT); public var ret:ProtoRetInfo; private var action$field:serverProto.fight.ProtoMetaAction; private var need_load_res_player_list$field:serverProto.fight.ProtoAllNeedLoadResPlayerList; private var enchantment_id$field:int; private var hasField$0:uint = 0; public function ProtoWatchFightReadyResponse() { super(); } public function clearAction() : void { this.action$field = null; } public function get hasAction() : Boolean { return this.action$field != null; } public function set action(param1:serverProto.fight.ProtoMetaAction) : void { this.action$field = param1; } public function get action() : serverProto.fight.ProtoMetaAction { return this.action$field; } public function clearNeedLoadResPlayerList() : void { this.need_load_res_player_list$field = null; } public function get hasNeedLoadResPlayerList() : Boolean { return this.need_load_res_player_list$field != null; } public function set needLoadResPlayerList(param1:serverProto.fight.ProtoAllNeedLoadResPlayerList) : void { this.need_load_res_player_list$field = param1; } public function get needLoadResPlayerList() : serverProto.fight.ProtoAllNeedLoadResPlayerList { return this.need_load_res_player_list$field; } public function clearEnchantmentId() : void { this.hasField$0 = this.hasField$0 & 4.294967294E9; this.enchantment_id$field = new int(); } public function get hasEnchantmentId() : Boolean { return (this.hasField$0 & 1) != 0; } public function set enchantmentId(param1:int) : void { this.hasField$0 = this.hasField$0 | 1; this.enchantment_id$field = param1; } public function get enchantmentId() : int { return this.enchantment_id$field; } override final function writeToBuffer(param1:WritingBuffer) : void { var _loc2_:* = undefined; WriteUtils.writeTag(param1,WireType.LENGTH_DELIMITED,1); WriteUtils.write$TYPE_MESSAGE(param1,this.ret); if(this.hasAction) { WriteUtils.writeTag(param1,WireType.LENGTH_DELIMITED,2); WriteUtils.write$TYPE_MESSAGE(param1,this.action$field); } if(this.hasNeedLoadResPlayerList) { WriteUtils.writeTag(param1,WireType.LENGTH_DELIMITED,3); WriteUtils.write$TYPE_MESSAGE(param1,this.need_load_res_player_list$field); } if(this.hasEnchantmentId) { WriteUtils.writeTag(param1,WireType.VARINT,4); WriteUtils.write$TYPE_SINT32(param1,this.enchantment_id$field); } for(_loc2_ in this) { super.writeUnknown(param1,_loc2_); } } override final function readFromSlice(param1:IDataInput, param2:uint) : void { /* * Decompilation error * Code may be obfuscated * Tip: You can try enabling "Automatic deobfuscation" in Settings * Error type: IndexOutOfBoundsException (Index: 4, Size: 4) */ throw new flash.errors.IllegalOperationError("Not decompiled due to error"); } } }
//////////////////////////////////////////////////////////////////////////////// // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// package org.apache.royale.jewel.supportClasses.card { import org.apache.royale.jewel.Card; import org.apache.royale.jewel.VContainer; /** * The CardPrimaryContent class is a the main container for Cards. * Adding this container means we want a more complex card structure * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.9.7 */ public class CardPrimaryContent extends VContainer { /** * constructor. * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.9.7 */ public function CardPrimaryContent() { super(); typeNames = "card-primary-content"; } /** * This container means Card structure is complex, so we remove Card's simple style * that is set by default on the Card * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.9.7 */ override public function addedToParent():void { super.addedToParent(); if(parent is Card) { var parentCard:Card = parent as Card; parentCard.gap = 0; parentCard.removeClass("simple"); } } } }
package com.illuzor.otherside.utils { import com.hurlant.crypto.prng.ARC4; import flash.utils.ByteArray; /** * ... * @author illuzor // illuzor.com */ public function encrypt(data:ByteArray, key:ByteArray):void { var encoder:ARC4 = new ARC4(key); encoder.encrypt(data); key.clear(); } }
// ================================================================================================= // // Starling Framework // Copyright Gamua GmbH. All Rights Reserved. // // This program is free software. You can redistribute and/or modify it // in accordance with the terms of the accompanying license agreement. // // ================================================================================================= package starling.display { import flash.geom.Point; import starling.geom.Polygon; import starling.rendering.IndexData; import starling.rendering.VertexData; /** A display object supporting basic vector drawing functionality. In its current state, * the main use of this class is to provide a range of forms that can be used as masks. */ public class Canvas extends DisplayObjectContainer { private var _polygons:Vector.<Polygon>; private var _fillColor:uint; private var _fillAlpha:Number; /** Creates a new (empty) Canvas. Call one or more of the 'draw' methods to add content. */ public function Canvas() { _polygons = new <Polygon>[]; _fillColor = 0xffffff; _fillAlpha = 1.0; touchGroup = true; } /** @inheritDoc */ public override function dispose():void { _polygons.length = 0; super.dispose(); } /** @inheritDoc */ public override function hitTest(localPoint:Point):DisplayObject { if (!visible || !touchable || !hitTestMask(localPoint)) return null; // we could also use the standard hit test implementation, but the polygon class can // do that much more efficiently (it contains custom implementations for circles, etc). for (var i:int = 0, len:int = _polygons.length; i < len; ++i) if (_polygons[i].containsPoint(localPoint)) return this; return null; } /** Draws a circle. */ public function drawCircle(x:Number, y:Number, radius:Number):void { appendPolygon(Polygon.createCircle(x, y, radius)); } /** Draws an ellipse. */ public function drawEllipse(x:Number, y:Number, width:Number, height:Number):void { var radiusX:Number = width / 2.0; var radiusY:Number = height / 2.0; appendPolygon(Polygon.createEllipse(x + radiusX, y + radiusY, radiusX, radiusY)); } /** Draws a rectangle. */ public function drawRectangle(x:Number, y:Number, width:Number, height:Number):void { appendPolygon(Polygon.createRectangle(x, y, width, height)); } /** Draws an arbitrary polygon. */ public function drawPolygon(polygon:Polygon):void { appendPolygon(polygon); } /** Specifies a simple one-color fill that subsequent calls to drawing methods * (such as <code>drawCircle()</code>) will use. */ public function beginFill(color:uint=0xffffff, alpha:Number=1.0):void { _fillColor = color; _fillAlpha = alpha; } /** Resets the color to 'white' and alpha to '1'. */ public function endFill():void { _fillColor = 0xffffff; _fillAlpha = 1.0; } /** Removes all existing vertices. */ public function clear():void { removeChildren(0, -1, true); _polygons.length = 0; } private function appendPolygon(polygon:Polygon):void { var vertexData:VertexData = new VertexData(); var indexData:IndexData = new IndexData(polygon.numTriangles * 3); polygon.triangulate(indexData); polygon.copyToVertexData(vertexData); vertexData.colorize("color", _fillColor, _fillAlpha); addChild(new Mesh(vertexData, indexData)); _polygons[_polygons.length] = polygon; } } }
package vehicles.model { import flash.geom.Point; import cadet.components.processes.KeyboardInputMapping; import cadet.core.CadetScene; import cadet.core.ComponentContainer; import cadet.util.ComponentUtil; import cadet2D.components.connections.Connection; import cadet2D.components.connections.Pin; import cadet2D.components.geom.AbstractGeometry; import cadet2D.components.geom.CircleGeometry; import cadet2D.components.geom.PolygonGeometry; import cadet2D.components.geom.RectangleGeometry; import cadet2D.components.processes.InputProcess2D; import cadet2D.components.processes.TrackCamera2DProcess; import cadet2D.components.renderers.Renderer2D; import cadet2D.components.skins.ConnectionSkin; import cadet2D.components.skins.GeometrySkin; import cadet2D.components.skins.PinSkin; import cadet2D.components.transforms.Transform2D; import cadet2D.geom.Vertex; import cadet2DBox2D.components.behaviours.DistanceJointBehaviour; import cadet2DBox2D.components.behaviours.IJoint; import cadet2DBox2D.components.behaviours.PrismaticJointBehaviour; import cadet2DBox2D.components.behaviours.RevoluteJointBehaviour; import cadet2DBox2D.components.behaviours.RigidBodyBehaviour; import cadet2DBox2D.components.processes.PhysicsProcess; import cadet2DBox2DVehicles.components.behaviours.VehicleSideViewBehaviour; import cadet2DBox2DVehicles.components.behaviours.VehicleUserControlBehaviour; import core.app.managers.ResourceManager; import starling.display.DisplayObjectContainer; import starling.events.Event; // This class constructs a CadetEngine 2D scene using the CadetEngine API public class SceneModel_Bike implements ISceneModel { private var _cadetScene :CadetScene; private var _renderer :Renderer2D; private var _resourceManager :ResourceManager; private var _parent :DisplayObjectContainer; private var _accelerateMapping :KeyboardInputMapping; private var _brakeMapping :KeyboardInputMapping; private var _steerLeftMapping :KeyboardInputMapping; private var _steerRightMapping :KeyboardInputMapping; private var _chassis :ComponentContainer; public function SceneModel_Bike( resourceManager:ResourceManager ) { _resourceManager = resourceManager; // Create a CadetScene _cadetScene = new CadetScene(); // Add a 2D Renderer to the scene _renderer = new Renderer2D(); _cadetScene.children.addItem(_renderer); // Add Physics Process var physics:PhysicsProcess = new PhysicsProcess(); _cadetScene.children.addItem(physics); // Track the motorbike chassis with a tracking camera var trackCamera:TrackCamera2DProcess = new TrackCamera2DProcess(); _cadetScene.children.addItem(trackCamera); createKeyboardMappings(); buildBike(); buildScene(); trackCamera.target = _chassis; } public function init(parent:DisplayObjectContainer):void { _parent = parent; _renderer.viewportWidth = _parent.stage.stageWidth; _renderer.viewportHeight = _parent.stage.stageHeight; _renderer.enableToExisting(_parent); _parent.addEventListener( starling.events.Event.ENTER_FRAME, enterFrameHandler ); } private function createKeyboardMappings():void { var inputProcess:InputProcess2D = new InputProcess2D(); _cadetScene.children.addItem(inputProcess); _accelerateMapping = new KeyboardInputMapping("ACCELERATE"); _accelerateMapping.input = KeyboardInputMapping.UP; inputProcess.children.addItem( _accelerateMapping ); _brakeMapping = new KeyboardInputMapping("BRAKE"); _brakeMapping.input = KeyboardInputMapping.DOWN; inputProcess.children.addItem( _brakeMapping ); _steerLeftMapping = new KeyboardInputMapping("STEER LEFT"); _steerLeftMapping.input = KeyboardInputMapping.LEFT; inputProcess.children.addItem(_steerLeftMapping); _steerRightMapping = new KeyboardInputMapping("STEER RIGHT"); _steerRightMapping.input = KeyboardInputMapping.RIGHT; inputProcess.children.addItem(_steerRightMapping); } private function buildScene():void { // Add floor entity to the scene var floor:ComponentContainer = createPhysicsEntity(createRectangleGeom(3000, 20), 0, 240, true, "floor"); _cadetScene.children.addItem(floor); // Add left wall entity to the scene var leftWall:ComponentContainer = createPhysicsEntity(createRectangleGeom(20, 230), 10, 10, true, "leftWall"); _cadetScene.children.addItem(leftWall); // Add right wall entity to the scene var rightWall:ComponentContainer = createPhysicsEntity(createRectangleGeom(20, 230), 2980, 10, true, "rightWall"); _cadetScene.children.addItem(rightWall); } private function buildBike():ComponentContainer { // Create motorbike container Entity var motorbike:ComponentContainer = new ComponentContainer("motorbike"); _cadetScene.children.addItem(motorbike); // Add VehicleUserControl to motorbike & link to KeyboardInputMappings var userControl:VehicleUserControlBehaviour = new VehicleUserControlBehaviour(); userControl.accelerateMapping = _accelerateMapping.name; userControl.brakeMapping = _brakeMapping.name; userControl.steerLeftMapping = _steerLeftMapping.name; userControl.steerRightMapping = _steerRightMapping.name; motorbike.children.addItem(userControl); // Add vehicle behaviour to motorbike var vehicleBehaviour:VehicleSideViewBehaviour = new VehicleSideViewBehaviour(); motorbike.children.addItem(vehicleBehaviour); // Add chassis entity var vertices:Array = new Array(new Vertex(0,0), new Vertex(110,-20), new Vertex(90,50), new Vertex(40,50)); _chassis = createPhysicsEntity(createPolygonGeom(vertices), 100, 100, false, "chassis"); motorbike.children.addItem(_chassis); // Add front wheel entity to motorbike var frontWheel:ComponentContainer = createPhysicsEntity(createCircleGeom(30), 240, 160, false, "frontWheel"); motorbike.children.addItem(frontWheel); // Add rear wheel entity to motorbike var rearWheel:ComponentContainer = createPhysicsEntity(createCircleGeom(30), 90, 160, false, "rearWheel"); motorbike.children.addItem(rearWheel); // Add front wheel block entity to motorbike var frontWheelBlock:ComponentContainer = createPhysicsEntity(createRectangleGeom(20, 20), 230, 150, false, "frontWheelBlock"); motorbike.children.addItem(frontWheelBlock); // Add rear wheel block entity to motorbike var rearWheelBlock:ComponentContainer = createPhysicsEntity(createRectangleGeom(20, 20), 80, 150, false, "rearWheelBlock"); motorbike.children.addItem(rearWheelBlock); // Front axle for front wheel var transformA:Transform2D = ComponentUtil.getChildOfType(frontWheelBlock, Transform2D); var transformB:Transform2D = ComponentUtil.getChildOfType(frontWheel, Transform2D); // Update the names of the transforms so it's clearer when inspecting the Pin joint in the editor transformA.name = "frontWheelBlock Transform2D"; transformB.name = "frontWheel Transform2D"; var frontAxle:ComponentContainer = createPinEntity(240, 160, transformA, transformB, new Point(10, 10), "frontAxle"); motorbike.children.addItem(frontAxle); // Rear axle for rear wheel transformA = ComponentUtil.getChildOfType(rearWheelBlock, Transform2D); transformB = ComponentUtil.getChildOfType(rearWheel, Transform2D); // Update the names of the transforms so it's clearer when inspecting the Pin joint in the editor transformA.name = "rearWheelBlock Transform2D"; transformB.name = "rearWheel Transform2D"; var rearAxle:ComponentContainer = createPinEntity(90, 160, transformA, transformB, new Point(10, 10), "rearAxle"); motorbike.children.addItem(rearAxle); // Add front suspension transformA = ComponentUtil.getChildOfType(_chassis, Transform2D); transformB = ComponentUtil.getChildOfType(frontWheelBlock, Transform2D); // Update the names of the transforms so it's clearer when inspecting the Pin joint in the editor transformA.name = "chassis Transform2D"; var frontSuspension:ComponentContainer = createConnectionEntity(transformA, transformB, new Point(90, 0), new Point(10, 10), createPrismaticJoint(true, 10), "frontSuspension"); motorbike.children.addItem(frontSuspension); // Add rear suspension transformB = ComponentUtil.getChildOfType(rearWheelBlock, Transform2D); var rearSuspension:ComponentContainer = createConnectionEntity(transformA, transformB, new Point(20, 10), new Point(10, 10), createPrismaticJoint(true, 10), "rearSuspension"); motorbike.children.addItem(rearSuspension); // Set vehicle behaviour properties vehicleBehaviour.frontDriveShaft = frontAxle; vehicleBehaviour.rearDriveShaft = rearAxle; vehicleBehaviour.chasis = _chassis; //vehicleBehaviour.maxTorque = -2; return motorbike; } /* createPhysicsEntity * Utility function: Creates a general purpose physics entity * receives a geometry argument */ private function createPhysicsEntity(geom:AbstractGeometry, x:Number = 0, y:Number = 0, fixed:Boolean = false, name:String = null):ComponentContainer { var entity:ComponentContainer = new ComponentContainer(); if (name) entity.name = name; entity.children.addItem(geom); // Add skin to entity var geomSkin:GeometrySkin = new GeometrySkin(); entity.children.addItem(geomSkin); // Add transform to entity var transform:Transform2D = new Transform2D(x, y); entity.children.addItem(transform); var rigidBody:RigidBodyBehaviour = new RigidBodyBehaviour(fixed); entity.children.addItem(rigidBody); return entity; } private function createPolygonGeom(vertices:Array):PolygonGeometry { var geom:PolygonGeometry = new PolygonGeometry(); geom.vertices = vertices; return geom; } private function createCircleGeom(radius:Number = 50):CircleGeometry { var geom:CircleGeometry = new CircleGeometry(); geom.radius = radius; return geom; } private function createRectangleGeom(width:Number = 50, height:Number = 50):RectangleGeometry { var geom:RectangleGeometry = new RectangleGeometry(width, height); return geom; } private function createPinEntity(x:Number, y:Number, transformA:Transform2D, transformB:Transform2D, localPos:Point = null, name:String = null):ComponentContainer { var vertex:Vertex = new Vertex(); if ( localPos ) { vertex.x = localPos.x; vertex.y = localPos.y; } var entity:ComponentContainer = new ComponentContainer(); if (name) entity.name = name; var pin:Pin = new Pin(); pin.transformA = transformA; pin.transformB = transformB; pin.localPos = vertex; entity.children.addItem(pin); var transform:Transform2D = new Transform2D(x, y); entity.children.addItem(transform); var skin:PinSkin = new PinSkin(); skin.radius = 5; entity.children.addItem(skin); var joint:RevoluteJointBehaviour = new RevoluteJointBehaviour(); entity.children.addItem(joint); return entity; } /* createConnectionEntity * Utility function: Creates a general purpose connection entity * receives an optional joint argument */ private function createConnectionEntity(transformA:Transform2D, transformB:Transform2D, pointA:Point = null, pointB:Point = null, joint:IJoint = null, name:String = null):ComponentContainer { var entity:ComponentContainer = new ComponentContainer(); if (name) entity.name = name; var vertexA:Vertex = new Vertex(); if ( pointA ) { vertexA.x = pointA.x; vertexA.y = pointA.y; } var vertexB:Vertex = new Vertex(); if ( pointB ) { vertexB.x = pointB.x; vertexB.y = pointB.y; } var connection:Connection = new Connection(); connection.transformA = transformA; connection.transformB = transformB; connection.localPosA = vertexA; connection.localPosB = vertexB; entity.children.addItem(connection); var skin:ConnectionSkin = new ConnectionSkin(); entity.children.addItem(skin); if (!joint) joint = new DistanceJointBehaviour(); entity.children.addItem(joint); return entity; } private function createPrismaticJoint(enableMotor:Boolean = false, maxMotorForce:Number = 1):PrismaticJointBehaviour { var joint:PrismaticJointBehaviour = new PrismaticJointBehaviour(); joint.enableMotor = enableMotor; joint.maxMotorForce = maxMotorForce return joint; } public function reset():void { } public function dispose():void { _cadetScene.dispose(); _parent.removeEventListener( starling.events.Event.ENTER_FRAME, enterFrameHandler ); } private function enterFrameHandler( event:starling.events.Event ):void { _cadetScene.step(); } public function get cadetScene():CadetScene { return _cadetScene; } public function set cadetScene( value:CadetScene ):void { _cadetScene = value; } } }
//////////////////////////////////////////////////////////////////////////////// // // ADOBE SYSTEMS INCORPORATED // Copyright 2007 Adobe Systems Incorporated // All Rights Reserved. // // NOTICE: Adobe permits you to use, modify, and distribute this file // in accordance with the terms of the license agreement accompanying it. // //////////////////////////////////////////////////////////////////////////////// package mx.core { import flash.display.Loader; import flash.events.Event; import flash.events.ErrorEvent; import flash.events.ProgressEvent; import flash.events.IOErrorEvent; import flash.events.SecurityErrorEvent; import flash.net.URLRequest; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.system.LoaderContext; import flash.system.ApplicationDomain; import flash.system.LoaderContext; import flash.system.Security; import flash.system.SecurityDomain; import flash.utils.ByteArray; //import flash.utils.getTimer; // PERFORMANCE_INFO import mx.core.RSLData; import mx.events.RSLEvent; import mx.utils.SHA256; import mx.utils.LoaderUtil; [ExcludeClass] /** * @private * Cross-domain RSL Item Class. * * The rsls are typically located on a different host than the loader. * There are signed and unsigned Rsls, both have a digest to confirm the * correct rsl is loaded. * Signed Rsls are loaded by setting the digest of the URLRequest. * Unsigned Rsls are check using actionScript to calculate a sha-256 hash of * the loaded bytes and compare them to the expected digest. * */ public class CrossDomainRSLItem extends RSLItem { include "../core/Version.as"; //-------------------------------------------------------------------------- // // Variables // //-------------------------------------------------------------------------- private var rsls:Array = []; // of type RSLInstanceData // private var rslUrls:Array; // first url is the primary url in the url parameter, others are failovers // private var policyFileUrls:Array; // optional policy files, parallel array to rslUrls // private var digests:Array; // option rsl digest, parallel array to rslUrls // private var isSigned:Array; // each entry is a boolean value. "true" if the rsl in the parallel array is signed // private var hashTypes:Array; // type of hash used to create the digest private var urlIndex:int = 0; // index into url being loaded in rslsUrls and other parallel arrays // this reference to the loader keeps the loader from being garbage // collected before the complete event can be sent. private var loadBytesLoader:Loader; // private var startTime:int; // PERFORMANCE_INFO //-------------------------------------------------------------------------- // // Constructor // //-------------------------------------------------------------------------- /** * Create a cross-domain RSL item to load. * * @param rsls Array of Objects. Each Object describes and RSL to load. * The first Object in the Array is the primary RSL and the others are * failover RSLs. * @param rootURL provides the url used to locate relative RSL urls. * @param moduleFactory The module factory that is loading the RSLs. The * RSLs will be loaded into the application domain of the given module factory. * If a module factory is not specified, then the RSLs will be loaded into the * application domain of where the CrossDomainRSLItem class was first loaded. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function CrossDomainRSLItem(rsls:Array, rootURL:String = null, moduleFactory:IFlexModuleFactory = null) { super(rsls[0].rslURL, rootURL, moduleFactory); this.rsls = rsls; // startTime = getTimer(); // PERFORMANCE_INFO } //-------------------------------------------------------------------------- // // Properties // //-------------------------------------------------------------------------- /** * Get the RSLData for the current RSL. This could be the primary RSL or one * of the failover RSLs. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ private function get currentRSLData():RSLData { return RSLData(rsls[urlIndex]); } //-------------------------------------------------------------------------- // // Overridden Methods // //-------------------------------------------------------------------------- /** * * Load an RSL. * * @param progressHandler receives ProgressEvent.PROGRESS events, may be null * @param completeHandler receives Event.COMPLETE events, may be null * @param ioErrorHandler receives IOErrorEvent.IO_ERROR events, may be null * @param securityErrorHandler receives SecurityErrorEvent.SECURITY_ERROR events, may be null * @param rslErrorHandler receives RSLEvent.RSL_ERROR events, may be null * * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ override public function load(progressHandler:Function, completeHandler:Function, ioErrorHandler:Function, securityErrorHandler:Function, rslErrorHandler:Function):void { chainedProgressHandler = progressHandler; chainedCompleteHandler = completeHandler; chainedIOErrorHandler = ioErrorHandler; chainedSecurityErrorHandler = securityErrorHandler; chainedRSLErrorHandler = rslErrorHandler; /* // Debug loading of swf files trace("begin load of " + url); if (Security.sandboxType == Security.REMOTE) { trace(" in REMOTE sandbox"); } else if (Security.sandboxType == Security.LOCAL_TRUSTED) { trace(" in LOCAL_TRUSTED sandbox"); } else if (Security.sandboxType == Security.LOCAL_WITH_FILE) { trace(" in LOCAL_WITH_FILE sandbox"); } else if (Security.sandboxType == Security.LOCAL_WITH_NETWORK) { trace(" in LOCAL_WITH_NETWORK sandbox"); } * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ var rslData:RSLData = currentRSLData; urlRequest = new URLRequest(LoaderUtil.createAbsoluteURL(rootURL, rslData.rslURL)); var loader:URLLoader = new URLLoader(); loader.dataFormat = URLLoaderDataFormat.BINARY; // We needs to listen to certain events. loader.addEventListener( ProgressEvent.PROGRESS, itemProgressHandler); loader.addEventListener( Event.COMPLETE, itemCompleteHandler); loader.addEventListener( IOErrorEvent.IO_ERROR, itemErrorHandler); loader.addEventListener( SecurityErrorEvent.SECURITY_ERROR, itemErrorHandler); if (rslData.policyFileURL != "") { Security.loadPolicyFile(rslData.policyFileURL); } if (rslData.isSigned) { // load a signed rsl by specifying the digest urlRequest.digest = rslData.digest; } // trace("start load of " + urlRequest.url + " at " + (getTimer() - startTime)); // PERFORMANCE_INFO loader.load(urlRequest); } //-------------------------------------------------------------------------- // // Methods // //-------------------------------------------------------------------------- /** * @private * Complete the load of the cross-domain rsl by loading it into the current * application domain. The load was started by loadCdRSL. * * @param - urlLoader from the complete event. * * @return - true if the load was completed successfully or unsuccessfully, * false if the load of a failover rsl was started */ private function completeCdRslLoad(urlLoader:URLLoader):Boolean { // handle player bug #204244, complete event without data after an error if (urlLoader == null || urlLoader.data == null || ByteArray(urlLoader.data).bytesAvailable == 0) { return true; } // load the bytes into the current application domain. loadBytesLoader = new Loader(); var context:LoaderContext = new LoaderContext(); var rslData:RSLData = currentRSLData; if (rslData.moduleFactory) { context.applicationDomain = rslData.moduleFactory.info()["currentDomain"]; } else if (moduleFactory) { context.applicationDomain = moduleFactory.info()["currentDomain"]; } else { context.applicationDomain = ApplicationDomain.currentDomain; } context.securityDomain = null; // Set the allowCodeImport flag so we can load the RSL without a security error. context.allowCodeImport = true; // verify the digest, if any, is correct if (rslData.digest != null && rslData.verifyDigest) { var verifiedDigest:Boolean = false; if (!rslData.isSigned) { // verify an unsigned rsl if (rslData.hashType == SHA256.TYPE_ID) { // get the bytes from the rsl and calculate the hash var rslDigest:String = null; if (urlLoader.data != null) { rslDigest = SHA256.computeDigest(urlLoader.data); } if (rslDigest == rslData.digest) { verifiedDigest = true; } } } else { // signed rsls are verified by the player verifiedDigest = true; } if (!verifiedDigest) { // failover to the next rsl, if one exists // no failover to load, all the rsls have failed to load // report an error. // B Feature: externalize error message var hasFailover:Boolean = hasFailover(); var rslError:ErrorEvent = new ErrorEvent(RSLEvent.RSL_ERROR); rslError.text = "Flex Error #1001: Digest mismatch with RSL " + urlRequest.url + ". Redeploy the matching RSL or relink your application with the matching library."; itemErrorHandler(rslError); return !hasFailover; } } // load the rsl into memory loadBytesLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadBytesCompleteHandler); loadBytesLoader.loadBytes(urlLoader.data, context); return true; } /** * Does the current url being processed have a failover? * * @return true if a failover url exists, false otherwise. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function hasFailover():Boolean { return (rsls.length > (urlIndex + 1)); } /** * Load the next url from the list of failover urls. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function loadFailover():void { // try to load the failover from the same node again if (urlIndex < rsls.length) { trace("Failed to load RSL " + currentRSLData.rslURL); trace("Failing over to RSL " + RSLData(rsls[urlIndex+1]).rslURL); urlIndex++; // move to failover url url = currentRSLData.rslURL; load(chainedProgressHandler, chainedCompleteHandler, chainedIOErrorHandler, chainedSecurityErrorHandler, chainedRSLErrorHandler); } } //-------------------------------------------------------------------------- // // Overridden Event Handlers // //-------------------------------------------------------------------------- /** * @private */ override public function itemCompleteHandler(event:Event):void { // trace("complete load of " + url + " at " + (getTimer() - startTime)); // PERFORMANCE_INFO // complete loading the cross-domain rsl by calling loadBytes. completeCdRslLoad(event.target as URLLoader); } /** * @private */ override public function itemErrorHandler(event:ErrorEvent):void { // trace("error loading " + url + " at " + (getTimer() - startTime)); // PERFORMANCE_INFO // if a failover exists, try to load it. Otherwise call super() // for default error handling. if (hasFailover()) { trace(decodeURI(event.text)); loadFailover(); } else { super.itemErrorHandler(event); } } /** * loader.loadBytes() has a complete event. * Done loading this rsl into memory. Call the completeHandler * to start loading the next rsl. * * @private */ private function loadBytesCompleteHandler(event:Event):void { loadBytesLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, loadBytesCompleteHandler); loadBytesLoader = null; super.itemCompleteHandler(event); } } }
package engine_starling.Events { public class CommandEvent { public function CommandEvent() { } public static const Event_Finshed:String = "Event_Finshed"; } }
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is [Open Source Virtual Machine.]. * * The Initial Developer of the Original Code is * Adobe System Incorporated. * Portions created by the Initial Developer are Copyright (C) 2005-2006 * the Initial Developer. All Rights Reserved. * * Contributor(s): * Adobe AS3 Team * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ package FinalFunctionName { // due to bug 106878, the base class definition must be first class TestNameObjInner { // constructor function TestNameObjInner() { res = "EmptyName"; } // not the constructor but looks like it final function testNameObjInner() { return "not the constructor" } final function a1 () { return "a1"; } final function a_1 () { return "a_1"; } final function _a1 () { return "_a1"; } final function __a1 () { return "__a1"; } final function _a1_ () { return "_a1_"; } final function __a1__ () { return "__a1__"; } final function $a1 () { return "$a1"; } final function a$1 () { return "a$1"; } final function a1$ () { return "a1$"; } final function A1 () { return "A1"; } final function cases () { return "cases"; } final function Cases () { return "Cases"; } final function abcdefghijklmnopqrstuvwxyz0123456789$_ () { return "all"; } } public class TestNameObj extends TestNameObjInner { public function pubTestConst() { return testNameObjInner(); } public function puba1 () { return a1(); } public function puba_1 () { return a_1(); } public function pub_a1 () { return _a1(); } public function pub__a1 () { return __a1(); } public function pub_a1_ () { return _a1_(); } public function pub__a1__ () { return __a1__(); } public function pub$a1 () { return $a1(); } public function puba$1 () { return a$1(); } public function puba1$ () { return a1$(); } public function pubA1 () { return A1(); } public function pubcases () { return cases(); } public function pubCases () { return Cases(); } public function puball () { return abcdefghijklmnopqrstuvwxyz0123456789$_(); } } }
/* * * Copyright (c) 2013 Sunag Entertainment * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of * the Software, and to permit persons to whom the Software is furnished to do so, * subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ package sunag.sea3d.field { public class FieldData { public var name:String; public var type:int; public var value:*; public function FieldData(name:String, type:int, value:*) { this.name = name; this.type = type; this.value = value; } } }
package { import flash.display.Sprite; import flash.events.Event; import cadet.core.CadetScene; import cadet.core.ComponentContainer; import cadet2D.components.geom.RectangleGeometry; import cadet2D.components.renderers.Renderer2D; import cadet2D.components.skins.GeometrySkin; import cadet2D.components.transforms.Transform2D; import cadet2DBox2D.components.behaviours.RigidBodyBehaviour; import cadet2DBox2D.components.behaviours.RigidBodyMouseDragBehaviour; import cadet2DBox2D.components.processes.PhysicsProcess; [SWF( width="700", height="400", backgroundColor="0x002135", frameRate="60" )] public class Box extends Sprite { private var cadetScene : CadetScene; public function Box() { cadetScene = new CadetScene(); var renderer:Renderer2D = new Renderer2D(); renderer.viewportWidth = stage.stageWidth; renderer.viewportHeight = stage.stageHeight; cadetScene.children.addItem(renderer); renderer.enable(this); var physicsProcess:PhysicsProcess = new PhysicsProcess(); cadetScene.children.addItem( physicsProcess ); // var debugDraw:DebugDrawProcess = new DebugDrawProcess(); // cadetScene.children.addItem( debugDraw ); var rotatingRectangle:ComponentContainer = addRectangleEntity( 300, 0, 60, 60, 46 ); // Create the floor. We pass 'true' as the 'fixed' property to make the floor static. addRectangleEntity( -200, stage.stageHeight-50, stage.stageWidth+200, 50, 0, true ); addEventListener(Event.ENTER_FRAME, enterFrameHandler); } private function addRectangleEntity( x:Number, y:Number, width:Number, height:Number, rotation:Number, fixed:Boolean = false ):ComponentContainer { var transform:Transform2D = new Transform2D(x, y, rotation); var skin:GeometrySkin = new GeometrySkin(); var entity:ComponentContainer = new ComponentContainer(); entity.children.addItem( transform ); entity.children.addItem( skin ); entity.children.addItem( new RectangleGeometry(width, height) ); entity.children.addItem( new RigidBodyBehaviour(fixed) ); entity.children.addItem( new RigidBodyMouseDragBehaviour() ); cadetScene.children.addItem(entity); return entity; } private function enterFrameHandler( event:Event ):void { cadetScene.step(); } } }
//////////////////////////////////////////////////////////////////////////////// // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// package spark.components { import flash.events.Event; import mx.core.ClassFactory; import mx.core.IFactory; import mx.core.mx_internal; import mx.utils.BitFlagUtil; import spark.components.supportClasses.DropDownController; import spark.core.ContainerDestructionPolicy; import spark.events.DropDownEvent; import spark.events.PopUpEvent; import spark.layouts.supportClasses.LayoutBase; use namespace mx_internal; //-------------------------------------- // Styles //-------------------------------------- [Exclude(name="repeatDelay", kind="style")] [Exclude(name="repeatInterval", kind="style")] //-------------------------------------- // Events //-------------------------------------- /** * Dispatched when the callout closes for any reason, such when: * <ul> * <li>The callout is programmatically closed.</li> * <li>The user clicks outside of the callout.</li> * <li>The user clicks the open button while the callout is * displayed.</li> * </ul> * * @eventType spark.events.DropDownEvent.CLOSE * * @langversion 3.0 * @playerversion AIR 3 * @productversion Flex 4.6 */ [Event(name="close", type="spark.events.DropDownEvent")] /** * Dispatched when the user clicks the open button * to display the callout. * * @eventType spark.events.DropDownEvent.OPEN * * @langversion 3.0 * @playerversion AIR 3 * @productversion Flex 4.6 */ [Event(name="open", type="spark.events.DropDownEvent")] //-------------------------------------- // Styles //-------------------------------------- /** * Specifies the delay, in milliseconds, to wait for opening the Callout * when the button is rolled over. * If set to <code>NaN</code>, then the Callout opens when clicking the button. * * @default NaN * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 3.8 * @productversion Flex 4.11 */ [Style(name="rollOverOpenDelay", type="Number", inherit="no",theme="spark",minValue="0")] //-------------------------------------- // Other metadata //-------------------------------------- [IconFile("Callout.png")] [DefaultProperty("calloutContent")] /** * The CalloutButton control is a drop down component that defines a button to * open and close a Callout container. * The CalloutButton specifies the layout and child components * of the Callout container. * * <p>The following image shows a Callout container under the CalloutButton * labeled 'Open callout':</p> * * <p> * <img src="../../images/ca_calloutButton_ca.png" alt="Callout button" /> * </p> * * <p>The CalloutButton control uses the spark.components.supportClasses.DropDownController * class to manage the Callout container. * You can access the DropDownController by using the protected * <code>CalloutButton.dropDownController</code> property.</p> * * <p>When the callout is open:</p> * <ul> * <li>Clicking the button closes the callout</li> * <li>Clicking outside of the callout closes the callout.</li> * </ul> * * <p>The CalloutButton component has the following default characteristics:</p> * <table class="innertable"> * <tr> * <th>Characteristic</th> * <th>Description</th> * </tr> * <tr> * <td>Default size</td> * <td>Wide enough to display the text label of the control</td> * </tr> * <tr> * <td>Minimum size</td> * <td>32 pixels wide and 43 pixels high</td> * </tr> * <tr> * <td>Maximum size</td> * <td>10000 pixels wide and 10000 pixels high</td> * </tr> * <tr> * <td>Default skin class</td> * <td>spark.skins.mobile.CalloutButtonSkin on mobile platforms <br/> * spark.skins.spark.CalloutButtonSkin on desktops</td> * </tr> * </table> * * @mxml * * <p>The <code>&lt;s:CalloutButton&gt;</code> tag inherits all of the tag * attributes of its superclass and adds the following tag attributes:</p> * * <pre> * &lt;s:CalloutButton * <strong>Properties</strong> * calloutDestructionPolicy="auto" * calloutLayout="BasicLayout" * horizontalPosition="auto" * verticalPosition="auto * * <strong>Events</strong> * open="<i>No default</i>" * close="<i>No default</i>" * ... * <i>child tags</i> * ... * &lt;/s:CalloutButton&gt; * </pre> * * @see spark.components.Callout * @see spark.components.Button * @see spark.components.supportClasses.DropDownController * * @includeExample examples/CalloutButtonExample.mxml -noswf * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public class CalloutButton extends Button { //-------------------------------------------------------------------------- // // Class constants // //-------------------------------------------------------------------------- /** * @private */ mx_internal static const CALLOUT_CONTENT_PROPERTY_FLAG:uint = 1 << 0; /** * @private */ mx_internal static const CALLOUT_LAYOUT_PROPERTY_FLAG:uint = 1 << 1; /** * @private */ mx_internal static const HORIZONTAL_POSITION_PROPERTY_FLAG:uint = 1 << 2; /** * @private */ mx_internal static const VERTICAL_POSITION_PROPERTY_FLAG:uint = 1 << 3; //-------------------------------------------------------------------------- // // Constructor // //-------------------------------------------------------------------------- /** * Constructor. * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function CalloutButton() { super(); dropDownController = new DropDownController(); } //-------------------------------------------------------------------------- // // Skin parts // //-------------------------------------------------------------------------- [SkinPart(required="false")] /** * A skin part that defines the drop-down factory which creates the Callout * instance. * * If <code>dropDown</code> is not defined on the skin, a * <code>ClassFactory</code> is created to generate a default Callout * instance. * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public var dropDown:IFactory; //-------------------------------------------------------------------------- // // Variables // //-------------------------------------------------------------------------- /** * @private * Several properties are proxied to callout. However, when callout * is not around, we need to store values set on CalloutButton. This object * stores those values. If callout is around, the values are stored * on the callout directly. However, we need to know what values * have been set by the developer on the CalloutButton (versus set on * the callout or defaults of the callout) as those are values * we want to carry around if the callout changes (via a new skin). * In order to store this info effeciently, calloutProperties becomes * a uint to store a series of BitFlags. These bits represent whether a * property has been explicitely set on this CalloutButton. When the * callout is not around, calloutProperties is a typeless * object to store these proxied properties. When callout is around, * calloutProperties stores booleans as to whether these properties * have been explicitely set or not. */ mx_internal var calloutProperties:Object = {}; //-------------------------------------------------------------------------- // // Properties proxied to callout // //-------------------------------------------------------------------------- //---------------------------------- // calloutContent //---------------------------------- [ArrayElementType("mx.core.IVisualElement")] /** * The set of components to include in the Callout's content. * * @default null * * @see spark.components.Callout * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function get calloutContent():Array { if (callout && callout.contentGroup) return callout.contentGroup.getMXMLContent(); else return calloutProperties.calloutContent; } /** * @private */ public function set calloutContent(value:Array):void { if (callout) { callout.mxmlContent = value; calloutProperties = BitFlagUtil.update(calloutProperties as uint, CALLOUT_CONTENT_PROPERTY_FLAG, value != null); } else calloutProperties.calloutContent = value; } //---------------------------------- // calloutLayout //---------------------------------- /** * Defines the layout of the Callout container. * * @default BasicLayout * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function get calloutLayout():LayoutBase { return (callout) ? callout.layout : calloutProperties.calloutLayout; } /** * @private */ public function set calloutLayout(value:LayoutBase):void { if (callout) { callout.layout = value; calloutProperties = BitFlagUtil.update(calloutProperties as uint, CALLOUT_LAYOUT_PROPERTY_FLAG, true); } else calloutProperties.calloutLayout = value; } //---------------------------------- // horizontalPosition //---------------------------------- [Inspectable(category="General", enumeration="before,start,middle,end,after,auto", defaultValue="auto")] /** * @copy spark.components.Callout#horizontalPosition * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function get horizontalPosition():String { if (callout) return callout.horizontalPosition; return calloutProperties.horizontalPosition; } /** * @private */ public function set horizontalPosition(value:String):void { if (callout) { callout.horizontalPosition = value; calloutProperties = BitFlagUtil.update(calloutProperties as uint, HORIZONTAL_POSITION_PROPERTY_FLAG, value != null); } else calloutProperties.horizontalPosition = value; } //---------------------------------- // verticalPosition //---------------------------------- [Inspectable(category="General", enumeration="before,start,middle,end,after,auto", defaultValue="auto")] /** * @copy spark.components.Callout#verticalPosition * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function get verticalPosition():String { if (callout) return callout.verticalPosition; return calloutProperties.verticalPosition; } /** * @private */ public function set verticalPosition(value:String):void { if (callout) { callout.verticalPosition = value; calloutProperties = BitFlagUtil.update(calloutProperties as uint, VERTICAL_POSITION_PROPERTY_FLAG, value != null); } else calloutProperties.verticalPosition = value; } //-------------------------------------------------------------------------- // // Properties // //-------------------------------------------------------------------------- //---------------------------------- // callout //---------------------------------- /** * @private */ private var _callout:Callout; [Bindable("calloutChanged")] /** * The Callout instance created after the <code>DropDownEvent.OPEN</code> * is fired. The instance is created using the <code>dropDown</code> * <code>IFactory</code> skin part. * * @see #calloutDestructionPolicy * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function get callout():Callout { return _callout; } /** * @private */ mx_internal function setCallout(value:Callout):void { if (_callout == value) return; _callout = value; if (hasEventListener("calloutChanged")) dispatchEvent(new Event("calloutChanged")); } //---------------------------------- // dropDownController //---------------------------------- /** * @private */ private var _dropDownController:DropDownController; /** * Instance of the DropDownController class that handles all of the mouse, keyboard * and focus user interactions. * * Flex calls the <code>initializeDropDownController()</code> method after * the DropDownController instance is created in the constructor. * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ protected function get dropDownController():DropDownController { return _dropDownController; } /** * @private */ protected function set dropDownController(value:DropDownController):void { if (_dropDownController == value) return; _dropDownController = value; _dropDownController.closeOnResize = false; _dropDownController.addEventListener(DropDownEvent.OPEN, dropDownController_openHandler); _dropDownController.addEventListener(DropDownEvent.CLOSE, dropDownController_closeHandler); _dropDownController.rollOverOpenDelay = getStyle("rollOverOpenDelay"); _dropDownController.openButton = this; if (callout) _dropDownController.dropDown = callout; } /** * @private */ override public function styleChanged(styleProp:String):void { super.styleChanged(styleProp); var allStyles:Boolean = (styleProp == null || styleProp == "styleName"); if (allStyles || styleProp == "rollOverOpenDelay") { if (dropDownController) dropDownController.rollOverOpenDelay = getStyle("rollOverOpenDelay"); } } //---------------------------------- // isDropDownOpen //---------------------------------- /** * @copy spark.components.supportClasses.DropDownController#isOpen * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function get isDropDownOpen():Boolean { if (dropDownController) return dropDownController.isOpen; else return false; } //---------------------------------- // calloutDestructionPolicy //---------------------------------- private var _calloutDestructionPolicy:String = ContainerDestructionPolicy.AUTO; [Inspectable(category="General", enumeration="auto,never", defaultValue="auto")] /** * Defines the destruction policy the callout button uses * when the callout is closed. * If set to <code>"auto"</code>, the button * destroys the Callout instance when it is closed. * If set to <code>"never"</code>, the Callout container * is cached in memory. * * @default auto * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function get calloutDestructionPolicy():String { return _calloutDestructionPolicy; } /** * @private */ public function set calloutDestructionPolicy(value:String):void { if (_calloutDestructionPolicy == value) return; _calloutDestructionPolicy = value; // destroy the callout immediately if currently closed if (!isDropDownOpen && (calloutDestructionPolicy == ContainerDestructionPolicy.AUTO)) { destroyCallout(); } } //-------------------------------------------------------------------------- // // Overridden methods // //-------------------------------------------------------------------------- /** * @private */ override protected function attachSkin():void { super.attachSkin(); // create dropDown if it was not found in the skin if (!dropDown && !("dropDown" in skin)) dropDown = new ClassFactory(Callout); } /** * @private */ override protected function partAdded(partName:String, instance:Object):void { super.partAdded(partName, instance); if (partName == "dropDown") { // copy proxied values from calloutProperties (if set) to callout var newCalloutProperties:uint = 0; var calloutInstance:Callout = instance as Callout; if (calloutInstance && dropDownController) { calloutInstance.id = "callout"; dropDownController.dropDown = calloutInstance; calloutInstance.addEventListener(PopUpEvent.OPEN, callout_openHandler); calloutInstance.addEventListener(PopUpEvent.CLOSE, callout_closeHandler); if (calloutProperties.calloutContent !== undefined) { calloutInstance.mxmlContent = calloutProperties.calloutContent; newCalloutProperties = BitFlagUtil.update(newCalloutProperties, CALLOUT_CONTENT_PROPERTY_FLAG, true); } if (calloutProperties.calloutLayout !== undefined) { calloutInstance.layout = calloutProperties.calloutLayout; newCalloutProperties = BitFlagUtil.update(newCalloutProperties, CALLOUT_LAYOUT_PROPERTY_FLAG, true); } if (calloutProperties.horizontalPosition !== undefined) { calloutInstance.horizontalPosition = calloutProperties.horizontalPosition; newCalloutProperties = BitFlagUtil.update(newCalloutProperties, HORIZONTAL_POSITION_PROPERTY_FLAG, true); } if (calloutProperties.verticalPosition !== undefined) { calloutInstance.verticalPosition = calloutProperties.verticalPosition; newCalloutProperties = BitFlagUtil.update(newCalloutProperties, VERTICAL_POSITION_PROPERTY_FLAG, true); } calloutProperties = newCalloutProperties; } } } /** * @private */ override protected function partRemoved(partName:String, instance:Object):void { if (dropDownController && (instance == callout)) { dropDownController.dropDown = null; } if (partName == "dropDown") { callout.removeEventListener(PopUpEvent.OPEN, callout_openHandler); callout.removeEventListener(PopUpEvent.CLOSE, callout_closeHandler); // copy proxied values from callout (if explicitely set) to calloutProperties var newCalloutProperties:Object = {}; if (BitFlagUtil.isSet(calloutProperties as uint, CALLOUT_CONTENT_PROPERTY_FLAG) && (callout.contentGroup)) { newCalloutProperties.calloutContent = callout.contentGroup.getMXMLContent(); callout.contentGroup.mxmlContent = null; } if (BitFlagUtil.isSet(calloutProperties as uint, CALLOUT_LAYOUT_PROPERTY_FLAG)) { newCalloutProperties.calloutLayout = callout.layout; callout.layout = null; } if (BitFlagUtil.isSet(calloutProperties as uint, HORIZONTAL_POSITION_PROPERTY_FLAG)) newCalloutProperties.horizontalPosition = callout.horizontalPosition; if (BitFlagUtil.isSet(calloutProperties as uint, VERTICAL_POSITION_PROPERTY_FLAG)) newCalloutProperties.verticalPosition = callout.verticalPosition; calloutProperties = newCalloutProperties; } super.partRemoved(partName, instance); } //-------------------------------------------------------------------------- // // Methods // //-------------------------------------------------------------------------- /** * Initializes the dropDown and changes the skin state to open. * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function openDropDown():void { dropDownController.openDropDown(); } /** * Changes the skin state to normal. * * @langversion 3.0 * @playerversion Flash 11 * @playerversion AIR 3 * @productversion Flex 4.6 */ public function closeDropDown():void { dropDownController.closeDropDown(false); } /** * @private * Destroys the callout */ private function destroyCallout():void { removeDynamicPartInstance("dropDown", callout); setCallout(null); } //-------------------------------------------------------------------------- // // Event handlers // //-------------------------------------------------------------------------- /** * @private * Event handler for the <code>dropDownController</code> * <code>DropDownEvent.OPEN</code> event. Creates and opens the Callout. */ mx_internal function dropDownController_openHandler(event:DropDownEvent):void { if (!callout) setCallout(createDynamicPartInstance("dropDown") as Callout); if (callout) { // close the callout if the CalloutButton is removed addEventListener(Event.REMOVED_FROM_STAGE, button_removedFromStage); callout.open(this, false); } } /** * @private * Event handler for the <code>dropDownController</code> * <code>DropDownEvent.CLOSE</code> event. Closes the Callout. */ mx_internal function dropDownController_closeHandler(event:DropDownEvent):void { // If the callout was closed directly, then callout could already be // destroyed by calloutDestructionPolicy if (callout) { removeEventListener(Event.REMOVED_FROM_STAGE, button_removedFromStage); // Dispatch the close event after the callout's PopUpEvent.CLOSE fires callout.close(); } } /** * @private */ private function callout_openHandler(event:PopUpEvent):void { dispatchEvent(new DropDownEvent(DropDownEvent.OPEN)); } /** * @private */ private function callout_closeHandler(event:PopUpEvent):void { // Sanity check. Was callout closed without calling closeDropDown()? // If so, call closeDropDown directly to remove event listeners. This // callout_closeHandler will only be called once since the 2nd call // to close() in dropDownController_closeHandler() will not dispatch // another PopUpEvent.CLOSE. if (dropDownController.isOpen) closeDropDown(); if (calloutDestructionPolicy == ContainerDestructionPolicy.AUTO) destroyCallout(); dispatchEvent(new DropDownEvent(DropDownEvent.CLOSE)); } /** * @private */ private function button_removedFromStage(event:Event):void { if (!isDropDownOpen) return; // Hide the callout immediately instead of waiting for the skin // state to transition to "closed" callout.visible = false; closeDropDown(); } } }
/** * Copyright 2008 Marvin Herman Froeder * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. * */ package org.sonatype.flexmojos.test.report { public class TestMethodReport extends TestMethodReportBase { /* <testcase classname="flex.Test" time="0.297" name="testExecute"/> <testcase time="3.125" name="removeAllSnapshots"> <failure message="All artifacts should be deleted by SnapshotRemoverTask. Found: [H:\home_hudson\.hudson\workspace\Nexus\jdk\1.6\label\windows\trunk\nexus\nexus-test-harness\nexus-test-harness-launcher\target\bundle\nexus-webapp-1.2.0-SNAPSHOT\runtime\work\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-20010101.184024-1.jar, H:\home_hudson\.hudson\workspace\Nexus\jdk\1.6\label\windows\trunk\nexus\nexus-test-harness\nexus-test-harness-launcher\target\bundle\nexus-webapp-1.2.0-SNAPSHOT\runtime\work\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-SNAPSHOT.jar]" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: All artifacts should be deleted by SnapshotRemoverTask. Found: [H:\home_hudson\.hudson\workspace\Nexus\jdk\1.6\label\windows\trunk\nexus\nexus-test-harness\nexus-test-harness-launcher\target\bundle\nexus-webapp-1.2.0-SNAPSHOT\runtime\work\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-20010101.184024-1.jar, H:\home_hudson\.hudson\workspace\Nexus\jdk\1.6\label\windows\trunk\nexus\nexus-test-harness\nexus-test-harness-launcher\target\bundle\nexus-webapp-1.2.0-SNAPSHOT\runtime\work\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-SNAPSHOT.jar] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) </failure> <system-out>[INFO] Nexus configuration validated succesfully. </system-out> </testcase> */ public function toXml():XML { var genxml:XML = <testcase name = { name } time = { time } />; if(error != null) { var errorXml:XML = <error message = {error.message } type = { error.type } > { error.stackTrace } </error>; genxml = genxml.appendChild(errorXml); } if(failure != null) { var failureXml:XML = <failure message = {failure.message } type = { failure.type } > { failure.stackTrace } </failure>; genxml = genxml.appendChild(failureXml); } return genxml; } } }
package { import flash.display.Sprite; import flash.events.Event; import org.openscales.core.Map; import org.openscales.core.utils.Trace; import org.openscales.core.control.LayerManager; import org.openscales.core.control.MousePosition; import org.openscales.core.control.OverviewMap; import org.openscales.core.control.PanZoomBar; import org.openscales.core.handler.feature.SelectFeaturesHandler; import org.openscales.core.handler.mouse.DragHandler; import org.openscales.core.handler.mouse.WheelHandler; import org.openscales.core.layer.Bing; import org.openscales.core.style.Style; import org.openscales.geometry.basetypes.Bounds; import org.openscales.geometry.basetypes.Location; import org.openscales.geometry.basetypes.Pixel; import org.openscales.geometry.basetypes.Size; import org.openscales.core.layer.osm.*; public class SoulMapNav extends Sprite { protected var _map:Map; public function SoulMapNav() { _map = new Map(500,400,"EPSG:900913"); //_map.projection=""; //_map.size = new Size(500, 400); _map.center = new Location(108,30,"EPSG:4326"); var soso = new SoulMap("k"); _map.addLayer(soso); var tran = new SoulMap("t",SoulMap.SOSO_SATELLITE_TRAN) _map.addLayer(tran) _map.addControl(new WheelHandler()); _map.addControl(new DragHandler()); this.addChild(_map); stage.addEventListener(Event.RESIZE, resize,false,0,true); } private function resize(e):void { _map.size = new Size(this.stage.stageWidth, this.stage.stageHeight); this.x = (500-this.stage.stageWidth)*.5; this.y = (400 - this.stage.stageHeight)*.5 } } }
//////////////////////////////////////////////////////////////////////////////// // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// package org.apache.royale.html { import org.apache.royale.core.IRangeModel; import org.apache.royale.core.UIBase; COMPILE::JS { import org.apache.royale.core.WrappedHTMLElement; import org.apache.royale.html.util.addElementToWrapper; } [Event(name="valueChange", type="org.apache.royale.events.Event")] /** * The Slider class is a component that displays a range of values using a * track and a thumb control. The Slider uses the following bead types: * * org.apache.royale.core.IBeadModel: the data model, typically an IRangeModel, that holds the Slider values. * org.apache.royale.core.IBeadView: the bead that constructs the visual parts of the Slider. * org.apache.royale.core.IBeadController: the bead that handles input. * org.apache.royale.core.IThumbValue: the bead responsible for the display of the thumb control. * org.apache.royale.core.ITrackView: the bead responsible for the display of the track. * * @toplevel * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.0 */ public class Slider extends UIBase { /** * constructor. * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.0 */ public function Slider() { super(); typeNames = "Slider"; IRangeModel(model).value = 0; IRangeModel(model).minimum = 0; IRangeModel(model).maximum = 100; IRangeModel(model).stepSize = 1; IRangeModel(model).snapInterval = 1; } /** * The current value of the Slider. * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.0 */ [Bindable("valueChange")] public function get value():Number { return IRangeModel(model).value; } public function set value(newValue:Number):void { IRangeModel(model).value = newValue; } /** * The minimum value of the Slider. * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.0 */ public function get minimum():Number { return IRangeModel(model).minimum; } public function set minimum(value:Number):void { IRangeModel(model).minimum = value; } /** * The maximum value of the Slider. * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.0 */ public function get maximum():Number { return IRangeModel(model).maximum; } public function set maximum(value:Number):void { IRangeModel(model).maximum = value; } /** * The modulus of the Slider value. The thumb will be positioned * at the nearest multiple of this value. * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.0 */ public function get snapInterval():Number { return IRangeModel(model).snapInterval; } public function set snapInterval(value:Number):void { IRangeModel(model).snapInterval = value; } /** * The amount to move the thumb when the track is selected. This value is * adjusted to fit the nearest snapInterval. * * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.0 */ public function get stepSize():Number { return IRangeModel(model).stepSize; } public function set stepSize(value:Number):void { IRangeModel(model).stepSize = value; } /** * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement */ COMPILE::JS override protected function createElement():WrappedHTMLElement { addElementToWrapper(this,'div'); // just to give it some default values element.style.width = '100px'; element.style.height = '30px'; return element; } /** * @private */ COMPILE::JS public function snap(value:Number):Number { var si:Number = snapInterval; var n:Number = Math.round((value - minimum) / si) * si + minimum; if (value > 0) { if (value - n < n + si - value) return n; return n + si; } if (value - n > n + si - value) return n + si; return n; } } }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import PubClassExtPubClassImpIntIntExtIntPub.*; import com.adobe.test.Assert; import com.adobe.test.Utils; // var SECTION = "Definitions"; // provide a document reference (ie, Actionscript section) // var VERSION = "AS3"; // Version of ECMAScript or ActionScript // var TITLE = "Public class implements public interface"; // Provide ECMA section title or a description var BUGNUMBER = ""; /** * Calls to Assert.expectEq here. Assert.expectEq is a function that is defined * in shell.js and takes three arguments: * - a string representation of what is being tested * - the expected result * - the actual result * * For example, a test might look like this: * * var helloWorld = "Hello World"; * * Assert.expectEq( * "var helloWorld = 'Hello World'", // description of the test * "Hello World", // expected result * helloWorld ); // actual result * */ /////////////////////////////////////////////////////////////// // add your tests here var obj = new PublicSubClass(); var obj2 = new InternalInterfaceAccessor(); //use namespace ns; var PubInt=obj; var PubInt2:PublicInt2=obj; //var PubInt3:PublicInt3=obj; var dateObj:Date = new Date(0); /*print(PubInt.MyString()); print(PubInt5.MyString()); print(PubInt2.MyNegInteger()); print(PubInt6.MyNegInteger()); //print(PubInt3.MyString()); //print(PubInt7.MyString()); print(PubInt3.MyNegInteger()); print(PubInt7.MyNegInteger()); print(PubInt3.MyUnsignedInteger()); print(PubInt7.MyUnsignedInteger()); print(obj.MyString()); print(obj2.MyString()); //print(obj.MyNegInteger()); //print(obj2.MyNegInteger()); print(obj.MyUnsignedInteger()); print(obj2.MyUnsignedInteger()); print(obj.PublicInt2::MyString()); print(obj2.PublicInt2::MyString()); print(PubInt3.MyNegativeInteger()); print(PubInt7.MyNegativeInteger()); print(obj.PublicInt3::MyNegativeInteger()); print(obj2.PublicInt3::MyNegativeInteger());*/ //print(obj.MySuperBoolean()); //Public Class extends Public class implements a public interface which extends two //interfaces thisError="no error" try{ obj2.MyNegInteger(); }catch(e2){ thisError=e2.toString(); }finally{ Assert.expectEq("Calling a method in interface namespace through an instance of a class should throw an error","ReferenceError: Error #1069", Utils.referenceError(thisError)); } Assert.expectEq("Calling a method in public namespace in the public interface implemented by the subclass through the subclass","Hi!", PubInt.MyString()); Assert.expectEq("Calling a method in interface namespace in the public interface implemented by the subclass through the subclass",-100, obj2.RetMyNegInteger2()); Assert.expectEq("Calling a method in interface namespace in the public interface implemented by the subclass through the subclass",-100, obj2.RetMyNegInteger()); Assert.expectEq("Calling a method in interface namespace in the public interface implemented by the subclass through the subclass",100, obj2.RetMyUnsignedInteger()); Assert.expectEq("Calling a method in public namespace in the public interface implemented by the subclass through the subclass","Hi!", obj.MyString()); Assert.expectEq("Calling a method in interface namespace in the public interface implemented by the subclass through the subclass",100, obj.MyUnsignedInteger()); Assert.expectEq("Calling a method in public namespace in the public interface implemented by the subclass through the subclass","Hi!", obj.PublicInt2::MyString()); Assert.expectEq("Calling a method in interface namespace in the public interface implemented by the subclass through the subclass",-100000, obj.MyNegativeInteger()); Assert.expectEq("Calling a method in interface namespace in the public interface implemented by the subclass through the subclass",-100000, obj2.RetMyNegativeInteger()); Assert.expectEq("Calling a public method in superclass extended by the subclass through the subclass",true, obj.MySuperBoolean()); Assert.expectEq("Calling an internal method in superclass extended by the subclass through the subclass",10, obj.RetMySuperNumber()); Assert.expectEq("Calling a public static method in superclass extended bythe subclass through the subclass",dateObj.toString(), PublicSuperClass.MySuperStaticDate()+""); //////////////////////////////////////////////////////////////// // displays results.
package UI.abstract.component.control.datagrid { import UI.abstract.component.control.button.ALabelImageButton; import UI.abstract.component.control.list.AList; import flash.events.Event; /** * 多列列表 需要先设置列数 */ public class ADataGrid extends AList { /** 标题按钮类 **/ protected var _titleClass : Class; /** 标题高度 **/ protected var _titleHeight : int; /** 是否显示标题 **/ protected var _isShowTitle : Boolean = true; /** 列数 **/ protected var _column : int; /** 每列表宽度 **/ protected var _titleWidthList : Array = []; /**每列的文字**/ protected var _titleTextList : Array = []; /** 标题按钮列表 **/ protected var _titleList : Vector.<ALabelImageButton> = new Vector.<ALabelImageButton>(); protected var _gapToContent : int = 0; public function ADataGrid() { super(); } /** 标题和内容距离 **/ public function get gapToContent():int { return _gapToContent; } /** * @private */ public function set gapToContent(value:int):void { if(_gapToContent == value){ return; } _gapToContent = value; nextDraw(); } override protected function draw () : void { super.draw(); if(_isShowTitle){ _scrollBar.y = _scrollToTop + _titleHeight + _gapToContent; _scrollBar.setSize( _width - _scrollToTop*2, _height - _scrollToTop*2 - _titleHeight - _gapToContent); } var i : int; for ( i = 0; i < _titleList.length; i++ ) { _titleList[i].height = _titleHeight; _titleList[i].width = _titleWidthList[i]*_container.width; if(i == _titleList.length -1){ //_titleList[i].width = _titleWidthList[i]*_container.width + _scrollBar.vScrollWidth; } _titleList[i].text = _titleTextList[i]; //_titleList[i].update(); if ( i == 0 ) _titleList[i].x = _scrollToTop; else _titleList[i].x = _titleList[i - 1].x + _titleList[i - 1].width; _titleList[i].y = _scrollToTop; if(_isShowTitle){ _titleList[i].visible = true; }else{ _titleList[i].visible = false; } } } override protected function onScrollBarChange ( e : Event ) : void { super.onScrollBarChange(e); for ( var i : int = 0; i < _titleList.length; i++ ) { _titleList[i].width = _titleWidthList[i]*_container.width; if(i == _titleList.length -1){ //_titleList[i].width = _titleWidthList[i]*_container.width + _scrollBar.vScrollWidth; } if ( i == 0 ) _titleList[i].x = _scrollToTop; else _titleList[i].x = _titleList[i - 1].x + _titleList[i - 1].width; } } /** 是否显示标题 **/ public function get isShowTitle():Boolean { return _isShowTitle; } /** * @private */ public function set isShowTitle(value:Boolean):void { if(_isShowTitle == value){ return; } _isShowTitle = value; nextDraw(); } /** 标题高度 **/ public function get titleHeight():int { return _titleHeight; } /** * @private */ public function set titleHeight(value:int):void { if ( _titleHeight == value ) return; _titleHeight = value; nextDraw(); } /** 设置index列的宽度 **/ public function setTitleWidth( index : int, value : Number ) : void { //_titleList[index].width = value; _titleWidthList[index] = value; if ( container is DataGridItemContainer ) DataGridItemContainer( container ).widthList = _titleWidthList; nextDraw(); } /** 设置index列的文本内容 **/ public function setTitleText( index : int, value : String ) : void { _titleTextList[index] = value; //_titleList[index].text = value; nextDraw(); } /** 标题按钮类 **/ public function get TitleClass():Class { return _titleClass; } /** * @private */ public function set TitleClass(value:Class):void { if(_titleClass == value){ return; } _titleClass = value; } /** 列数 **/ public function get column():int { return _column; } /** * @private */ public function set column(value:int):void { if(_column == value){ return; } _column = value; var len : int = _titleList.length; var i : int = 0; var btn : ALabelImageButton; //var title : DataGridTitle; if ( value < len ) { for ( i = value; i < len; i++ ) _titleList[i].dispose(); _titleList.splice( i, len ); /*_titleWidthList.splice( i, len ); _titleTextList.splice( i, len );*/ } else { for ( i = len; i < value; i++ ) { //title = new DataGridTitle(); btn = new TitleClass(); //title.button = btn; _titleList.push(btn); this.addChild(btn); } } nextDraw(); } override public function dispose () : void { var len : int = _titleList.length for ( var i : int = 0; i < len; i++ ) _titleList[i].dispose(); _titleList.length = 0; _titleList = null; _titleWidthList.length = 0; _titleWidthList = null; _titleTextList.length = 0; _titleTextList = null; _titleClass = null; super.dispose(); } } }
//////////////////////////////////////////////////////////////////////////////// // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// package flashx.textLayout.ui.rulers { import bxf.ui.inspectors.DynamicPropertyEditorBase; import flash.display.DisplayObject; import flash.display.GradientType; import flash.events.MouseEvent; import flash.geom.Matrix; import flash.geom.Point; import flash.geom.Rectangle; import flash.text.engine.TabAlignment; import flashx.textLayout.container.ContainerController; import flashx.textLayout.edit.EditManager; import flashx.textLayout.edit.ElementRange; import flashx.textLayout.edit.SelectionState; import flashx.textLayout.elements.ContainerFormattedElement; import flashx.textLayout.elements.ParagraphElement; import flashx.textLayout.elements.TextFlow; import flashx.textLayout.compose.TextFlowLine; import flashx.textLayout.events.SelectionEvent; import flashx.textLayout.formats.ITextLayoutFormat; import flashx.textLayout.formats.ITabStopFormat; import flashx.textLayout.formats.TextLayoutFormat; import flashx.textLayout.formats.TabStopFormat; import flashx.textLayout.formats.BlockProgression; import flashx.textLayout.tlf_internal; import flashx.textLayout.ui.inspectors.TabPropertyEditor; import flashx.textLayout.ui.inspectors.TextInspectorController; import mx.containers.Canvas; import mx.core.ScrollPolicy; import mx.core.UIComponent; import mx.events.PropertyChangeEvent; import mx.events.ResizeEvent; use namespace tlf_internal; public class RulerBar extends Canvas { public static const RULER_HORIZONTAL:String = "horizontal"; public static const RULER_VERTICAL:String = "vertical"; public function RulerBar() { super(); horizontalScrollPolicy = ScrollPolicy.OFF; verticalScrollPolicy = ScrollPolicy.OFF; mDefaultTabStop = new TabStopFormat(TabStopFormat.defaultFormat); addEventListener(MouseEvent.MOUSE_DOWN, onRulerMouseDown); selectMarker(null); TextInspectorController.Instance().AddRuler(this); curParagraphFormat = null; } override public function initialize():void { super.initialize(); adjustForActive(); } public function creationComplete():void { if (mSyncToPanel) { mSyncToPanel.addEventListener(ResizeEvent.RESIZE, onSyncPanelResize); } SyncRulerToPanel(); mIndentMarker = addParagraphPropertyMarker(TextLayoutFormat.textIndentProperty.name); mLeftMarginMarker = addParagraphPropertyMarker(TextLayoutFormat.paragraphStartIndentProperty.name); mRightMarginMarker = addParagraphPropertyMarker(TextLayoutFormat.paragraphEndIndentProperty.name); } public function set activeFlow(inFlow:TextFlow):void { if (inFlow && !inFlow.interactionManager is EditManager) throw new Error("Can't set the active flow to a flow without an EditManager."); if (mActiveFlow) { mActiveFlow.removeEventListener(SelectionEvent.SELECTION_CHANGE, onTextSelectionChanged); mEditManager = null; } mActiveFlow = inFlow; mLastSelActiveIdx = -1; mLastSelAnchorIdx = -1; mTabSet = null; RemoveTabMarkers(); selectMarker(null); if (mActiveFlow) { mEditManager = mActiveFlow.interactionManager as EditManager; mActiveFlow.addEventListener(SelectionEvent.SELECTION_CHANGE, onTextSelectionChanged); } else onTextSelectionChanged(null); } public function get activeFlow():TextFlow { return mActiveFlow; } public function set active(inActive:Boolean):void { mActive = inActive; selectMarker(null); adjustForActive(); } public function get active():Boolean { return mActive; } private function set rightRuler(inActive:Boolean):void { mRightRuler = inActive; adjustForActive(); } private function get rightRuler():Boolean { return mRightRuler; } private function adjustForActive():void { if (parent) { if (mActive && mRightRuler) { parent.visible = true; if (parent is Canvas) (parent as Canvas).includeInLayout = true; } else { parent.visible = false; if (parent is Canvas) (parent as Canvas).includeInLayout = false; } } } public function set orientation(inOrientation:String):void { if (inOrientation != mOrientation && (inOrientation == RULER_HORIZONTAL || inOrientation == RULER_VERTICAL)) { mOrientation = inOrientation; } } public function set syncToPanel(inPanel:UIComponent):void { mSyncToPanel = inPanel; } public function set tabPropertyEditor(inEditor:TabPropertyEditor):void { mPropertyEditor = inEditor; mPropertyEditor.addEventListener(DynamicPropertyEditorBase.MODELCHANGED_EVENT, onFormatValueChanged, false, 0, true); mPropertyEditor.addEventListener(DynamicPropertyEditorBase.MODELEDITED_EVENT, onFormatValueChanged, false, 0, true); selectMarker(mSelectedMarker); } private function onSyncPanelResize(evt:ResizeEvent):void { RedrawRuler(); } public function RedrawRuler():void { SyncRulerToPanel(); if (curParagraphFormat != null) { ShowTabs(curParagraphFormat); } } private function SyncRulerToPanel():void { if (mActiveFlow && mActiveFlow.interactionManager && mActiveFlow.flowComposer && mActiveFlow.flowComposer && rightRuler) { var selStart:int = Math.min(mActiveFlow.interactionManager.activePosition, mActiveFlow.interactionManager.anchorPosition); var line:TextFlowLine = selStart != -1 ? mActiveFlow.flowComposer.findLineAtPosition(selStart) : null; if (line) { var controller:ContainerController; var containerDO:DisplayObject; if (line.controller) { controller = line.controller; containerDO = controller.container as DisplayObject; } else { // get the last container controller = mActiveFlow.flowComposer.getControllerAt(mActiveFlow.flowComposer.numControllers-1); containerDO = controller.container as DisplayObject; } var localOrigin:Point = parent.globalToLocal(containerDO.parent.localToGlobal(new Point(containerDO.x, containerDO.y))); var columnBounds:Rectangle; var columnIndex:int = line.columnIndex; if (columnIndex == -1) columnBounds = controller.columnState.getColumnAt(controller.columnState.columnCount - 1); else { // columnIndex is an index into all the columns in the flow, so to get the actual // column bounds var idx:int = 0; var ch:ContainerController = mActiveFlow.flowComposer.getControllerAt(idx); while (ch && ch != controller) { columnIndex -= ch.columnState.columnCount; idx++; ch = idx == mActiveFlow.flowComposer.numControllers ? null : mActiveFlow.flowComposer.getControllerAt(idx); } // Pin the column number to the actual range of column indices. I have found this // is needed when the insertion point is inside a table (because the line's container // is not in the flow's list of containers) or when the insertion point is in regular // text after a table (the column number doesn't make sense, and I think it's a bug, which // I have written to Robin about. columnIndex = Math.max(0, Math.min(line.columnIndex, controller.columnState.columnCount - 1)); columnBounds = controller.columnState.getColumnAt(columnIndex); } if (columnBounds) { if (mOrientation == RULER_HORIZONTAL) { x = localOrigin.x + columnBounds.x; y = 0; height = parent.height; width = columnBounds.width; } else { x = parent.width; y = localOrigin.y + columnBounds.y; rotation = 90; height = parent.width; width = columnBounds.height; } } } } } private function onTextSelectionChanged(e:SelectionEvent):void { curParagraphFormat = null; if (mEditManager && (mEditManager.activePosition != mLastSelActiveIdx || mEditManager.anchorPosition != mLastSelAnchorIdx)) { mLastSelActiveIdx = mActiveFlow.interactionManager.activePosition; mLastSelAnchorIdx = mActiveFlow.interactionManager.anchorPosition; selectMarker(null); } if (e) { var selState:SelectionState = e.selectionState; var selectedElementRange:ElementRange = selState ? ElementRange.createElementRange(selState.textFlow, selState.absoluteStart, selState.absoluteEnd) : null; if (selectedElementRange) { var rootElement:ContainerFormattedElement = selectedElementRange.firstLeaf.getAncestorWithContainer(); if ((rootElement.computedFormat.blockProgression == BlockProgression.RL) == (mOrientation == RULER_VERTICAL)) { // should be active if (rightRuler != true) { mTabSet = null; } if (!rightRuler) rightRuler = true; } else { // should be inactive if (rightRuler != false) { mTabSet = null; } if (rightRuler) rightRuler = false; } curParagraphFormat = new TextLayoutFormat(selectedElementRange.firstParagraph.computedFormat); setRightToLeft(curParagraphFormat.direction == flashx.textLayout.formats.Direction.RTL); ShowTabs(curParagraphFormat); } else ShowTabs(null); } else ShowTabs(null); } private function RemoveTabMarkers():void { var markers:Array = getChildren(); for each (var marker:UIComponent in markers) if (marker is TabMarker) this.removeChild(marker); } private function ShowTabs(inFormat:ITextLayoutFormat):void { SyncRulerToPanel(); var tabs:Array = inFormat ? ((inFormat.tabStops && (inFormat.tabStops.length > 0)) ? inFormat.tabStops as Array : null) : null; if (isNewTabSet(tabs)) { mTabSet = tabs; if (mUpdateFromSelection) { RemoveTabMarkers(); var oldSel:RulerMarker = mSelectedMarker; selectMarker(null); if (mTabSet) for each(var tab:TabStopFormat in mTabSet) { var tabMarker:TabMarker = addTabMarker(tab); if (oldSel && oldSel.pos == tabMarker.pos) selectMarker(tabMarker); } } } if (inFormat) { if(mIndentMarker) { mIndentMarker.rightToLeftPar = mRightToLeft; mIndentMarker.pos = Number(inFormat.textIndent); mIndentMarker.relativeToPosition = inFormat.paragraphStartIndent; } if(mLeftMarginMarker) { mLeftMarginMarker.rightToLeftPar = mRightToLeft; mLeftMarginMarker.pos = rightToLeft ? Number(inFormat.paragraphEndIndent): Number(inFormat.paragraphStartIndent); } if(mRightMarginMarker) { mRightMarginMarker.rightToLeftPar = mRightToLeft; mRightMarginMarker.pos = rightToLeft ? Number(inFormat.paragraphStartIndent): Number(inFormat.paragraphEndIndent); } } } private function addTabMarker(tabAttrs:ITabStopFormat):TabMarker { var tabMarker:TabMarker = new TabMarker(this, tabAttrs); tabMarker.addEventListener(MouseEvent.MOUSE_DOWN, onMarkerMouseDown); addChild(tabMarker); return tabMarker; } private function addParagraphPropertyMarker(inProperty:String):ParagraphPropertyMarker { var propMarker:ParagraphPropertyMarker = new ParagraphPropertyMarker(this, inProperty); propMarker.addEventListener(MouseEvent.MOUSE_DOWN, onMarkerMouseDown); addChild(propMarker); return propMarker; } private function isNewTabSet(inTabs:Array):Boolean { if (inTabs == mTabSet) return false; if ((inTabs == null) != (mTabSet == null)) return true; if (inTabs) { if (inTabs.length == mTabSet.length) { var n:int = inTabs.length; for (var i:int = 0; i < n; ++i) { if (inTabs[i] != mTabSet[i]) return true; } return false; } else return true; } return false; } override protected function updateDisplayList(w:Number, h:Number):void { super.updateDisplayList(w, h); graphics.clear(); var m:Matrix = new Matrix(); m.createGradientBox(height, height, Math.PI / 2); graphics.beginGradientFill(GradientType.LINEAR, [0xffffff, 0xe0e0e0], [1, 1], [0, 255], m); graphics.drawRect(0, 0, w, h); graphics.endFill(); graphics.lineStyle(1, 0x404040, 1.0, true); for (var x:int = 0; x < w; x += 10) { var rulerX:Number = rightToLeft ? w - x - 1 : x; if (x % 100 == 0) graphics.moveTo(rulerX, 12); else if (x % 50 == 0) graphics.moveTo(rulerX, 9); else graphics.moveTo(rulerX, 5); graphics.lineTo(rulerX, 0); } } private function onMarkerMouseDown(e:MouseEvent):void { if (mEditManager) { var cookie:Object; if (e.target is TabMarker) { var tabMarker:TabMarker = e.target as TabMarker; selectMarker(tabMarker); e.stopPropagation(); cookie = new Object(); cookie["marker"] = tabMarker; cookie["offset"] = e.localX; cookie["onRuler"] = true; mUpdateFromSelection = false; new RulerDragTracker(this.parentApplication as UIComponent, this, cookie).BeginTracking(e, false); } else if (e.target is ParagraphPropertyMarker) { var propMarker:ParagraphPropertyMarker = e.target as ParagraphPropertyMarker; selectMarker(null); e.stopPropagation(); cookie = new Object(); cookie["marker"] = propMarker; cookie["offset"] = e.localX; new RulerDragTracker(this.parentApplication as UIComponent, this, cookie).BeginTracking(e, false); } } } private function onRulerMouseDown(e:MouseEvent):void { if (e.target is RulerBar && mEditManager) { var tabMarker:TabMarker = addTabMarker(mDefaultTabStop); tabMarker.markerLeft = e.localX + tabMarker.hOffset; selectMarker(tabMarker); mUpdateFromSelection = false; setFormatFromRuler(); e.stopPropagation(); var cookie:Object = new Object(); cookie["marker"] = tabMarker; cookie["offset"] = -tabMarker.hOffset; cookie["onRuler"] = true; new RulerDragTracker(this.parentApplication as UIComponent, this, cookie, 0).BeginTracking(e, false); } } public function TrackDrag(inCurPos:Point, inCookie:Object, inCommit:Boolean):void { if (inCookie) { if (inCookie["marker"] is TabMarker) { var tabMarker:TabMarker = inCookie["marker"] as TabMarker; var wasOnRuler:Boolean = inCookie["onRuler"]; if (inCookie["onRuler"] && inCurPos.y > height + 16) { inCookie["onRuler"] = false; removeChild(tabMarker); selectMarker(null); } else if (!inCookie["onRuler"] && inCurPos.y <= height + 16) { inCookie["onRuler"] = true; addChild(tabMarker); selectMarker(tabMarker); } tabMarker.markerLeft = inCurPos.x - inCookie["offset"]; if (wasOnRuler || inCookie["onRuler"]) setFormatFromRuler(); } else if (inCookie["marker"] is ParagraphPropertyMarker) { var propMarker:ParagraphPropertyMarker = inCookie["marker"] as ParagraphPropertyMarker; propMarker.markerLeft = inCurPos.x - inCookie["offset"]; var pa:TextLayoutFormat = new TextLayoutFormat(); pa[propMarker.property] = propMarker.pos; mEditManager.applyParagraphFormat(pa); } } if (inCommit) mUpdateFromSelection = true; } public function DragCancelled():void { mUpdateFromSelection = true; } private function selectMarker(inMarker:RulerMarker):void { if (mSelectedMarker) mSelectedMarker.setStyle("selected", false); mSelectedMarker = inMarker; if (mSelectedMarker) mSelectedMarker.setStyle("selected", true); updatePropertyEditor(); } private function updatePropertyEditor():void { if (mRightRuler && mPropertyEditor && mTabPanelActive) { mPropertyEditor.reset(); mPropertyEditor.properties["rulervisible"] = TextInspectorController.Instance().rulerVisible; if (TextInspectorController.Instance().rulerVisible) { var tab:ITabStopFormat = mSelectedMarker as ITabStopFormat; if (!tab) tab = mDefaultTabStop as ITabStopFormat; if (tab) { mPropertyEditor.properties["alignment"] = tab.alignment; if (tab != mDefaultTabStop) mPropertyEditor.properties["position"] = tab.position; if (tab.alignment == flash.text.engine.TabAlignment.DECIMAL) mPropertyEditor.properties["decimalAlignmentToken"] = tab.decimalAlignmentToken; } } mPropertyEditor.rebuildUI(); } } private function onFormatValueChanged(e:PropertyChangeEvent):void { if (mRightRuler) { var property:String = e.property as String; if (property == "rulervisible") TextInspectorController.Instance().rulerVisible = (e.newValue == "true" ? true : false); else { if (e.type == DynamicPropertyEditorBase.MODELEDITED_EVENT) mUpdateFromSelection = false; var tab:Object = mSelectedMarker; if (!tab) tab = mDefaultTabStop; var newValue:Object = e.newValue; if (property == "position") newValue = Number(newValue); tab[property] = newValue; if (property == "alignment" && newValue == flash.text.engine.TabAlignment.DECIMAL && tab["decimalAlignmentToken"] == null) tab["decimalAlignmentToken"] = ""; if (mSelectedMarker) setFormatFromRuler(); if (e.type == DynamicPropertyEditorBase.MODELCHANGED_EVENT) mUpdateFromSelection = true; updatePropertyEditor(); } } } private function setFormatFromRuler():void { var newTabs:Array = []; if (mSelectedMarker && mSelectedMarker.parent) newTabs.push(new TabStopFormat(mSelectedMarker as ITabStopFormat)); var markers:Array = getChildren(); for each (var marker:UIComponent in markers) if (marker is TabMarker) { var tab:TabMarker = marker as TabMarker; if (isUniquePosition(newTabs, tab.pos)) newTabs.push(new TabStopFormat(tab)); } newTabs.sortOn("position", Array.NUMERIC); var pa:TextLayoutFormat = new TextLayoutFormat(); pa.tabStops = newTabs; mEditManager.applyParagraphFormat(pa); updatePropertyEditor(); } private static function isUniquePosition(inTabFormat:Array, inNewPosition:Number):Boolean { for each (var tab:TabStopFormat in inTabFormat) if (tab.position == inNewPosition) return false; return true; } public function set tabPanelActive(inActive:Boolean):void { if (mTabPanelActive != inActive) { mTabPanelActive = inActive; if (mTabPanelActive) updatePropertyEditor(); } } public function get tabPanelActive():Boolean { return mTabPanelActive; } public function get rightToLeft():Boolean { return mRightToLeft; } private function setRightToLeft(inRTL:Boolean):void { if (inRTL != mRightToLeft) { mTabSet = null; mRightToLeft = inRTL; invalidateDisplayList(); } } private var mActive:Boolean = true; private var mActiveFlow:TextFlow = null; private var mEditManager:EditManager = null; private var mTabSet:Array = null; private var mSelectedMarker:RulerMarker = null; private var mUpdateFromSelection:Boolean = true; private var mDefaultTabStop:TabStopFormat; private var mPropertyEditor:TabPropertyEditor = null; private var mOrientation:String = RULER_HORIZONTAL; private var mSyncToPanel:UIComponent = null; private var mRightRuler:Boolean = true; private var mLastSelAnchorIdx:int = -1; private var mLastSelActiveIdx:int = -1; private var mIndentMarker:ParagraphPropertyMarker = null; private var mLeftMarginMarker:ParagraphPropertyMarker = null; private var mRightMarginMarker:ParagraphPropertyMarker = null; private var mTabPanelActive:Boolean = false; private var mRightToLeft:Boolean = false; private var curParagraphFormat:TextLayoutFormat = null; } }
package com.adobe.protocols.dict.events { import flash.events.Event; import com.adobe.protocols.dict.Dict; public class ErrorEvent extends Event { private var _code:uint; private var _message:String; public function ErrorEvent() { super(Dict.ERROR); } public function set code(code:uint):void { this._code = code; } public function set message(message:String):void { this._message = message; } public function get code():uint { return this._code; } public function get message():String { return this._message; } } }
package serverProto.activity { import com.netease.protobuf.Message; import com.netease.protobuf.fieldDescriptors.FieldDescriptor$TYPE_MESSAGE; import com.netease.protobuf.fieldDescriptors.RepeatedFieldDescriptor$TYPE_MESSAGE; import com.netease.protobuf.WireType; import serverProto.inc.ProtoRetInfo; import serverProto.inc.ProtoItemInfo; import com.netease.protobuf.WritingBuffer; import com.netease.protobuf.WriteUtils; import flash.utils.IDataInput; import com.netease.protobuf.ReadUtils; import flash.errors.IOError; public final class ProtoNinjaComeOpenBoxRsp extends Message { public static const RET:FieldDescriptor$TYPE_MESSAGE = new FieldDescriptor$TYPE_MESSAGE("serverProto.activity.ProtoNinjaComeOpenBoxRsp.ret","ret",1 << 3 | WireType.LENGTH_DELIMITED,ProtoRetInfo); public static const ITEMS:RepeatedFieldDescriptor$TYPE_MESSAGE = new RepeatedFieldDescriptor$TYPE_MESSAGE("serverProto.activity.ProtoNinjaComeOpenBoxRsp.items","items",2 << 3 | WireType.LENGTH_DELIMITED,ProtoItemInfo); public var ret:ProtoRetInfo; [ArrayElementType("serverProto.inc.ProtoItemInfo")] public var items:Array; public function ProtoNinjaComeOpenBoxRsp() { this.items = []; super(); } override final function writeToBuffer(param1:WritingBuffer) : void { var _loc3_:* = undefined; WriteUtils.writeTag(param1,WireType.LENGTH_DELIMITED,1); WriteUtils.write$TYPE_MESSAGE(param1,this.ret); var _loc2_:uint = 0; while(_loc2_ < this.items.length) { WriteUtils.writeTag(param1,WireType.LENGTH_DELIMITED,2); WriteUtils.write$TYPE_MESSAGE(param1,this.items[_loc2_]); _loc2_++; } for(_loc3_ in this) { super.writeUnknown(param1,_loc3_); } } override final function readFromSlice(param1:IDataInput, param2:uint) : void { /* * Decompilation error * Code may be obfuscated * Tip: You can try enabling "Automatic deobfuscation" in Settings * Error type: IndexOutOfBoundsException (Index: 2, Size: 2) */ throw new flash.errors.IllegalOperationError("Not decompiled due to error"); } } }
package serverProto.cardpack { import com.netease.protobuf.Message; import com.netease.protobuf.fieldDescriptors.FieldDescriptor$TYPE_MESSAGE; import com.netease.protobuf.fieldDescriptors.RepeatedFieldDescriptor$TYPE_MESSAGE; import com.netease.protobuf.WireType; import com.netease.protobuf.WritingBuffer; import com.netease.protobuf.WriteUtils; import flash.utils.IDataInput; import com.netease.protobuf.ReadUtils; import flash.errors.IOError; public final class ProtoNinjaRushBuyInfo extends Message { public static const ROOT_NINJA:FieldDescriptor$TYPE_MESSAGE = new FieldDescriptor$TYPE_MESSAGE("serverProto.cardpack.ProtoNinjaRushBuyInfo.root_ninja","rootNinja",1 << 3 | WireType.LENGTH_DELIMITED,ProtoNinjaRushBuyNode); public static const CHILD_NINJA_LIST:RepeatedFieldDescriptor$TYPE_MESSAGE = new RepeatedFieldDescriptor$TYPE_MESSAGE("serverProto.cardpack.ProtoNinjaRushBuyInfo.child_ninja_list","childNinjaList",2 << 3 | WireType.LENGTH_DELIMITED,ProtoNinjaRushBuyChildinfo); public var rootNinja:serverProto.cardpack.ProtoNinjaRushBuyNode; [ArrayElementType("serverProto.cardpack.ProtoNinjaRushBuyChildinfo")] public var childNinjaList:Array; public function ProtoNinjaRushBuyInfo() { this.childNinjaList = []; super(); } override final function writeToBuffer(param1:WritingBuffer) : void { var _loc3_:* = undefined; WriteUtils.writeTag(param1,WireType.LENGTH_DELIMITED,1); WriteUtils.write$TYPE_MESSAGE(param1,this.rootNinja); var _loc2_:uint = 0; while(_loc2_ < this.childNinjaList.length) { WriteUtils.writeTag(param1,WireType.LENGTH_DELIMITED,2); WriteUtils.write$TYPE_MESSAGE(param1,this.childNinjaList[_loc2_]); _loc2_++; } for(_loc3_ in this) { super.writeUnknown(param1,_loc3_); } } override final function readFromSlice(param1:IDataInput, param2:uint) : void { /* * Decompilation error * Code may be obfuscated * Tip: You can try enabling "Automatic deobfuscation" in Settings * Error type: IndexOutOfBoundsException (Index: 2, Size: 2) */ throw new flash.errors.IllegalOperationError("Not decompiled due to error"); } } }
package com.qcenzo.apps.album.effects { import flash.display.BitmapData; import flash.geom.Matrix3D; import flash.geom.Vector3D; import flash.text.TextField; public class Logo extends Effect { private var _canvas:BitmapData; private var _t:Number; public function Logo(logo:String) { super(); _t = 0; var tf:TextField = new TextField(); tf.htmlText = "<font face='Heiti' size='40'><b>" + logo + "</b></font>"; tf.width = tf.textWidth + 4; tf.height = tf.textHeight + 4; _canvas = new BitmapData(tf.width, tf.height, true, 0); _canvas.draw(tf); } override protected function initCameraStat():void { _cmrStat.appendTranslation(0, 0, -2); } override public function moveFunc(model:Matrix3D):void { model.identity(); model.appendRotation(10 * Math.sin(_t), Vector3D.X_AXIS); _t += 0.06; } override protected function generateMesh(numQuads:int):void { var w:int = _canvas.width; var h:int = _canvas.height; var dx:Number = 4 / w; var dy:Number = 4 / h; var n:int; var x0:Number; var y0:Number; var z0:Number = 0; var w0:Number; for (var i:int = 0; i < w; i++) { for (var j:int = 0; j < h; j++) { if (_canvas.getPixel32(i, j) >> 32 != 0) { x0 = -_asp + i / w * 2 * _asp; y0 = 1 - j / h * 2; w0 = n / numQuads; _vx[_nvx++] = x0; _vx[_nvx++] = y0; _vx[_nvx++] = z0; _vx[_nvx++] = w0; _vx[_nvx++] = x0 + dx; _vx[_nvx++] = y0; _vx[_nvx++] = z0; _vx[_nvx++] = w0; _vx[_nvx++] = x0; _vx[_nvx++] = y0 - dy; _vx[_nvx++] = z0; _vx[_nvx++] = w0; _vx[_nvx++] = x0 + dx; _vx[_nvx++] = y0 - dy; _vx[_nvx++] = z0; _vx[_nvx++] = w0; n++; } } } //多出的 n = numQuads - n; for (i = 0; i < n; i++) { var m:int = _nvx - 16; for (j = 0; j < 16; j++) _vx[_nvx++] = _vx[m + j]; } } } }
/* * Temple Library for ActionScript 3.0 * Copyright © MediaMonks B.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by MediaMonks B.V. * 4. Neither the name of MediaMonks B.V. nor the * names of its contributors may be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY MEDIAMONKS B.V. ''AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL MEDIAMONKS B.V. BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * * Note: This license does not apply to 3rd party classes inside the Temple * repository with their own license! */ package temple.ui.form.services { import temple.core.errors.TempleError; import temple.core.errors.throwError; import temple.core.events.CoreEventDispatcher; import temple.ui.form.result.IFormResult; import temple.utils.types.EventUtils; import flash.events.IEventDispatcher; /** * An <code>IFormService</code> which allows you to combine multiple form services to one. * * @see temple.ui.form.services.IFormService * @see temple.ui.form.Form * * @author Thijs Broerse */ public class MultiFormService extends CoreEventDispatcher implements IFormService { private var _services:Vector.<IFormService>; private var _currentServiceId:int; private var _submitData:Object; public function MultiFormService(services:Vector.<IFormService> = null) { _services = services ? services.concat() : new Vector.<IFormService>(); } /** * Add an IFormService to the MultiFormService */ public function addFormService(service:IFormService):void { _services.push(service); } /** * @inheritDoc */ public function submit(data:Object):IFormResult { if (!_services.length) { throwError(new TempleError(this, "MultiFormService doesn't contain any services")); } _currentServiceId = -1; _submitData = data; return next(_submitData); } private function next(data:Object):IFormResult { var service:IFormService = IFormService(_services[++_currentServiceId]); var result:IFormResult = service.submit(data); if (result) { if (!result.success) { // We have an error stop submitting and return result return result; } else if (result.data) { // TODO: what to do with data? } // more services left? if (_currentServiceId < _services.length - 1) { return next(data); } else { return result; } } else { EventUtils.addAll(FormServiceEvent, service, handleFormServiceEvent); } return null; } private function handleFormServiceEvent(event:FormServiceEvent):void { EventUtils.removeAll(FormServiceEvent, IEventDispatcher(event.target), handleFormServiceEvent); // If we have more services left and submit was successful, continue. Otherwise submit result. if (_currentServiceId < _services.length - 1 && (event.type == FormServiceEvent.SUCCESS || event.type == FormServiceEvent.RESULT && event.result.success)) { var result:IFormResult = next(_submitData); if (result) { dispatchEvent(new FormServiceEvent(FormServiceEvent.RESULT, result)); } } else { dispatchEvent(event); } } override public function destruct():void { if (_services) { _services.length = 0; _services = null; } _submitData = null; super.destruct(); } } }
package kabam.rotmg.account.kabam.view { import flash.display.Sprite; import flash.filters.DropShadowFilter; import flash.text.TextFieldAutoSize; import kabam.rotmg.account.core.view.AccountInfoView; import kabam.rotmg.text.model.TextKey; import kabam.rotmg.text.view.TextFieldDisplayConcrete; import kabam.rotmg.text.view.stringBuilder.LineBuilder; public class KabamAccountInfoView extends Sprite implements AccountInfoView { private static const FONT_SIZE:int = 18; private var accountText:TextFieldDisplayConcrete; private var userName:String = ""; private var isRegistered:Boolean; public function KabamAccountInfoView() { this.makeAccountText(); } private function makeAccountText():void { this.accountText = new TextFieldDisplayConcrete().setSize(FONT_SIZE).setColor(0xB3B3B3); this.accountText.setAutoSize(TextFieldAutoSize.CENTER); this.accountText.filters = [new DropShadowFilter(0, 0, 0, 1, 4, 4)]; addChild(this.accountText); } public function setInfo(_arg_1:String, _arg_2:Boolean):void { this.userName = _arg_1; this.isRegistered = _arg_2; this.accountText.setStringBuilder(new LineBuilder().setParams(TextKey.KABAMACCOUNTINFOVIEW_ACCOUNTINFO, {"userName": _arg_1})); } } }//package kabam.rotmg.account.kabam.view
package away3d.animators { import away3d.animators.nodes.*; import away3d.errors.*; import away3d.library.assets.*; import away3d.materials.passes.MaterialPassBase; import flash.utils.*; /** * Provides an abstract base class for data set classes that hold animation data for use in animator classes. * * @see away3d.animators.AnimatorBase */ public class AnimationSetBase extends NamedAssetBase implements IAsset { private var _usesCPU:Boolean; private var _animations:Vector.<AnimationNodeBase> = new Vector.<AnimationNodeBase>(); private var _animationNames:Vector.<String> = new Vector.<String>(); private var _animationDictionary:Dictionary = new Dictionary(true); /** * Retrieves a temporary GPU register that's still free. * * @param exclude An array of non-free temporary registers. * @param excludeAnother An additional register that's not free. * @return A temporary register that can be used. */ protected function findTempReg(exclude : Vector.<String>, excludeAnother : String = null) : String { var i : uint; var reg : String; while (true) { reg = "vt" + i; if (exclude.indexOf(reg) == -1 && excludeAnother != reg) return reg; ++i; } // can't be reached return null; } /** * Indicates whether the properties of the animation data contained within the set combined with * the vertex registers aslready in use on shading materials allows the animation data to utilise * GPU calls. */ public function get usesCPU() : Boolean { return _usesCPU; } /** * Called by the material to reset the GPU indicator before testing whether register space in the shader * is available for running GPU-based animation code. * * @private */ public function resetGPUCompatibility() : void { _usesCPU = false; } public function cancelGPUCompatibility() : void { _usesCPU = true; } /** * @inheritDoc */ public function get assetType() : String { return AssetType.ANIMATION_SET; } /** * Returns a vector of animation state objects that make up the contents of the animation data set. */ public function get animations():Vector.<AnimationNodeBase> { return _animations; } /** * Returns a vector of animation state objects that make up the contents of the animation data set. */ public function get animationNames():Vector.<String> { return _animationNames; } /** * Check to determine whether a state is registered in the animation set under the given name. * * @param stateName The name of the animation state object to be checked. */ public function hasAnimation(name:String):Boolean { return _animationDictionary[name] != null; } /** * Retrieves the animation state object registered in the animation data set under the given name. * * @param stateName The name of the animation state object to be retrieved. */ public function getAnimation(name:String):AnimationNodeBase { return _animationDictionary[name]; } /** * Adds an animation state object to the aniamtion data set under the given name. * * @param stateName The name under which the animation state object will be stored. * @param animationState The animation state object to be staored in the set. */ public function addAnimation(node:AnimationNodeBase):void { if (_animationDictionary[node.name]) throw new AnimationSetError("root node name '" + node.name + "' already exists in the set"); _animationDictionary[node.name] = node; _animations.push(node); _animationNames.push(node.name); } /** * Cleans up any resources used by the current object. */ public function dispose() : void { } } }
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY!! //THIS FILE IS AUTO GENERATED, DO NOT MODIFY!! //THIS FILE IS AUTO GENERATED, DO NOT MODIFY!! package com.gamesparks.api.responses { import com.gamesparks.api.types.*; import com.gamesparks.*; /** * A response containing the list of the current players messages / notifications. */ public class ListMessageResponse extends GSResponse { public function ListMessageResponse(data : Object) { super(data); } /** <summary> * A list of JSON objects containing player messages */ public function getMessageList() : Vector.<Object> { var ret : Vector.<Object> = new Vector.<Object>(); if(data.messageList != null) { var list : Array = data.messageList; for(var item : Object in list) { ret.push(list[item]); } } return ret; } } }
/** * Created by newkrok on 02/06/16. */ package net.fpp.pandastory.parser { import net.fpp.common.geom.SimplePoint; import net.fpp.pandastory.vo.EnemyPathDataVO; import net.fpp.pandastory.vo.EnemyPathPointVO; public class EnemyPathDataVOVectorParser implements IParser { public function parse( source:Object ):Object { var result:Vector.<EnemyPathDataVO> = new Vector.<EnemyPathDataVO>; var convertedSource:Array = source as Array; for( var i:int = 0; i < convertedSource.length; i++ ) { var enemyPathDataVO:EnemyPathDataVO = new EnemyPathDataVO(); enemyPathDataVO.id = convertedSource[ i ].id; enemyPathDataVO.enemyPathPoints = new <EnemyPathPointVO>[]; for( var j:int = 0; j < convertedSource[ i ].enemyPathPoints.length; j++ ) { var enemyPathPointData:Object = convertedSource[ i ].enemyPathPoints[ j ]; enemyPathDataVO.enemyPathPoints.push ( new EnemyPathPointVO ( enemyPathPointData.radius, new SimplePoint( enemyPathPointData.point.x, enemyPathPointData.point.y ) ) ); } result.push( enemyPathDataVO ); } return result; } } }
package serverProto.user { import com.netease.protobuf.Message; import com.netease.protobuf.WritingBuffer; import flash.utils.IDataInput; import com.netease.protobuf.ReadUtils; public final class ProtoGetVIPInfoRequset extends Message { public function ProtoGetVIPInfoRequset() { super(); } override final function writeToBuffer(param1:WritingBuffer) : void { var _loc2_:* = undefined; for(_loc2_ in this) { super.writeUnknown(param1,_loc2_); } } override final function readFromSlice(param1:IDataInput, param2:uint) : void { var _loc3_:uint = 0; while(param1.bytesAvailable > param2) { _loc3_ = ReadUtils.read$TYPE_UINT32(param1); if(false?0:0) { } super.readUnknown(param1,_loc3_); } } } }
package com.tudou.player.skin.widgets { import com.tudou.utils.Check; import com.tudou.utils.Global; import com.tudou.utils.Scheduler; import flash.accessibility.AccessibilityProperties; import flash.display.BitmapData; import flash.display.BlendMode; import flash.display.DisplayObject; import flash.display.DisplayObjectContainer; import flash.display.InteractiveObject; import flash.display.Shape; import flash.display.Sprite; import flash.display.Stage; import flash.errors.IllegalOperationError; import flash.events.Event; import flash.events.MouseEvent; import flash.events.TimerEvent; import flash.geom.ColorTransform; import flash.geom.Matrix; import flash.geom.Point; import flash.text.TextField; import flash.text.TextFormat; import flash.text.TextFormatAlign; import flash.utils.Timer; /** * 全局动态提示,使用注册的方式为显示对象实现提示功能。 * * @author 8088 */ public class Hint extends Sprite { public function Hint(lock:Class = null) { if (lock != ConstructorLock) { throw new IllegalOperationError("Hint 是单例模式,禁止外部实例化!!"); } mouseChildren = false; mouseEnabled = false; //.. _area = new Sprite(); addChild(_area); var format:TextFormat = new TextFormat(); format.size = _size; format.align = TextFormatAlign.CENTER; format.font = "Arial"; _label = new TextField(); _label.x = 2; _label.y = 4; _label.height = 24; _label.width = 20; _label.multiline = false; _label.wordWrap = false; _label.defaultTextFormat = format; _label.textColor = defaultColor; _label.text = defaultText; _label.mouseEnabled = false; _area.addChild(_label); drawBg(0, 0); } /** * 为显示对象注册提示,Hint 是单例模式,只能通过此接口注册使用。 * * @param view:InteractiveObject 需要注册提示的显示对象。 * @param alt:String 显示对象的提示信息。 */ public static function register(view:InteractiveObject, alt:String = ""):void { if (view.stage == null) { throw new ArgumentError("Stage 不能为 null!!"); } if (instance == null) { instance = new Hint(ConstructorLock); instance._stage = view.stage; instance._stage.addEventListener(Event.MOUSE_LEAVE, instance.onMouseLeaveHandler); } if (view.accessibilityProperties == null) { var ap:AccessibilityProperties = new AccessibilityProperties(); ap.description = alt; view.accessibilityProperties = ap; } else { view.accessibilityProperties.description = alt; } view.addEventListener(MouseEvent.ROLL_OVER, instance.onMouseHandler); } /** * 取消显示对象的提示功能。 * * @param view:InteractiveObject 需要注册提示的显示对象。 */ public static function unregister(view:InteractiveObject):void { if (instance != null) { view.accessibilityProperties = null; view.removeEventListener(MouseEvent.ROLL_OVER, instance.onMouseHandler); } } /** * 即时改变提示信息。 * * @param t:String 即时提示信息。 */ public static function set text(t:String):void { if (t==null || t.length == 0) { instance.visible = false; return; } instance._text = t; instance._label.text = instance._text; instance._label.width = instance._label.textWidth + instance._size; instance.drawBg(instance._stage.mouseX, instance._stage.mouseY); instance.move(instance._stage.mouseX, instance._stage.mouseY); if(!instance.visible) instance.visible = true; } public static function get text():String { return instance._text; } public static function get label():TextField { return instance._label; } public static function get area():Sprite { return instance._area; } /** * 即时改变提示信息,并插入显示其他信息 * * @param obj:DisplayObject 即时提示的其他信息,如文字、图片、视频等 * @param option:Object 插入设置(用于扩展其他功能) */ public static function insert(obj:DisplayObject, option:Object=null):void { if (obj==null) { instance.visible = false; throw new ArgumentError("插入Hint的显示对象不能为 null!!"); } else { instance._area.addChild(obj); if (option) { if (option.labelX!=undefined) instance._label.x = option.labelX; if (option.labelY!=undefined) instance._label.y = option.labelY; if (option.areaWidth!=undefined) instance._area_w = option.areaWidth; if (option.areaHeight!=undefined) instance._area_h = option.areaHeight; //.. } //重绘背景 instance.drawBg(instance._stage.mouseX, instance._stage.mouseY); instance.move(instance._stage.mouseX, instance._stage.mouseY); if (!instance.visible) instance.visible = true; } } /** * 删除插入的可视信息 * * @param obj:DisplayObject 已经插入的可视信息。 */ public static function remove(obj:DisplayObject, option:Object=null):void { if (instance.mouse_on_hint) return; if (obj && instance._area.contains(obj)) { if (option) { if (option.labelX != undefined) instance._label.x = option.labelX; if (option.labelY != undefined) instance._label.y = option.labelY; if (option.areaWidth != undefined) instance._area_w = option.areaWidth; if (option.areaHeight != undefined) instance._area_h = option.areaHeight; //.. } instance._area.removeChild(obj); instance.drawBg(instance._stage.mouseX, instance._stage.mouseY); instance.move(instance._stage.mouseX, instance._stage.mouseY); } } private var _t_w:Number = 9; //箭头宽度 private var _t_h:Number = 5; //箭头高度 private function drawBg(mouse_x:Number, mouse_y:Number):void { var _x:int = int(_area.x); var _y:int = int(_area.y); var _w:int = _area_w?_area_w:int(_area.width); var _h:int = _area_h?_area_h:int(_area.height); graphics.clear(); graphics.beginFill(0x222222, 1); graphics.drawRect(_x, _y, _w + 4, _h + 4); graphics.beginFill(0x222222, 1); graphics.drawRect(_x + 1, _y + 1, _w + 2, _h + 2); graphics.beginFill(0x222222, 1); graphics.drawRect(_x + 2, _y + 2, _w, _h); graphics.endFill(); if (!_stage) return; var vector:Vector.<Number>; var p1:Point = new Point(); var p2:Point = new Point(); var p3:Point = new Point(); var _v:int; var _t:int; if (mouse_x > this.width*.5 && mouse_x < (_stage.stageWidth - this.width*.5)) { p1.x = (_w + 4+1) * .5; p2.x = p1.x - _t_w * .5; p3.x = p1.x + _t_w * .5; } else { if (mouse_x < _stage.stageWidth*.5) { p1.x = Math.max(2, _area.mouseX); p2.x = Math.max(2, p1.x - _t_w * .5); p3.x = p1.x + _t_w * .5; } else { p1.x = Math.min(_w+2, _area.mouseX);; p2.x = p1.x - _t_w * .5; p3.x = Math.min(_w+2, p1.x + _t_w * .5); }; } if (!isNaN(fix_v) && !isNaN(fix_t)) { _v = fix_v; _t = fix_t; } else { if (mouse_y < (_stage.stageHeight * .5))//箭头在上 { _v = 0; _t = -1; } else {//箭头在下 _v = 1; _t = 1; } } p1.y = _h * _v + _t_h * _t + 2; p2.y = p1.y + _t_h * (-_t); p3.y = p1.y + _t_h * (-_t); vector = new Vector.<Number>(); vector.push(p1.x, p1.y + _t); vector.push(p2.x-1, p2.y + _t); vector.push(p3.x+1, p3.y + _t); graphics.beginFill(0x222222, 1); graphics.drawTriangles(vector); vector= new Vector.<Number>(); vector.push(p1.x, p1.y); vector.push(p2.x, p2.y); vector.push(p3.x, p3.y); graphics.beginFill(0x222222, 1); graphics.drawTriangles(vector); graphics.endFill(); } private function onMouseLeaveHandler(evt:Event=null):void { var ln:int = _area.numChildren; if (ln > 1) { while (_area.numChildren > 1) { _area.removeChildAt(instance._area.numChildren - 1); } drawBg(instance._stage.mouseX, instance._stage.mouseY); move(instance._stage.mouseX, instance._stage.mouseY); } } private function onMouseHandler(evt:MouseEvent):void { switch(evt.type) { case MouseEvent.ROLL_OUT: //mark:如果不做延时,可交互的提示会有问题,如果做延时底部按钮正常的提示有时不出来。因此在显示对象上增加提示可交互配置来处理。 if(fix_interactive)Scheduler.setTimeout(20, clear); else clear(); break; case MouseEvent.MOUSE_MOVE: move(evt.stageX, evt.stageY); break; case MouseEvent.ROLL_OVER: init(evt.target as InteractiveObject); break; } } private function hintRollOverHandler(evt:MouseEvent):void { this.removeEventListener(MouseEvent.ROLL_OVER, hintRollOverHandler); mouse_on_hint = true; this.addEventListener(MouseEvent.ROLL_OUT, hintRollOutHandler); } private function hintRollOutHandler(evt:MouseEvent):void { this.removeEventListener(MouseEvent.ROLL_OUT, hintRollOutHandler); mouse_on_hint = false; clear(); } private function init(view:InteractiveObject):void { _view = view; _view.addEventListener(MouseEvent.ROLL_OUT, onMouseHandler); _view.addEventListener(MouseEvent.MOUSE_MOVE, onMouseHandler); //特殊设置 if (_view.hasOwnProperty("hintColor")) { _color = _view["hintColor"]; if(_color) _label.textColor = _color; } var view_point:Point = _view.localToGlobal(new Point(0, 0)); if (_view.hasOwnProperty("hintX")) { fix_x = view_point.x + _view["hintX"]; } if (_view.hasOwnProperty("hintY")) { fix_y = view_point.y + _view["hintY"]; } if (_view.hasOwnProperty("hintV")) { fix_v = _view["hintV"]; } if (_view.hasOwnProperty("hintT")) { fix_t = _view["hintT"]; } if (_view.hasOwnProperty("hintInteractive")) { fix_interactive = _view["hintInteractive"]; } else { fix_interactive = false; } if (_view.hasOwnProperty("hintHover")) { _hover = _view["hintHover"]; if (_hover) { mouseChildren = true; mouseEnabled = true; this.addEventListener(MouseEvent.ROLL_OVER, hintRollOverHandler); } } //提示信息 if (_view.accessibilityProperties) { _text = _view.accessibilityProperties.description; var max_w:Number; if (_stage&&_text) { max_w = _stage.stageWidth; _text = Check.View(_text, max_w); } text = _text; } //启动延时 if (openingTimer && openingTimer.running) { openingTimer.reset(); openingTimer.start(); } else { startTimer(); } } private function clear(evt:Event = null):void { if (_stage && !mouse_on_hint) { mouseChildren = false; mouseEnabled = false; destroyTimer(); var ln:int = _area.numChildren; if (ln > 1) { while (_area.numChildren > 1) { _area.removeChildAt(_area.numChildren - 1); } } if (_stage.contains(this)) _stage.removeChild(this); if (_view) { _view.removeEventListener(MouseEvent.ROLL_OUT, onMouseHandler); _view.removeEventListener(MouseEvent.MOUSE_MOVE, onMouseHandler); _view = null; } fix_x = Number.NaN; fix_y = Number.NaN; fix_v = Number.NaN; fix_t = Number.NaN; _text = defaultText; _color = defaultColor; _hover = false; mouse_on_hint = false; _label.x = 2; _label.y = 4; _label.textColor = _color; _label.text = _text; _label.width = _label.textWidth + _size; _area_w = 0; _area_h = 0; } } private function move(_x:Number, _y:Number):void { var m_x:Number; var m_y:Number; if (!isNaN(fix_x)) m_x = fix_x; else m_x = _x; if (m_x > this.width*.5 && m_x < (_stage.stageWidth - this.width*.5)) { this.x = int(m_x - this.width*.5); } else { if (m_x < this.width) this.x = 0; else this.x = int(_stage.stageWidth - this.width); } if (!isNaN(fix_y)) m_y = fix_y; else m_y = _y; if (m_y < (_stage.stageHeight * .5)) { this.y = int(m_y + this.height); } else { this.y = int(m_y - this.height); } drawBg(m_x, m_y); } private function startTimer():void { destroyTimer(); openingTimer = new Timer(OPENING_DELAY, 1); openingTimer.addEventListener(TimerEvent.TIMER_COMPLETE, onOpeningTimerComplete); openingTimer.start(); } private function destroyTimer():void { if (openingTimer != null) { openingTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, onOpeningTimerComplete); openingTimer.stop(); openingTimer = null; } } private function onOpeningTimerComplete(evt:TimerEvent):void { openingTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, onOpeningTimerComplete); openingTimer.stop(); openingTimer = null; if (_text==null || _text.length == 0) this.visible = false; else this.visible = true; _stage.addChild(this); } public static var instance:Hint; private static const OPENING_DELAY:Number = 250; private var _stage:Stage; private var _view:InteractiveObject; private var _text:String = ""; private var _color:uint; private var _label:TextField; private var _area:Sprite; private var _size:Number = 12; private var _hover:Boolean = false; private var mouse_on_hint:Boolean = false; private var fix_x:Number; private var fix_y:Number; private var fix_v:Number; private var fix_t:Number; private var fix_interactive:Boolean; private var _area_w:Number=0; private var _area_h:Number=0; private var openingTimer:Timer; private var defaultText:String = ""; private var defaultColor:uint = 0xFFFFFF; } } class ConstructorLock {};
/** * Most Basic Class. All pages that'll be added onto stage should extend this (or its children) class * * Basic rull of thumb, When you create a page, * * @langversion ActionScript 3.0 * @playerversion Flash 9.0 * @author Abraham Lee * @since 03.26.2009 */ package com.neopets.projects.destination.destinationV3 { //---------------------------------------- //IMPORTS //---------------------------------------- import flash.display.MovieClip; import flash.display.Sprite; import flash.display.DisplayObject; import flash.utils.getDefinitionByName; import flash.text.TextField; import flash.text.TextFormat; //---------------------------------------- //CUSTOM IMPORTS //---------------------------------------- import com.neopets.util.events.CustomEvent; public class AbsPage extends Sprite { //---------------------------------------- //VARIABLES //---------------------------------------- //---------------------------------------- //CONSTRUCTOR //---------------------------------------- public function AbsPage(pName:String = null) { if (pName != null) this.name = pName; if (Parameters.view != null) { Parameters.view.addEventListener(AbsView.OBJ_CLICKED, handleObjClick, false, 0, true); trace ("LISTENER IS ADDED"); } else { trace ("ERROR: Parameters.view is NULL:", this, this.name, "AbsPage Constructor"); } } //---------------------------------------- //GETTERS AND SETTERS //---------------------------------------- //---------------------------------------- //PUBLIC METHODS //---------------------------------------- /** * OVERRIDE this function if necessary. * otherwise, it simply removes all its children (this is called from DistinationControl Class) **/ public function cleanup():void { if (Parameters.view.hasEventListener(AbsView.OBJ_CLICKED)) { Parameters.view.removeEventListener(AbsView.OBJ_CLICKED, handleObjClick); } removeAllChildren(this) } //---------------------------------------- //PROTECTED METHODS //---------------------------------------- /** * OVERRIDE this function. It practically serves as init. * but in case you want to have a separate init... * This functions should be in charge of setting up the page * (adding background,btns, display objects, etc.) **/ protected function setupPage():void { } /** * Places a interactive display object with no dynamic text (icon, image btn, etc.) * For consistancy reasons, addImageButton should be called instead of placeImageButton * @NOTE This display object should have a MC or a sprite at the most top layer named (btnArea) * which will serve as "hit area" in traditional button sense **/ protected function placeImageButton (buttonClass:String, pName:String, px:Number = 0, py:Number = 0, pAngle:Number = 0, pFrame:String = null):void { var btnClass:Class = getDefinitionByName(buttonClass) as Class var btn:MovieClip = new btnClass (); btn.x = px; btn.y = py; btn.rotation = pAngle btn.name = pName; btn.hasOwnProperty("btnArea")? btn.btnArea.buttonMode = true: trace ("Please create btnArea"); if (pFrame != null) btn.gotoAndStop(pFrame); addChild(btn); } // for consistancy reasons, addImageButton should be called instead of placeImageButton protected function addImageButton (buttonClass:String, pName:String, px:Number = 0, py:Number = 0, pAngle:Number = 0, pFrame:String = null):void { placeImageButton (buttonClass, pName, px, py, pAngle, pFrame) } /** * Places a interactive display object with dynamic text * (icon/button with a text ex "start" button) * for consistancy reasons, addTextButton should be called instead of placeTextButton * * @NOTE: A Dynamic TextField within this display object should be named "btnText" to show * dynamic text * * @NOTE: This display object should have a MC or a sprite at the most top layer named (btnArea) * which will serve as "hit area" in traditional button sense **/ protected function placeTextButton (buttonClass:String, pName:String,pText:String, px:Number, py:Number, pAngle:Number = 0, pFrame:String = null):void { var btnClass:Class = getDefinitionByName(buttonClass) as Class var btn:MovieClip = new btnClass (); btn.x = px; btn.y = py; btn.rotation = pAngle btn.name = pName; btn.hasOwnProperty("btnArea")? btn.btnArea.buttonMode = true:trace ("Please create btnArea"); btn.hasOwnProperty("btnText")? btn.btnText.text = pText:trace ("Create a TF named btnText"); if (pFrame != null) btn.gotoAndStop(pFrame); addChild(btn); } // for consistancy reasons, addTextButton should be called instead of placeTextButton protected function addTextButton (buttonClass:String, pName:String,pText:String, px:Number, py:Number, pAngle:Number = 0, pFrame:String = null):void { placeTextButton (buttonClass, pName, pText, px, py, pAngle, pFrame) } //Override this should you need it protected function placeToggleButton ():void { //meant to be over written } /** * OBSOLETE * Any class that calls this funciton should be replaced by "addImage" function * Places static display object as a background but use addImage function instead as that's more * accurate description of its function **/ protected function addBackground(imageClass:String, pName:String, px:Number, py:Number):void { var bgClass:Class = getDefinitionByName(imageClass) as Class var bg:MovieClip = new bgClass(); bg.x = px; bg.y = py; bg.name = pName addChild(bg) } /** * Places static display object, be it background, foreground or a small objects **/ protected function addImage(pImageClass:String, pName:String, px:Number = 0, py:Number = 0):void { var imageClass:Class = getDefinitionByName(pImageClass) as Class var image:MovieClip = new imageClass(); image.x = px; image.y = py; image.name = pName addChild(image) } /** * Places static display object, with one text field called myText * Usually I use it for testing background changes **/ protected function addImageWithText(pImageClass:String, pName:String, pText:String, px:Number = 0, py:Number = 0):void { var imageClass:Class = getDefinitionByName(pImageClass) as Class var image:MovieClip = new imageClass(); image.x = px; image.y = py; image.name = pName if (image.hasOwnProperty("myText"))image.myText.text = pText; addChild(image) } /** * Only here for samentic consistancy with calling button methods (though grammatically incorrect); **/ protected function addTextImage(pImageClass:String, pName:String, pText:String, px:Number = 0, py:Number = 0):void { addImageWithText(pImageClass, pName, pText, px, py) } /** * Adds a text box (assumes its a movie clip with a text field inside named myText **/ protected function addTextBox(pBoxClass:String, pName:String, pText:String = null, px:Number = 0, py:Number = 0, pBoxWidth:Number = 400, pBoxHeight:Number = 50 , pAutoSize:String = null):void { var boxClass:Class = getDefinitionByName(pBoxClass) as Class var box:MovieClip = new boxClass(); box.x = px; box.y = py; box.name = pName if (box.hasOwnProperty("myText")) { box.myText.text = pText; box.myText.width = pBoxWidth; box.myText.height = pBoxHeight; box.myText.mouseWheelEnabled = false; if (pAutoSize != null)box.myText.autoSize = pAutoSize; } addChild(box) } /** * Adds a text field **/ protected function addTextField(pName:String, pText:String = null, px:Number = 0, py:Number = 0, pBoxWidth:Number = 400, pBoxHeight:Number = 50 , pAutoSize:String = null, pTextFormat:TextFormat = null):void { var textfield:TextField = new TextField (); textfield.wordWrap = true; textfield.x = px; textfield.y = py; textfield.name = pName; textfield.text = pText; textfield.width = pBoxWidth; textfield.height = pBoxHeight; textfield.multiline = true; textfield.embedFonts = true; textfield.mouseWheelEnabled = false if (pAutoSize != null)textfield.autoSize = pAutoSize; if (pTextFormat != null) textfield.setTextFormat(pTextFormat); addChild(textfield) } //if pase should have its own processing override this.. protected function handleObjClick(e:CustomEvent):void { //trace ("FROM ABS PAGE:", e.oData.DATA.parent.name, e.oData.DATA.parent) } protected function removeAllChildren(displayObj:DisplayObject):void { while ((displayObj as Sprite).numChildren) { (displayObj as Sprite).removeChildAt(0) } } //---------------------------------------- //PRIVATE METHODS //---------------------------------------- //---------------------------------------- //EVENT LISTENER //---------------------------------------- } }
package com.syndrome.sanguo.battle.combat_ui.window.cardwindow { import com.syndrome.sanguo.battle.CombatConsole; import com.syndrome.sanguo.battle.event.SelectEvent; import com.syndrome.sanguo.battle.skin.CardSelectableWindowSkin; import flash.display.DisplayObject; import flash.events.MouseEvent; import manger.SoundManager; import org.flexlite.domUI.collections.ArrayCollection; import org.flexlite.domUI.components.Button; import org.flexlite.domUI.components.IItemRenderer; import org.flexlite.domUI.components.Label; /** * 卡片排序窗口 */ public class CardSortWindow extends CardDisplayWindow { public var okButton:Button; public var tipLabel:Label; private var selectedIndex:int = -1; private var _tipText:String; public function CardSortWindow() { super(); this.skinName = CardSelectableWindowSkin; } private function cardListClickHandle(event:MouseEvent):void { var itemRenderer:IItemRenderer; var target:DisplayObject = event.target as DisplayObject; while(target != cardGroup){ if(target is IItemRenderer) { itemRenderer = target as IItemRenderer; break; } target = target.parent; } if(itemRenderer){ cardClick(itemRenderer.itemIndex); } } protected function cardClick(itemIndex:int):void { var itemObject:Object = cardGroup.dataProvider.getItemAt(itemIndex); if(!itemObject["cardInfo"].hasOwnProperty("isSelectable")) { return; } var dp:ArrayCollection = cardGroup.dataProvider as ArrayCollection; if(selectedIndex<0) { selectedIndex = itemIndex; itemObject["cardInfo"]["isSelected"] = true; dp.itemUpdated(itemObject); } else { var selectedObject:Object = dp.replaceItemAt(itemObject , selectedIndex); selectedObject["cardInfo"]["isSelected"] = false; dp.replaceItemAt(selectedObject , itemIndex); dp.itemUpdated(selectedObject); dp.itemUpdated(itemObject); selectedIndex = -1; } checkOkButton(); } private function checkOkButton():void { if(okButton){ if(selectedIndex<0){ okButton.enabled = true; }else{ okButton.enabled = false; } } } override protected function partAdded(partName:String, instance:Object):void { super.partAdded(partName , instance); if(instance == cardGroup){ cardGroup.addEventListener(MouseEvent.CLICK , cardListClickHandle); }else if(instance == cancelButton){ cancelButton.visible = cancelButton.includeInLayout = false; }else if(instance == okButton){ checkOkButton(); okButton.addEventListener(MouseEvent.CLICK , onButtonClick); }else if(instance == tipLabel){ tipLabel.text = _tipText; } } protected function onButtonClick(event:MouseEvent):void { SoundManager.play("MP3_Button"); removeSelf(); var cardAddresses:Array = []; for (var i:int = 0; i < cardGroup.dataProvider.length; i++) { var item:Object = (cardGroup.dataProvider as ArrayCollection).getItemAt(i); cardAddresses.push(item["cardInfo"]["address"]); } CombatConsole.getInstance().dispatchEvent(new SelectEvent(SelectEvent.SELECT , cardAddresses)); } public function get tipText():String { return _tipText; } public function set tipText(value:String):void { _tipText = value; if(tipLabel){ tipLabel.text = value; } } } }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import com.adobe.test.Assert; class Base { public var x, y; public var intField:int; } class TestSuper extends Base { public var intField2:int; public function testSuperPostInc() { Assert.expectEq("typeof super.x++", "number", typeof super.x++); Assert.expectEq("super.x", Number.NaN, super.x); Assert.expectEq("super.intField++", 0, super.intField++); Assert.expectEq("typeof super.intField", "number", typeof super.intField); Assert.expectEq("super.intField", 1, super.intField); Assert.expectEq("intField2++", 0, intField2++); Assert.expectEq("intField2", 1, intField2); } public function testSuperPostDec() { Assert.expectEq("typeof super.x--", "number", typeof super.x--); Assert.expectEq("super.x", Number.NaN, super.x); Assert.expectEq("super.intField--", 0, super.intField--); Assert.expectEq("typeof super.intField", "number", typeof super.intField); Assert.expectEq("super.intField", -1, super.intField); Assert.expectEq("intField2--", 0, intField2--); Assert.expectEq("intField2", -1, intField2); } } // var SECTION = "Expressions"; // provide a document reference (ie, Actionscript section) // var VERSION = "AS3"; // Version of ECMAScript or ActionScript // var TITLE = "Postfix operators"; // Provide ECMA section title or a description /* Note that this test is an extention to the following ecma3 tests: ecma3/Expressions/e11_3_1.as ecma3/Expressions/e11_3_2.as */ new TestSuper().testSuperPostInc(); new TestSuper().testSuperPostDec(); // displays results.
package org.superkaka.KLib.display.loading { import flash.display.MovieClip; /** * loading接口 * @author kaka */ public interface ILoading { function get content():MovieClip; function set content(mc:MovieClip):void; function setProgress(bytesLoaded:uint, bytesTotal:uint, customData:Object = null):void; function dispose():void; } }
package zpp_nape.util { import zpp_nape.geom.ZPP_SimpleVert; public class ZNPNode_ZPP_SimpleVert extends Object { public function ZNPNode_ZPP_SimpleVert() { } public static var zpp_pool:ZNPNode_ZPP_SimpleVert; public var next:ZNPNode_ZPP_SimpleVert; public var elt:ZPP_SimpleVert; } }
package raix.reactive { import raix.interactive.IEnumerable; /** * Converts a value to an IObservable sequence. It can be considered to have the following overloads: * * <ul> * <li>function():IObservable - returns an empty sequence</li> * <li>function(array : Array):Observable - returns a sequence that wraps an array</li> * <li>function(observable : IObservable):IObservable - returns observable</li> * <li>function(enumerable : IEnumerable):IObservable - returns a sequence that wraps eumerable</li> * <li>function(error : Error):IObservable - returns a sequence will error when subscribed to</li> * <li>function(value : *):IEnumerable - returns enumerable that contains a single value</li> * </ul> */ public function toObservable(... args) : IObservable { if (args.length == 0) { return Observable.empty(); } if (args[0] is Array) { return Observable.fromArray(args[0]); } if (args[0] is IEnumerable) { return (args[0] as IEnumerable).toObservable(); } if (args[0] is IObservable) { return args[0] as IObservable; } if (args[0] is Error) { return Observable.error(args[0] as Error); } return Observable.value(args[0]); } }
//////////////////////////////////////////////////////////////////////////////// // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// package mx.olap { /** * The IOLAPQuery interface represents an OLAP query that is executed on an IOLAPCube. * * @see mx.olap.OLAPQuery * @see mx.olap.IOLAPQueryAxis * @see mx.olap.OLAPQueryAxis * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public interface IOLAPQuery { //-------------------------------------------------------------------------- // // Methods // //-------------------------------------------------------------------------- /** * Gets an axis from the query. You typically call this method to * obtain an uninitialized IOLAPQueryAxis instance, then configure the * IOLAPQueryAxis instance for the query. * * @param axisOrdinal Specify <code>OLAPQuery.COLUMN AXIS</code> for a column axis, * <code>OLAPQuery.ROW_AXIS</code> for a row axis, * and <code>OLAPQuery.SLICER_AXIS</code> for a slicer axis. * * @return The IOLAPQueryAxis instance. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ function getAxis(axisOridnal:int):IOLAPQueryAxis; /** * Sets an axis to the query. * * @param axisOrdinal Specify <code>OLAPQuery.COLUMN AXIS</code> for a column axis, * <code>OLAPQuery.ROW_AXIS</code> for a row axis, * and <code>OLAPQuery.SLICER_AXIS</code> for a slicer axis. * * @param axis The IOLAPQueryAxis instance. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ function setAxis(axisOridnal:int, axis:IOLAPQueryAxis):void; } }
package fl.motion { import flash.geom.Matrix; import flash.utils.*; import flash.filters.ColorMatrixFilter; public class KeyframeBase extends Object { public function KeyframeBase(param1:XML = null) { super(); this.filters = []; this.adjustColorObjects = new Dictionary(); } private var _index:int = -1; public function get index() : int { return this._index; } public function set index(param1:int) : void { this._index = param1 < 0?0:param1; if(this._index == 0) { this.setDefaults(); } } public var x:Number = NaN; public var y:Number = NaN; public var scaleX:Number = NaN; public var scaleY:Number = NaN; public var skewX:Number = NaN; public var skewY:Number = NaN; public function get rotation() : Number { return this.skewY; } public function set rotation(param1:Number) : void { if((isNaN(this.skewX)) || (isNaN(this.skewY))) { this.skewX = param1; } else { this.skewX = this.skewX + (param1 - this.skewY); } this.skewY = param1; } public var rotationConcat:Number = NaN; public var useRotationConcat:Boolean = false; public var filters:Array; public var color:Color; public var label:String = ""; public var loop:String; public var firstFrame:String; public var cacheAsBitmap:Boolean = false; public var opaqueBackground:Object = null; public var blendMode:String = "normal"; public var visible:Boolean = true; public var rotateDirection:String = "auto"; public var rotateTimes:uint = 0; public var orientToPath:Boolean = false; public var blank:Boolean = false; public var matrix3D:Object = null; public var matrix:Matrix = null; public var z:Number = NaN; public var rotationX:Number = NaN; public var rotationY:Number = NaN; public var adjustColorObjects:Dictionary = null; private function setDefaults() : void { if(isNaN(this.x)) { this.x = 0; } if(isNaN(this.y)) { this.y = 0; } if(isNaN(this.z)) { this.z = 0; } if(isNaN(this.scaleX)) { this.scaleX = 1; } if(isNaN(this.scaleY)) { this.scaleY = 1; } if(isNaN(this.skewX)) { this.skewX = 0; } if(isNaN(this.skewY)) { this.skewY = 0; } if(isNaN(this.rotationConcat)) { this.rotationConcat = 0; } if(!this.color) { this.color = new Color(); } } public function getValue(param1:String) : Number { return Number(this[param1]); } public function setValue(param1:String, param2:Number) : void { this[param1] = param2; } protected function hasTween() : Boolean { return false; } public function affectsTweenable(param1:String = "") : Boolean { return (!param1 || !isNaN(this[param1]) || param1 == "color" && this.color || param1 == "filters" && this.filters.length || param1 == "matrix3D" && this.matrix3D || param1 == "matrix" && this.matrix) || (this.blank) || (this.hasTween()); } public function setAdjustColorProperty(param1:int, param2:String, param3:*) : void { var _loc5_:ColorMatrixFilter = null; var _loc6_:Array = null; if(param1 >= this.filters.length) { return; } var _loc4_:AdjustColor = this.adjustColorObjects[param1]; if(_loc4_ == null) { _loc4_ = new AdjustColor(); this.adjustColorObjects[param1] = _loc4_; } switch(param2) { case "adjustColorBrightness": _loc4_.brightness = param3; break; case "adjustColorContrast": _loc4_.contrast = param3; break; case "adjustColorSaturation": _loc4_.saturation = param3; break; case "adjustColorHue": _loc4_.hue = param3; break; } if(_loc4_.AllValuesAreSet()) { _loc5_ = this.filters[param1] as ColorMatrixFilter; if(_loc5_) { _loc6_ = _loc4_.CalculateFinalFlatArray(); if(_loc6_) { _loc5_.matrix = _loc6_; } } } } public function get tweensLength() : int { return 0; } } }
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and conditions for use, reproduction, * and distribution as defined by Sections 1 through 9 of this document. * * "Licensor" shall mean the copyright owner or entity authorized by * the copyright owner that is granting the License. * * "Legal Entity" shall mean the union of the acting entity and all * other entities that control, are controlled by, or are under common * control with that entity. For the purposes of this definition, * "control" means (i) the power, direct or indirect, to cause the * direction or management of such entity, whether by contract or * otherwise, or (ii) ownership of fifty percent (50%) or more of the * outstanding shares, or (iii) beneficial ownership of such entity. * * "You" (or "Your") shall mean an individual or Legal Entity * exercising permissions granted by this License. * * "Source" form shall mean the preferred form for making modifications, * including but not limited to software source code, documentation * source, and configuration files. * * "Object" form shall mean any form resulting from mechanical * transformation or translation of a Source form, including but * not limited to compiled object code, generated documentation, * and conversions to other media types. * * "Work" shall mean the work of authorship, whether in Source or * Object form, made available under the License, as indicated by a * copyright notice that is included in or attached to the work * (an example is provided in the Appendix below). * * "Derivative Works" shall mean any work, whether in Source or Object * form, that is based on (or derived from) the Work and for which the * editorial revisions, annotations, elaborations, or other modifications * represent, as a whole, an original work of authorship. For the purposes * of this License, Derivative Works shall not include works that remain * separable from, or merely link (or bind by name) to the interfaces of, * the Work and Derivative Works thereof. * * "Contribution" shall mean any work of authorship, including * the original version of the Work and any modifications or additions * to that Work or Derivative Works thereof, that is intentionally * submitted to Licensor for inclusion in the Work by the copyright owner * or by an individual or Legal Entity authorized to submit on behalf of * the copyright owner. For the purposes of this definition, "submitted" * means any form of electronic, verbal, or written communication sent * to the Licensor or its representatives, including but not limited to * communication on electronic mailing lists, source code control systems, * and issue tracking systems that are managed by, or on behalf of, the * Licensor for the purpose of discussing and improving the Work, but * excluding communication that is conspicuously marked or otherwise * designated in writing by the copyright owner as "Not a Contribution." * * "Contributor" shall mean Licensor and any individual or Legal Entity * on behalf of whom a Contribution has been received by Licensor and * subsequently incorporated within the Work. * * 2. Grant of Copyright License. Subject to the terms and conditions of * this License, each Contributor hereby grants to You a perpetual, * worldwide, non-exclusive, no-charge, royalty-free, irrevocable * copyright license to reproduce, prepare Derivative Works of, * publicly display, publicly perform, sublicense, and distribute the * Work and such Derivative Works in Source or Object form. * * 3. Grant of Patent License. Subject to the terms and conditions of * this License, each Contributor hereby grants to You a perpetual, * worldwide, non-exclusive, no-charge, royalty-free, irrevocable * (except as stated in this section) patent license to make, have made, * use, offer to sell, sell, import, and otherwise transfer the Work, * where such license applies only to those patent claims licensable * by such Contributor that are necessarily infringed by their * Contribution(s) alone or by combination of their Contribution(s) * with the Work to which such Contribution(s) was submitted. If You * institute patent litigation against any entity (including a * cross-claim or counterclaim in a lawsuit) alleging that the Work * or a Contribution incorporated within the Work constitutes direct * or contributory patent infringement, then any patent licenses * granted to You under this License for that Work shall terminate * as of the date such litigation is filed. * * 4. Redistribution. You may reproduce and distribute copies of the * Work or Derivative Works thereof in any medium, with or without * modifications, and in Source or Object form, provided that You * meet the following conditions: * * (a) You must give any other recipients of the Work or * Derivative Works a copy of this License; and * * (b) You must cause any modified files to carry prominent notices * stating that You changed the files; and * * (c) You must retain, in the Source form of any Derivative Works * that You distribute, all copyright, patent, trademark, and * attribution notices from the Source form of the Work, * excluding those notices that do not pertain to any part of * the Derivative Works; and * * (d) If the Work includes a "NOTICE" text file as part of its * distribution, then any Derivative Works that You distribute must * include a readable copy of the attribution notices contained * within such NOTICE file, excluding those notices that do not * pertain to any part of the Derivative Works, in at least one * of the following places: within a NOTICE text file distributed * as part of the Derivative Works; within the Source form or * documentation, if provided along with the Derivative Works; or, * within a display generated by the Derivative Works, if and * wherever such third-party notices normally appear. The contents * of the NOTICE file are for informational purposes only and * do not modify the License. You may add Your own attribution * notices within Derivative Works that You distribute, alongside * or as an addendum to the NOTICE text from the Work, provided * that such additional attribution notices cannot be construed * as modifying the License. * * You may add Your own copyright statement to Your modifications and * may provide additional or different license terms and conditions * for use, reproduction, or distribution of Your modifications, or * for any such Derivative Works as a whole, provided Your use, * reproduction, and distribution of the Work otherwise complies with * the conditions stated in this License. * * 5. Submission of Contributions. Unless You explicitly state otherwise, * any Contribution intentionally submitted for inclusion in the Work * by You to the Licensor shall be under the terms and conditions of * this License, without any additional terms or conditions. * Notwithstanding the above, nothing herein shall supersede or modify * the terms of any separate license agreement you may have executed * with Licensor regarding such Contributions. * * 6. Trademarks. This License does not grant permission to use the trade * names, trademarks, service marks, or product names of the Licensor, * except as required for reasonable and customary use in describing the * origin of the Work and reproducing the content of the NOTICE file. * * 7. Disclaimer of Warranty. Unless required by applicable law or * agreed to in writing, Licensor provides the Work (and each * Contributor provides its Contributions) on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or * implied, including, without limitation, any warranties or conditions * of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A * PARTICULAR PURPOSE. You are solely responsible for determining the * appropriateness of using or redistributing the Work and assume any * risks associated with Your exercise of permissions under this License. * * 8. Limitation of Liability. In no event and under no legal theory, * whether in tort (including negligence), contract, or otherwise, * unless required by applicable law (such as deliberate and grossly * negligent acts) or agreed to in writing, shall any Contributor be * liable to You for damages, including any direct, indirect, special, * incidental, or consequential damages of any character arising as a * result of this License or out of the use or inability to use the * Work (including but not limited to damages for loss of goodwill, * work stoppage, computer failure or malfunction, or any and all * other commercial damages or losses), even if such Contributor * has been advised of the possibility of such damages. * * 9. Accepting Warranty or Additional Liability. While redistributing * the Work or Derivative Works thereof, You may choose to offer, * and charge a fee for, acceptance of support, warranty, indemnity, * or other liability obligations and/or rights consistent with this * License. However, in accepting such obligations, You may act only * on Your own behalf and on Your sole responsibility, not on behalf * of any other Contributor, and only if You agree to indemnify, * defend, and hold each Contributor harmless for any liability * incurred by, or claims asserted against, such Contributor by reason * of your accepting any such warranty or additional liability. * * END OF TERMS AND CONDITIONS * * APPENDIX: How to apply the Apache License to your work. * * To apply the Apache License to your work, attach the following * boilerplate notice, with the fields enclosed by brackets "{}" * replaced with your own identifying information. (Don't include * the brackets!) The text should be enclosed in the appropriate * comment syntax for the file format. We also recommend that a * file or class name and description of purpose be included on the * same "printed page" as the copyright notice for easier * identification within third-party archives. * * Copyright {yyyy} {name of copyright owner} * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.deleidos.rtws.tc.events { import flash.events.Event; import flash.utils.getQualifiedClassName; public class UserDataEvent extends ParameterEvent { public static const RETRIEVE :String = getQualifiedClassName(UserDataEvent) + ".RETRIEVE"; public static const RETRIEVE_SUCCESS :String = getQualifiedClassName(UserDataEvent) + ".RETRIEVE_SUCCESS"; public static const RETRIEVE_ERROR :String = getQualifiedClassName(UserDataEvent) + ".RETRIEVE_ERROR"; public function UserDataEvent(type:String, parameters:Object = null, bubbles:Boolean = false, cancelable:Boolean = false) { super(type, parameters, bubbles, cancelable); } public override function clone():Event { return new UserDataEvent(type, parameters, bubbles, cancelable); } } }
package laya.ui { import laya.utils.Handler; /** * <code>ISelect</code> 接口,实现对象的 <code>selected</code> 属性和 <code>clickHandler</code> 选择回调函数处理器。 */ public interface ISelect { /** * 一个布尔值,表示是否被选择。 */ function get selected():Boolean; function set selected(value:Boolean):void; /** * 对象的点击事件回掉函数处理器。 */ function get clickHandler():Handler; function set clickHandler(value:Handler):void; } }
package flare.physics { /** * Represents a Spring in a physics simulation. A spring connects two * particles and is defined by the springs rest length, spring tension, * and damping (friction) co-efficient. */ public class Spring { /** The first particle attached to the spring. */ public var p1:Particle; /** The second particle attached to the spring. */ public var p2:Particle; /** The rest length of the spring. */ public var restLength:Number; /** The tension of the spring. */ public var tension:Number; /** The damping (friction) co-efficient of the spring. */ public var damping:Number; /** Flag indicating that the spring is scheduled for removal. */ public var die:Boolean; /** Tag property for storing an arbitrary value. */ public var tag:uint; /** * Creates a new Spring with given parameters. * @param p1 the first particle attached to the spring * @param p2 the second particle attached to the spring * @param restLength the rest length of the spring * @param tension the tension of the spring * @param damping the damping (friction) co-efficient of the spring */ public function Spring(p1:Particle, p2:Particle, restLength:Number=10, tension:Number=0.1, damping:Number=0.1) { init(p1, p2, restLength, tension, damping); } /** * Initializes an existing spring instance. * @param p1 the first particle attached to the spring * @param p2 the second particle attached to the spring * @param restLength the rest length of the spring * @param tension the tension of the spring * @param damping the damping (friction) co-efficient of the spring */ public function init(p1:Particle, p2:Particle, restLength:Number=10, tension:Number=0.1, damping:Number=0.1):void { this.p1 = p1; this.p2 = p2; this.restLength = restLength; this.tension = tension; this.damping = damping; this.die = false; this.tag = 0; } /** * "Kills" this spring, scheduling it for removal in the next * simulation cycle. */ public function kill():void { this.die = true; } } // end of class Spring }
package com.ankamagames.tubul.enum { public class EventListenerPriority { public static const MINIMAL:uint = 0; public static const LOW:uint = 3; public static const NORMAL:uint = 5; public static const HIGH:uint = 10; public static const TOP:uint = uint.MAX_VALUE; public function EventListenerPriority() { super(); } } }
package common { import wyverntail.core.*; import wyverntail.collision.*; /** * Movement controller mimicking classic Zelda Darknut enemy patterns. */ public class DarknutMovement extends Component { public static const STATE_IDLE :int = 0; public static const STATE_INIT :int = 1; public static const STATE_WALK_NORTH :int = 2; public static const STATE_WALK_SOUTH :int = 3; public static const STATE_WALK_EAST :int = 4; public static const STATE_WALK_WEST :int = 5; public static const ChangeDirectionTimeout :Number = 2.0; public static const ChangeDirectionRandomTimeout :Number = 1.5; public static const ChangeDirectionMinTimeout :Number = 0.5; // movement speed in pixels per second // TODO: should be a prefab argument public var verticalSpeed :Number = 120; public var horizontalSpeed :Number = 120; public var minWorldX :Number = 0; public var maxWorldX :Number = Settings.ScreenWidth - 50; public var minWorldY :Number = 0; public var maxWorldY :Number = Settings.ScreenHeight - 50; private var _state :int; private var _walkTimer :Number; private var _pos :Position2D; private var _clip :Sprite; private var _hitbox :Hitbox; private var _walkmesh :CellGrid; override public function start(prefabArgs :Object, spawnArgs :Object) :void { _pos = getComponent(Position2D) as Position2D; _clip = getComponent(Sprite) as Sprite; _hitbox = getComponent(Hitbox) as Hitbox; _walkmesh = prefabArgs.walkmesh; _state = STATE_INIT; } override public function update(elapsed :Number) :void { if (!enabled) { return; } switch (_state) { case STATE_INIT: { setRandomWalkDirection(); } break; default: { // wait a random time and change directions _walkTimer -= elapsed; if (_walkTimer <= 0) { changeWalkDirection(); } } break; } var newX :Number = _pos.worldX; var newY :Number = _pos.worldY; var collidesX :Boolean = false; var collidesY :Boolean = false; if (_state == STATE_WALK_NORTH) { newY -= verticalSpeed * elapsed; collidesY = collidesY || newY < minWorldY; if (_walkmesh) { collidesY = collidesY || _walkmesh.collides(_pos.worldX, newY); collidesY = collidesY || _walkmesh.collides(_pos.worldX + _hitbox.width, newY); } } else if (_state == STATE_WALK_SOUTH) { newY += verticalSpeed * elapsed; collidesY = collidesY || newY > maxWorldY; if (_walkmesh) { collidesY = collidesY || _walkmesh.collides(_pos.worldX, newY + _hitbox.height); collidesY = collidesY || _walkmesh.collides(_pos.worldX + _hitbox.width, newY + _hitbox.height); } } else if (_state == STATE_WALK_WEST) { newX -= horizontalSpeed * elapsed; collidesX = collidesX || newX < minWorldX; if (_walkmesh) { collidesX = collidesX || _walkmesh.collides(newX, _pos.worldY); collidesX = collidesX || _walkmesh.collides(newX, _pos.worldY + _hitbox.height); } } else if (_state == STATE_WALK_EAST) { newX += horizontalSpeed * elapsed; collidesX = collidesX || newX > maxWorldX; if (_walkmesh) { collidesX = collidesX || _walkmesh.collides(newX + _hitbox.width, _pos.worldY); collidesX = collidesX || _walkmesh.collides(newX + _hitbox.width, _pos.worldY + _hitbox.height); } } if (!collidesX) { _pos.worldX = newX; } if (!collidesY) { _pos.worldY = newY; } if (collidesX || collidesY) { reverseDirection(); } // flip the sprite when moving left if (_clip) { if (_state == STATE_WALK_EAST) { _clip.scaleX = 1; } else if (_state == STATE_WALK_WEST) { _clip.scaleX = -1; } } } private function resetWalkTimer():void { _walkTimer = ChangeDirectionTimeout + Math.random() * ChangeDirectionRandomTimeout; if (_walkTimer < ChangeDirectionMinTimeout) { _walkTimer = ChangeDirectionMinTimeout; } } private function setRandomWalkDirection():void { resetWalkTimer(); var rand :Number = Math.random(); if (rand < 0.25) { _state = STATE_WALK_NORTH; } else if (rand < 0.5) { _state = STATE_WALK_SOUTH; } else if (rand < 0.75) { _state = STATE_WALK_EAST; } else { _state = STATE_WALK_WEST; } } private function changeWalkDirection():void { resetWalkTimer(); var rand :Number = Math.random(); switch (_state) { case STATE_WALK_NORTH: case STATE_WALK_SOUTH: { if (rand < 0.5) { _state = STATE_WALK_EAST; } else { _state = STATE_WALK_WEST; } } break; case STATE_WALK_EAST: case STATE_WALK_WEST: { if (rand < 0.5) { _state = STATE_WALK_NORTH; } else { _state = STATE_WALK_SOUTH; } } break; } } private function reverseDirection():void { resetWalkTimer(); switch (_state) { case STATE_WALK_NORTH: { _state = STATE_WALK_SOUTH; } break; case STATE_WALK_SOUTH: { _state = STATE_WALK_NORTH; } break; case STATE_WALK_EAST: { _state = STATE_WALK_WEST; } break; case STATE_WALK_WEST: { _state = STATE_WALK_EAST; } break; } } } // class } // package
/* Copyright (c) 2012 Josh Tynjala Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ package feathers.controls.supportClasses { import org.osflash.signals.ISignal; [ExcludeClass] public interface IViewPort { function get visibleWidth():Number; function set visibleWidth(value:Number):void; function get minVisibleWidth():Number; function set minVisibleWidth(value:Number):void; function get maxVisibleWidth():Number; function set maxVisibleWidth(value:Number):void; function get visibleHeight():Number; function set visibleHeight(value:Number):void; function get minVisibleHeight():Number; function set minVisibleHeight(value:Number):void; function get maxVisibleHeight():Number; function set maxVisibleHeight(value:Number):void; function get horizontalScrollPosition():Number; function set horizontalScrollPosition(value:Number):void; function get verticalScrollPosition():Number; function set verticalScrollPosition(value:Number):void; function get width():Number; function get height():Number; function get onResize():ISignal; } }
package com.d5power.core { import flash.geom.Point; public class IsoUtils { // a more accurate version of 1.2247... public static const Y_CORRECT:Number = Math.cos(-Math.PI / 6) * Math.SQRT2; /** * Converts a 3D point in isometric space to a 2D screen position. * @arg pos the 3D point. */ public static function isoToScreen(pos:Point3D):Point { var screenX:Number = pos.x - pos.z; var screenY:Number = pos.y * Y_CORRECT + (pos.x + pos.z) * .5; return new Point(screenX, screenY); } /** * Converts a 2D screen position to a 3D point in isometric space, assuming y = 0. * @arg point the 2D point. */ public static function screenToIso(point:Point):Point3D { var xpos:Number = point.y + point.x * .5; var ypos:Number = 0; var zpos:Number = point.y - point.x * .5; return new Point3D(xpos, ypos, zpos); } } }
package vo { [Bindable] [RemoteClass(alias="cn.dlut.entity.Host")] public class Host { public id:int; public switch_id:int; public port_id:int; public mac_addr:String; public ip_addr:String; public ctime:Date; public mtime:Date; } }
/***************************************************** * * Copyright 2009 Adobe Systems Incorporated. All Rights Reserved. * ***************************************************** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. * * * The Initial Developer of the Original Code is Adobe Systems Incorporated. * Portions created by Adobe Systems Incorporated are Copyright (C) 2009 Adobe Systems * Incorporated. All Rights Reserved. * *****************************************************/ package org.osmf.elements.compositeClasses { import org.osmf.events.PlayEvent; import org.osmf.media.MediaElement; import org.osmf.traits.MediaTraitType; import org.osmf.traits.PlayState; import org.osmf.traits.PlayTrait; /** * @private * * Helper class for managing transitions from one child of * a SerialElement to another. */ internal class SerialElementTransitionManager { /** * Plays the next playable child that follows the current child, * using the TraitAggregator as the source of available children. * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion OSMF 1.0 */ public static function playNextPlayableChild ( traitAggregator:TraitAggregator , noNextPlayableChildCallback:Function ):void { var currentChild:MediaElement = traitAggregator.listenedChild; // Make a list of all children that follow the current // child. var nextChildren:Array = getNextChildren(traitAggregator, currentChild); // Use a TraitLoader to find the next child that has the // PlayTrait, loading along the way if necessary. var traitLoader:TraitLoader = new TraitLoader(); traitLoader.addEventListener(TraitLoaderEvent.TRAIT_FOUND, onTraitFound); traitLoader.findOrLoadMediaElementWithTrait(nextChildren, MediaTraitType.PLAY); function onTraitFound(event:TraitLoaderEvent):void { traitLoader.removeEventListener(TraitLoaderEvent.TRAIT_FOUND, onTraitFound); // If we do have a next playable child, then we play it. // Otherwise we're done playing. if (event.mediaElement) { var traitOfNextPlayableChild:PlayTrait = event.mediaElement.getTrait(MediaTraitType.PLAY) as PlayTrait; // We want to set the new current child, and then initiate // playback. However, it's possible that the act of setting // the new current child will automatically trigger playback // (for example if the child is placed in parallel to an // already-playing element). In such a case, we obviously // don't want to play it a second time. // // Unfortunately, it's not a simple matter of checking the // PlayTrait.playState property, because it's possible that // the play happened instantaneously (i.e. playState wouldn't // be PLAYING). The most surefire way of detecting // whether the play actually occurred is to listen for an // event. var playbackInitiated:Boolean = false; traitOfNextPlayableChild.addEventListener(PlayEvent.PLAY_STATE_CHANGE, onPlayStateChange); function onPlayStateChange(event:PlayEvent):void { if (event.playState == PlayState.PLAYING) { playbackInitiated = true; } } // Set the current child, this is where the playback might // get automatically triggered. traitAggregator.listenedChild = event.mediaElement; // No need to listen for the event anymore. traitOfNextPlayableChild.removeEventListener(PlayEvent.PLAY_STATE_CHANGE, onPlayStateChange); if (playbackInitiated == false) { traitOfNextPlayableChild.play(); } else { // Just because playback was initiated doesn't mean // we're done. It's possible that the playback // occurred synchronously and already completed, in // which case we should trigger playback of the next // child (if it's not playing already). This should // only happen if the child lacks the TimeTrait. if (traitOfNextPlayableChild.playState == PlayState.STOPPED && traitAggregator.listenedChild.hasTrait(MediaTraitType.TIME) == false) { playNextPlayableChild ( traitAggregator , noNextPlayableChildCallback ); } } } else { // There's no next playable child. However, we should still // move to the next child (which isn't playable). if (nextChildren.length > 0) { traitAggregator.listenedChild = nextChildren[0] as MediaElement; } if (noNextPlayableChildCallback != null) { noNextPlayableChildCallback(); } } } } /** * Returns all children that follow the specified currentChild, * using the specified TraitAggregator as the source of all * children. * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion OSMF 1.0 */ private static function getNextChildren(traitAggregator:TraitAggregator, currentChild:MediaElement):Array { var nextChildren:Array = []; var reachedCurrentChild:Boolean = false; for (var i:int = 0; i < traitAggregator.numChildren; i++) { var child:MediaElement = traitAggregator.getChildAt(i); if (currentChild == child) { reachedCurrentChild = true; } else if (reachedCurrentChild) { nextChildren.push(child); } } return nextChildren; } } }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import com.adobe.test.Assert; // var SECTION = "15.8.2.11"; // var VERSION = ""; // var TITLE = "Math.max(x, y, ... rest) and additional tests base on code coverage"; var testcases = getTestCases(); function getTestCases() { var array = new Array(); var item = 0; // Testcases based on code coverage analysis array[item++] = Assert.expectEq( "Math.max(1, 2, 3)", 3, Math.max(1, 2, 3) ); array[item++] = Assert.expectEq( "1.0/Math.max(0.0, -1, 0.0)", Infinity, 1.0/Math.max(0.0, -1, 0.0) ); array[item++] = Assert.expectEq( "1.0/Math.max(0.0, -1, -0.0)", Infinity, 1.0/Math.max(0.0, -1, -0.0) ); array[item++] = Assert.expectEq( "1.0/Math.max(-0.0, -1, 0.0)", Infinity, 1.0/Math.max(-0.0, -1, 0.0) ); array[item++] = Assert.expectEq( "1.0/Math.max(-0.0, -1, -0.0)", -Infinity, 1.0/Math.max(-0.0, -1, -0.0) ); array[item++] = Assert.expectEq( "Math.max(4, 3, 4)", 4, Math.max(4, 3, 4) ); return ( array ); }
import flash.display.BitmapData; import gfx.io.GameDelegate; import Shared.GlobalFunc; import skyui.util.Debug; import flash.geom.Transform; import flash.geom.ColorTransform; import flash.geom.Matrix; import flash.filters.DropShadowFilter; class AHZEnemyLevel extends MovieClip { //Widgets public var EnemyLevel_mc:MovieClip; public var txtMeasureInstance:TextField; public var SoulLevelInstance:TextField; public var AHZEnemyLevel_mc:MovieClip; // Public vars public var prevEnemyPercent:Number; // Options private var showEnemyLevel:Boolean; private var showEnemyLevelMax:Number; private var showEnemyLevelMin:Number; private var showEnemySoulLevel:Boolean; // private variables private var savedEnemyTextInfo:String; private var savedEnemyHtmlTextInfo:String; private var savedEnemyLevelValue:String; private var savedEnemyLevelNumber:Number = 0; private var savedPlayerLevelNumber:Number = 0; private var tempfunc:Function; private var firstRun:Boolean = true; // Rects private var maxXY:Object; private var minXY:Object; // Statics private static var hooksInstalled:Boolean = false; /* INITIALIZATION */ public function AHZEnemyLevel() { super(); firstRun = true; // Changing scale to compensate for the size change of the nif _root.VREnemyMetersInstance._yscale = _root.VREnemyMetersInstance._yscale * 0.565289527; //0.434710473; //0.565289527; _root.VREnemyMetersInstance._xscale = _root.VREnemyMetersInstance._xscale * 0.769005; var mc:MovieClip = MovieClip(_root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance); AHZEnemyLevel_mc = mc.duplicateMovieClip("AHZEnemyLevel_mc", this.getNextHighestDepth()); _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance._y = 1000; AHZEnemyLevel_mc.gotoAndStop(100); AHZEnemyLevel_mc.RolloverNameInstance.textAutoSize="shrink"; SoulLevelInstance.textAutoSize="shrink"; firstRun = false; if (! hooksInstalled) { // Apply hooks to hook events //hookFunction(_root.VREnemyMetersInstance.EnemyHealthMeter,"Update",this,"Update"); _global.skse.plugins.AHZmoreHUDPlugin.InstallHooks(); hooksInstalled = true; } // Initialize variables showEnemyLevel = false; showEnemyLevelMax = 10; showEnemyLevelMin = 10; showEnemySoulLevel = false; } function appendHtmlToEnd(htmlText:String, appendedHtml:String):String { var stringIndex:Number; stringIndex = htmlText.lastIndexOf("</P></TEXTFORMAT>"); var firstText:String = htmlText.substr(0,stringIndex); var secondText:String = htmlText.substr(stringIndex,htmlText.length - stringIndex); return firstText + appendedHtml + secondText; } function appendImageToEnd(textField:TextField, imageName:String, width:Number, height:Number) { if (textField.text.indexOf("[" + imageName + "]") < 0) { var b1 = BitmapData.loadBitmap(imageName); if (b1) { var a = new Array; a[0] = { subString:"[" + imageName + "]", image:b1, width:width, height:height, id:"id" + imageName }; //baseLineY:0, textField.setImageSubstitutions(a); textField.htmlText = appendHtmlToEnd(textField.htmlText, " " + "[" + imageName + "]"); } } } function interpolate(pBegin:Number, pEnd:Number, pMax:Number, pStep:Number):Number { return pBegin + Math.floor((pEnd - pBegin) * pStep / pMax); } function measureStringWidth(str:String):Number { txtMeasureInstance._alpha = 0; txtMeasureInstance.text = str; return txtMeasureInstance.textWidth; } function adjustBracketWidth():Void { var widthValue:Number = 0.66; widthValue = widthValue * AHZEnemyLevel_mc.RolloverNameInstance.textWidth; widthValue = Math.floor(widthValue) + 5; widthValue = Math.min(100, Math.max(0, widthValue)); AHZEnemyLevel_mc.gotoAndStop(widthValue); } function updateDisplayText():Void { // Could use the extension method SetText, but just to be sure if (_root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.html){ AHZEnemyLevel_mc.RolloverNameInstance.html = true; AHZEnemyLevel_mc.RolloverNameInstance.htmlText = _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.htmlText; } else{ AHZEnemyLevel_mc.RolloverNameInstance.html = false; AHZEnemyLevel_mc.RolloverNameInstance.text = _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.text; } } function onEnterFrame() { AHZEnemyLevel_mc._alpha = _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance._alpha; this._alpha = _root.VREnemyMetersInstance._alpha; if (!AHZEnemyLevel_mc._alpha) { SoulLevelInstance._alpha = 0; } if (!_root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.text || !_root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.text.length) { // I f the text is empty then it was forced by this mod, indicating that no update // from the engine was made, so leave right away. We don't want to be updating in every frame return; } var outData:Object = {outObj:Object}; if (showEnemySoulLevel && _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance._alpha) { _global.skse.plugins.AHZmoreHUDPlugin.GetEnemyInformation(outData, ""); if (outData && outData.outObj && outData.outObj.Soul){ SoulLevelInstance._alpha = _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance._alpha; SoulLevelInstance.text = outData.outObj.Soul; } else { SoulLevelInstance._alpha = 0; } } else { SoulLevelInstance._alpha = 0; // stting to null will flag the code further down to read the data again for the level outData = null; } // This function is hooked and gets fired every frame if (_root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance._alpha && showEnemyLevel) { //_global.skse.plugins.AHZmoreHUDPlugin.AHZLog("T"); var levelText:String; // If the data was not aquired from reading the soul level then read it here if (!outData) { outData = {outObj:Object}; _global.skse.plugins.AHZmoreHUDPlugin.GetEnemyInformation(outData, ""); } if (outData && outData.outObj) { savedEnemyLevelNumber = outData.outObj.EnemyLevel; savedPlayerLevelNumber = outData.outObj.PlayerLevel; } if (showEnemyLevelMax && showEnemyLevelMin && savedEnemyLevelNumber && savedPlayerLevelNumber) { // Get the delta of level from player var deltaLevelFromPlayer = savedEnemyLevelNumber-savedPlayerLevelNumber; var maxPercent:Number = showEnemyLevelMax; var minPercent:Number = showEnemyLevelMin * -1.0; var R:Number; var G:Number; var B:Number; var RGB:Number; var fontColor:String; if (deltaLevelFromPlayer < 0){ if (deltaLevelFromPlayer < minPercent) { deltaLevelFromPlayer = minPercent; } // Start with the same green that is used throughout the menus R = interpolate(0xFF,0x18,minPercent, deltaLevelFromPlayer); G = interpolate(0xFF,0x95,minPercent, deltaLevelFromPlayer); B = interpolate(0xFF,0x15,minPercent, deltaLevelFromPlayer); RGB = (R * 65536) + (G * 256) + B; fontColor = RGB.toString(16); } else if (deltaLevelFromPlayer > 0){ if (deltaLevelFromPlayer > maxPercent) { deltaLevelFromPlayer = maxPercent; } R = interpolate(0xFF,0xFF,maxPercent, deltaLevelFromPlayer); G = interpolate(0xFF,0x00,maxPercent, deltaLevelFromPlayer); B = interpolate(0xFF,0x00,maxPercent, deltaLevelFromPlayer); RGB = (R * 65536) + (G * 256) + B; fontColor = RGB.toString(16); } else { fontColor = "FFFFFF"; } levelText = " (<font color=\'#" + fontColor + "\'>" + savedEnemyLevelNumber.toString() + "</font>)"; _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.html = true; // Append the level AHZEnemyLevel_mc.RolloverNameInstance.html = true; AHZEnemyLevel_mc.RolloverNameInstance.htmlText = appendHtmlToEnd(_root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.htmlText, levelText); adjustBracketWidth(); } // No coloring, turn off html else if (savedEnemyLevelNumber) { AHZEnemyLevel_mc.RolloverNameInstance.html = false; _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.html = false; AHZEnemyLevel_mc.RolloverNameInstance.text = _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.text + " (" + savedEnemyLevelNumber.toString() + ")"; adjustBracketWidth(); } else { AHZEnemyLevel_mc.gotoAndStop(_root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance._currentframe); updateDisplayText(); } } else if (_root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.text && _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.text.length) { AHZEnemyLevel_mc.gotoAndStop(_root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance._currentframe); updateDisplayText(); } _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.htmlText = ""; _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.html = false; _root.VREnemyMetersInstance.EnemyHealth_mc.BracketsInstance.RolloverNameInstance.text = ""; } // @override WidgetBase public function onLoad():Void { super.onLoad(); } // @Papyrus public function updateSettings(showEnemyLevelValue:Number, showEnemyLevelMaxValue:Number, showEnemyLevelMinValue:Number, showEnemySoulLevelValue:Number):Void { showEnemyLevel = (showEnemyLevelValue>=1); showEnemyLevelMax = showEnemyLevelMaxValue; showEnemyLevelMin = showEnemyLevelMinValue; showEnemySoulLevel = (showEnemySoulLevelValue>=1); } public static function hookFunction(a_scope:Object, a_memberFn:String, a_hookScope:Object, a_hookFn:String):Boolean { var memberFn:Function = a_scope[a_memberFn]; if (memberFn == null || a_scope[a_memberFn] == null) { return false; } a_scope[a_memberFn] = function () { memberFn.apply(a_scope,arguments); a_hookScope[a_hookFn].apply(a_hookScope,arguments); }; return true; } }
table flyBaseSwissProt "FlyBase acc to SwissProt acc, plus some other SwissProt info" ( string flyBaseId; "FlyBase FBgn ID" string swissProtId; "SwissProt ID" string spGeneName; "(long) gene name from SwissProt" string spSymbol; "symbolic-looking gene id from SwissProt" )
package com.ankamagames.dofus.network.messages.game.guild { import com.ankamagames.jerakine.network.CustomDataWrapper; import com.ankamagames.jerakine.network.ICustomDataInput; import com.ankamagames.jerakine.network.ICustomDataOutput; import com.ankamagames.jerakine.network.INetworkMessage; import com.ankamagames.jerakine.network.NetworkMessage; import com.ankamagames.jerakine.network.utils.FuncTree; import flash.utils.ByteArray; public class GuildInvitationStateRecrutedMessage extends NetworkMessage implements INetworkMessage { public static const protocolId:uint = 7805; private var _isInitialized:Boolean = false; public var invitationState:uint = 0; public function GuildInvitationStateRecrutedMessage() { super(); } override public function get isInitialized() : Boolean { return this._isInitialized; } override public function getMessageId() : uint { return 7805; } public function initGuildInvitationStateRecrutedMessage(invitationState:uint = 0) : GuildInvitationStateRecrutedMessage { this.invitationState = invitationState; this._isInitialized = true; return this; } override public function reset() : void { this.invitationState = 0; this._isInitialized = false; } override public function pack(output:ICustomDataOutput) : void { var data:ByteArray = new ByteArray(); this.serialize(new CustomDataWrapper(data)); writePacket(output,this.getMessageId(),data); } override public function unpack(input:ICustomDataInput, length:uint) : void { this.deserialize(input); } override public function unpackAsync(input:ICustomDataInput, length:uint) : FuncTree { var tree:FuncTree = new FuncTree(); tree.setRoot(input); this.deserializeAsync(tree); return tree; } public function serialize(output:ICustomDataOutput) : void { this.serializeAs_GuildInvitationStateRecrutedMessage(output); } public function serializeAs_GuildInvitationStateRecrutedMessage(output:ICustomDataOutput) : void { output.writeByte(this.invitationState); } public function deserialize(input:ICustomDataInput) : void { this.deserializeAs_GuildInvitationStateRecrutedMessage(input); } public function deserializeAs_GuildInvitationStateRecrutedMessage(input:ICustomDataInput) : void { this._invitationStateFunc(input); } public function deserializeAsync(tree:FuncTree) : void { this.deserializeAsyncAs_GuildInvitationStateRecrutedMessage(tree); } public function deserializeAsyncAs_GuildInvitationStateRecrutedMessage(tree:FuncTree) : void { tree.addChild(this._invitationStateFunc); } private function _invitationStateFunc(input:ICustomDataInput) : void { this.invitationState = input.readByte(); if(this.invitationState < 0) { throw new Error("Forbidden value (" + this.invitationState + ") on element of GuildInvitationStateRecrutedMessage.invitationState."); } } } }
/* Copyright (c) 2009 Yahoo! Inc. All rights reserved. The copyrights embodied in the content of this file are licensed under the BSD (revised) open source license */ package com.yahoo.social.events { import flash.events.Event; /** * Event class for the Y! Social web service responses. * @author Zach Graves (zachg@yahoo-inc.com) * */ public class YahooResultEvent extends Event { /** * Constant defining the name of the event fired when a security error in encountered while attempting a data request. * @see SecurityErrorEvent */ public static const SECURITY_ERROR:String = "securityError"; /** * Constant defining the name of the event fired when the <code>getImages</code> request completes successfully. * @see Images */ public static const GET_IMAGES_SUCCESS:String = "getImagesSuccess"; /** * Constant defining the name of the event fired when the <code>getImages</code> request encounters an error. * @see Images */ public static const GET_IMAGES_FAILURE:String = "getImagesFailure"; /** * Constant defining the name of the event fired when the <code>getContacts</code> request completes successfully. * @see Contacts */ public static const GET_CONTACTS_SUCCESS:String = "getContactsSuccess"; /** * Constant defining the name of the event fired when the <code>getContacts</code> request encounters an error. * @see Contacts */ public static const GET_CONTACTS_FAILURE:String = "getContactsFailure"; /** * Constant defining the name of the event fired when the <code>getContact</code> request completes successfully. * @see Contacts */ public static const GET_CONTACT_SUCCESS:String = "getContactSuccess"; /** * Constant defining the name of the event fired when the <code>getContact</code> request encounters an error. * @see Contacts */ public static const GET_CONTACT_FAILURE:String = "getContactFailure"; /** * Constant defining the name of the event fired when the <code>getStatus</code> request completes successfully. * @see StatusRequest */ public static const GET_STATUS_SUCCESS:String = "getStatusSuccess"; /** * Constant defining the name of the event fired when the <code>getStatus</code> request encounters an error. * @see StatusRequest */ public static const GET_STATUS_FAILURE:String = "getStatusFailure"; /** * Constant defining the name of the event fired when the <code>getProfile</code> request completes successfully. * @see Profile */ public static const GET_PROFILE_SUCCESS:String = "getProfileSuccess"; /** * Constant defining the name of the event fired when the <code>getProfile</code> request encounters an error. * @see Profile */ public static const GET_PROFILE_FAILURE:String = "getProfileFailure"; /** * Constant defining the name of the event fired when the <code>getConnectionProfiles</code> request completes successfully. * @see Profile */ public static const GET_CONNECTION_PROFILES_SUCCESS:String = "getConnectionProfilesSuccess"; /** * Constant defining the name of the event fired when the <code>getConnectionProfiles</code> request encounters an error. * @see Profile */ public static const GET_CONNECTION_PROFILES_FAILURE:String = "getConnectionProfilesFailure"; /** * Constant defining the name of the event fired when the <code>getConnections</code> request completes successfully. * @see Connections */ public static const GET_CONNECTIONS_SUCCESS:String = "getConnectionsSuccess"; /** * Constant defining the name of the event fired when the <code>getConnections</code> request encounters an error. * @see Connections */ public static const GET_CONNECTIONS_FAILURE:String = "getConnectionsFailure"; /** * Constant defining the name of the event fired when the <code>listUpdates</code> request completes successfully. * @see Updates */ public static const GET_UPDATES_SUCCESS:String = "getUpdatesSuccess"; /** * Constant defining the name of the event fired when the <code>listUpdates</code> request encounters an error. * @see Updates */ public static const GET_UPDATES_FAILURE:String = "getUpdatesFailure"; /** * Constant defining the name of the event fired when the <code>listConnectionUpdates</code> request completes successfully. * @see Updates */ public static const GET_CONNECTION_UPDATES_SUCCESS:String = "getConnectionUpdatesSuccess"; /** * Constant defining the name of the event fired when the <code>listConnectionUpdates</code> request encounters an error. * @see Updates */ public static const GET_CONNECTION_UPDATES_FAILURE:String = "getConnectionUpdatesFailure"; /** * Constant defining the name of the event fired when the <code>query</code> request completes successfully. * @see YQL */ public static const YQL_QUERY_SUCCESS:String = "yqlQuerySuccess"; /** * Constant defining the name of the event fired when the <code>query</code> request encounters an error. * @see YQL */ public static const YQL_QUERY_FAILURE:String = "yqlQueryFailure"; /** * Constant defining the name of the event fired when the <code>setSmallView</code> request completes successfully. * @see ApplicationRequest */ public static const SET_SMALL_VIEW_SUCCESS:String = "setSmallViewSuccess"; /** * Constant defining the name of the event fired when the <code>query</code> request encounters an error. * @see ApplicationRequest */ public static const SET_SMALL_VIEW_FAILURE:String = "setSmallViewFailure"; /** * Constant defining the name of the event fired when the <code>getAccessToken</code> request completes. * @see YahooAuthentication */ public static const GET_ACCESS_TOKEN_SUCCESS:String = "getAccessTokenSuccess"; /** * Constant defining the name of the event fired when the <code>getAccessToken</code> request encounters an error. * @see YahooAuthentication */ public static const GET_ACCESS_TOKEN_FAILURE:String = "getAccessTokenFailure"; /** * Constant defining the name of the event fired when the <code>getAccessToken</code> request completes. * @see YahooAuthentication */ public static const GET_REQUEST_TOKEN_SUCCESS:String = "getRequestTokenSuccess"; /** * Constant defining the name of the event fired when the <code>getAccessToken</code> request encounters an error. * @see YahooAuthentication */ public static const GET_REQUEST_TOKEN_FAILURE:String = "getRequestTokenFailure"; /** * The event data object. */ protected var $data:Object; /** * Creates a new YahooEvent object. * @param type * @param data * @param bubbles * @param cancelable * */ public function YahooResultEvent(type:String, data:Object=null, bubbles:Boolean=false, cancelable:Boolean=false) { super(type, bubbles, cancelable); this.$data = data; } /** * The event data object. * @return * */ public function get data():Object { return $data; } /** * The event data object. * @param value * */ public function set data(value:Object):void { this.$data = value; } /** * Duplicates an instance of an YahooResultEvent class. * @return */ override public function clone():Event { return new YahooResultEvent(type,data,bubbles,cancelable); } /** * Returns a string containing all the properties of the Event object. * @return */ override public function toString():String { return formatToString("YahooResultEvent", "type", "data", "bubbles", "cancelable", "eventPhase"); } } }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package ns { public class B { public function befriendAnA(a:A) { var key:Namespace = a.beMyFriend(this) return a.key::makeMyDay(); } } }
// Urho3D material editor Window@ materialWindow; Material@ editMaterial; XMLFile@ oldMaterialState; bool inMaterialRefresh = true; View3D@ materialPreview; Scene@ previewScene; Node@ previewCameraNode; Node@ previewLightNode; Light@ previewLight; Node@ previewModelNode; StaticModel@ previewModel; void CreateMaterialEditor() { if (materialWindow !is null) return; materialWindow = LoadEditorUI("UI/EditorMaterialWindow.xml"); ui.root.AddChild(materialWindow); materialWindow.opacity = uiMaxOpacity; InitMaterialPreview(); InitModelPreviewList(); RefreshMaterialEditor(); int height = Min(ui.root.height - 60, 600); materialWindow.SetSize(400, height); CenterDialog(materialWindow); HideMaterialEditor(); SubscribeToEvent(materialWindow.GetChild("NewButton", true), "Released", "NewMaterial"); SubscribeToEvent(materialWindow.GetChild("RevertButton", true), "Released", "RevertMaterial"); SubscribeToEvent(materialWindow.GetChild("SaveButton", true), "Released", "SaveMaterial"); SubscribeToEvent(materialWindow.GetChild("SaveAsButton", true), "Released", "SaveMaterialAs"); SubscribeToEvent(materialWindow.GetChild("CloseButton", true), "Released", "HideMaterialEditor"); SubscribeToEvent(materialWindow.GetChild("NewParameterDropDown", true), "ItemSelected", "CreateShaderParameter"); SubscribeToEvent(materialWindow.GetChild("DeleteParameterButton", true), "Released", "DeleteShaderParameter"); SubscribeToEvent(materialWindow.GetChild("NewTechniqueButton", true), "Released", "NewTechnique"); SubscribeToEvent(materialWindow.GetChild("DeleteTechniqueButton", true), "Released", "DeleteTechnique"); SubscribeToEvent(materialWindow.GetChild("SortTechniquesButton", true), "Released", "SortTechniques"); SubscribeToEvent(materialWindow.GetChild("ConstantBiasEdit", true), "TextChanged", "EditConstantBias"); SubscribeToEvent(materialWindow.GetChild("ConstantBiasEdit", true), "TextFinished", "EditConstantBias"); SubscribeToEvent(materialWindow.GetChild("SlopeBiasEdit", true), "TextChanged", "EditSlopeBias"); SubscribeToEvent(materialWindow.GetChild("SlopeBiasEdit", true), "TextFinished", "EditSlopeBias"); SubscribeToEvent(materialWindow.GetChild("RenderOrderEdit", true), "TextChanged", "EditRenderOrder"); SubscribeToEvent(materialWindow.GetChild("RenderOrderEdit", true), "TextFinished", "EditRenderOrder"); SubscribeToEvent(materialWindow.GetChild("CullModeEdit", true), "ItemSelected", "EditCullMode"); SubscribeToEvent(materialWindow.GetChild("ShadowCullModeEdit", true), "ItemSelected", "EditShadowCullMode"); SubscribeToEvent(materialWindow.GetChild("FillModeEdit", true), "ItemSelected", "EditFillMode"); } bool ToggleMaterialEditor() { if (materialWindow.visible == false) ShowMaterialEditor(); else HideMaterialEditor(); return true; } void ShowMaterialEditor() { RefreshMaterialEditor(); materialWindow.visible = true; materialWindow.BringToFront(); } void HideMaterialEditor() { materialWindow.visible = false; } void InitMaterialPreview() { previewScene = Scene("PreviewScene"); previewScene.CreateComponent("Octree"); Node@ zoneNode = previewScene.CreateChild("Zone"); Zone@ zone = zoneNode.CreateComponent("Zone"); zone.boundingBox = BoundingBox(-1000, 1000); zone.ambientColor = Color(0.15, 0.15, 0.15); zone.fogColor = Color(0, 0, 0); zone.fogStart = 10.0; zone.fogEnd = 100.0; previewCameraNode = previewScene.CreateChild("PreviewCamera"); previewCameraNode.position = Vector3(0, 0, -1.5); Camera@ camera = previewCameraNode.CreateComponent("Camera"); camera.nearClip = 0.1f; camera.farClip = 100.0f; previewLightNode = previewScene.CreateChild("PreviewLight"); previewLightNode.direction = Vector3(0.5, -0.5, 0.5); previewLight = previewLightNode.CreateComponent("Light"); previewLight.lightType = LIGHT_DIRECTIONAL; previewLight.specularIntensity = 0.5; previewModelNode = previewScene.CreateChild("PreviewModel"); previewModelNode.rotation = Quaternion(0, 0, 0); previewModel = previewModelNode.CreateComponent("StaticModel"); previewModel.model = cache.GetResource("Model", "Models/Sphere.mdl"); materialPreview = materialWindow.GetChild("MaterialPreview", true); materialPreview.SetFixedHeight(100); materialPreview.SetView(previewScene, camera); materialPreview.viewport.renderPath = renderPath; materialPreview.autoUpdate = false; SubscribeToEvent(materialPreview, "DragMove", "RotateMaterialPreview"); } void InitModelPreviewList() { DropDownList@ modelPreview = materialWindow.GetChild("ModelPreview", true); modelPreview.selection = 1; SubscribeToEvent(materialWindow.GetChild("ModelPreview", true), "ItemSelected", "EditModelPreviewChange"); } void EditMaterial(Material@ mat) { if (editMaterial !is null) UnsubscribeFromEvent(editMaterial, "ReloadFinished"); editMaterial = mat; if (editMaterial !is null) SubscribeToEvent(editMaterial, "ReloadFinished", "RefreshMaterialEditor"); ShowMaterialEditor(); } void RefreshMaterialEditor() { RefreshMaterialPreview(); RefreshMaterialName(); RefreshMaterialTechniques(); RefreshMaterialTextures(); RefreshMaterialShaderParameters(); RefreshMaterialMiscParameters(); } void RefreshMaterialPreview() { previewModel.material = editMaterial; materialPreview.QueueUpdate(); } void RefreshMaterialName() { UIElement@ container = materialWindow.GetChild("NameContainer", true); container.RemoveAllChildren(); LineEdit@ nameEdit = CreateAttributeLineEdit(container, null, 0, 0); if (editMaterial !is null) nameEdit.text = editMaterial.name; SubscribeToEvent(nameEdit, "TextFinished", "EditMaterialName"); Button@ pickButton = CreateResourcePickerButton(container, null, 0, 0, "smallButtonPick"); SubscribeToEvent(pickButton, "Released", "PickEditMaterial"); } void RefreshMaterialTechniques(bool fullUpdate = true) { ListView@ list = materialWindow.GetChild("TechniqueList", true); if (editMaterial is null) return; if (fullUpdate == true) { list.RemoveAllItems(); for (uint i = 0; i < editMaterial.numTechniques; ++i) { TechniqueEntry entry = editMaterial.techniqueEntries[i]; UIElement@ container = UIElement(); container.SetLayout(LM_HORIZONTAL, 4); container.SetFixedHeight(ATTR_HEIGHT); list.AddItem(container); LineEdit@ nameEdit = CreateAttributeLineEdit(container, null, i, 0); nameEdit.name = "TechniqueNameEdit" + String(i); Button@ pickButton = CreateResourcePickerButton(container, null, i, 0, "smallButtonPick"); SubscribeToEvent(pickButton, "Released", "PickMaterialTechnique"); Button@ openButton = CreateResourcePickerButton(container, null, i, 0, "smallButtonOpen"); SubscribeToEvent(openButton, "Released", "OpenResource"); if (entry.technique !is null) nameEdit.text = entry.technique.name; SubscribeToEvent(nameEdit, "TextFinished", "EditMaterialTechnique"); UIElement@ container2 = UIElement(); container2.SetLayout(LM_HORIZONTAL, 4); container2.SetFixedHeight(ATTR_HEIGHT); list.AddItem(container2); Text@ text = container2.CreateChild("Text"); text.style = "EditorAttributeText"; text.text = "Quality"; LineEdit@ attrEdit = CreateAttributeLineEdit(container2, null, i, 0); attrEdit.text = String(entry.qualityLevel); SubscribeToEvent(attrEdit, "TextChanged", "EditTechniqueQuality"); SubscribeToEvent(attrEdit, "TextFinished", "EditTechniqueQuality"); text = container2.CreateChild("Text"); text.style = "EditorAttributeText"; text.text = "LOD Distance"; attrEdit = CreateAttributeLineEdit(container2, null, i, 0); attrEdit.text = String(entry.lodDistance); SubscribeToEvent(attrEdit, "TextChanged", "EditTechniqueLodDistance"); SubscribeToEvent(attrEdit, "TextFinished", "EditTechniqueLodDistance"); } } else { for (uint i = 0; i < editMaterial.numTechniques; ++i) { TechniqueEntry entry = editMaterial.techniqueEntries[i]; LineEdit@ nameEdit = materialWindow.GetChild("TechniqueNameEdit" + String(i), true); if (nameEdit is null) continue; nameEdit.text = entry.technique !is null ? entry.technique.name : ""; } } } void RefreshMaterialTextures(bool fullUpdate = true) { if (fullUpdate) { ListView@ list = materialWindow.GetChild("TextureList", true); list.RemoveAllItems(); for (uint i = 0; i < MAX_MATERIAL_TEXTURE_UNITS; ++i) { String tuName = GetTextureUnitName(TextureUnit(i)); tuName[0] = ToUpper(tuName[0]); UIElement@ parent = CreateAttributeEditorParentWithSeparatedLabel(list, "Unit " + i + " " + tuName, i, 0, false); UIElement@ container = UIElement(); container.SetLayout(LM_HORIZONTAL, 4, IntRect(10, 0, 4, 0)); container.SetFixedHeight(ATTR_HEIGHT); parent.AddChild(container); LineEdit@ nameEdit = CreateAttributeLineEdit(container, null, i, 0); nameEdit.name = "TextureNameEdit" + String(i); Button@ pickButton = CreateResourcePickerButton(container, null, i, 0, "smallButtonPick"); SubscribeToEvent(pickButton, "Released", "PickMaterialTexture"); Button@ openButton = CreateResourcePickerButton(container, null, i, 0, "smallButtonOpen"); SubscribeToEvent(openButton, "Released", "OpenResource"); if (editMaterial !is null) { Texture@ texture = editMaterial.textures[i]; if (texture !is null) nameEdit.text = texture.name; } SubscribeToEvent(nameEdit, "TextFinished", "EditMaterialTexture"); } } else { for (uint i = 0; i < MAX_MATERIAL_TEXTURE_UNITS; ++i) { LineEdit@ nameEdit = materialWindow.GetChild("TextureNameEdit" + String(i), true); if (nameEdit is null) continue; String textureName; if (editMaterial !is null) { Texture@ texture = editMaterial.textures[i]; if (texture !is null) textureName = texture.name; } nameEdit.text = textureName; } } } void RefreshMaterialShaderParameters() { ListView@ list = materialWindow.GetChild("ShaderParameterList", true); list.RemoveAllItems(); if (editMaterial is null) return; Array<String>@ parameterNames = editMaterial.shaderParameterNames; for (uint i = 0; i < parameterNames.length; ++i) { VariantType type = editMaterial.shaderParameters[parameterNames[i]].type; Variant value = editMaterial.shaderParameters[parameterNames[i]]; UIElement@ parent = CreateAttributeEditorParent(list, parameterNames[i], 0, 0); uint numCoords = type - VAR_FLOAT + 1; Array<String> coordValues = value.ToString().Split(' '); for (uint j = 0; j < numCoords; ++j) { LineEdit@ attrEdit = CreateAttributeLineEdit(parent, null, 0, 0); attrEdit.vars["Coordinate"] = j; attrEdit.vars["Name"] = parameterNames[i]; attrEdit.text = coordValues[j]; CreateDragSlider(attrEdit); SubscribeToEvent(attrEdit, "TextChanged", "EditShaderParameter"); SubscribeToEvent(attrEdit, "TextFinished", "EditShaderParameter"); } } } void RefreshMaterialMiscParameters() { if (editMaterial is null) return; inMaterialRefresh = true; BiasParameters bias = editMaterial.depthBias; LineEdit@ attrEdit = materialWindow.GetChild("ConstantBiasEdit", true); attrEdit.text = String(bias.constantBias); attrEdit = materialWindow.GetChild("SlopeBiasEdit", true); attrEdit.text = String(bias.slopeScaledBias); attrEdit = materialWindow.GetChild("RenderOrderEdit", true); attrEdit.text = String(uint(editMaterial.renderOrder)); DropDownList@ attrList = materialWindow.GetChild("CullModeEdit", true); attrList.selection = editMaterial.cullMode; attrList = materialWindow.GetChild("ShadowCullModeEdit", true); attrList.selection = editMaterial.shadowCullMode; attrList = materialWindow.GetChild("FillModeEdit", true); attrList.selection = editMaterial.fillMode; inMaterialRefresh = false; } void RotateMaterialPreview(StringHash eventType, VariantMap& eventData) { int elemX = eventData["ElementX"].GetInt(); int elemY = eventData["ElementY"].GetInt(); if (materialPreview.height > 0 && materialPreview.width > 0) { float yaw = ((materialPreview.height / 2) - elemY) * (90.0 / materialPreview.height); float pitch = ((materialPreview.width / 2) - elemX) * (90.0 / materialPreview.width); previewModelNode.rotation = previewModelNode.rotation.Slerp(Quaternion(yaw, pitch, 0), 0.1); materialPreview.QueueUpdate(); } } void EditMaterialName(StringHash eventType, VariantMap& eventData) { LineEdit@ nameEdit = eventData["Element"].GetPtr(); String newMaterialName = nameEdit.text.Trimmed(); if (!newMaterialName.empty) { Material@ newMaterial = cache.GetResource("Material", newMaterialName); if (newMaterial !is null) EditMaterial(newMaterial); } } void PickEditMaterial() { @resourcePicker = GetResourcePicker(StringHash("Material")); if (resourcePicker is null) return; String lastPath = resourcePicker.lastPath; if (lastPath.empty) lastPath = sceneResourcePath; CreateFileSelector(localization.Get("Pick ") + resourcePicker.typeName, "OK", "Cancel", lastPath, resourcePicker.filters, resourcePicker.lastFilter, false); SubscribeToEvent(uiFileSelector, "FileSelected", "PickEditMaterialDone"); } void PickEditMaterialDone(StringHash eventType, VariantMap& eventData) { StoreResourcePickerPath(); CloseFileSelector(); if (!eventData["OK"].GetBool()) { @resourcePicker = null; return; } String resourceName = eventData["FileName"].GetString(); Resource@ res = GetPickedResource(resourceName); if (res !is null) EditMaterial(cast<Material>(res)); @resourcePicker = null; } void NewMaterial() { EditMaterial(Material()); } void RevertMaterial() { if (editMaterial is null) return; BeginMaterialEdit(); cache.ReloadResource(editMaterial); EndMaterialEdit(); RefreshMaterialEditor(); } void SaveMaterial() { if (editMaterial is null || editMaterial.name.empty) return; String fullName = cache.GetResourceFileName(editMaterial.name); if (fullName.empty) return; MakeBackup(fullName); File saveFile(fullName, FILE_WRITE); bool success; if (GetExtension(fullName) == ".json") { JSONFile json; editMaterial.Save(json.root); success = json.Save(saveFile); } else success = editMaterial.Save(saveFile); RemoveBackup(success, fullName); } void SaveMaterialAs() { if (editMaterial is null) return; @resourcePicker = GetResourcePicker(StringHash("Material")); if (resourcePicker is null) return; String lastPath = resourcePicker.lastPath; if (lastPath.empty) lastPath = sceneResourcePath; CreateFileSelector("Save material as", "Save", "Cancel", lastPath, resourcePicker.filters, resourcePicker.lastFilter); SubscribeToEvent(uiFileSelector, "FileSelected", "SaveMaterialAsDone"); } void SaveMaterialAsDone(StringHash eventType, VariantMap& eventData) { StoreResourcePickerPath(); CloseFileSelector(); @resourcePicker = null; if (editMaterial is null) return; if (!eventData["OK"].GetBool()) { @resourcePicker = null; return; } String fullName = eventData["FileName"].GetString(); // Add default extension for saving if not specified String filter = eventData["Filter"].GetString(); if (GetExtension(fullName).empty && filter != "*.*") fullName = fullName + filter.Substring(1); MakeBackup(fullName); File saveFile(fullName, FILE_WRITE); bool success; if (GetExtension(fullName) == ".json") { JSONFile json; editMaterial.Save(json.root); success = json.Save(saveFile); } else success = editMaterial.Save(saveFile); if (success) { saveFile.Close(); RemoveBackup(true, fullName); // Load the new resource to update the name in the editor Material@ newMat = cache.GetResource("Material", GetResourceNameFromFullName(fullName)); if (newMat !is null) EditMaterial(newMat); } } void EditModelPreviewChange(StringHash eventType, VariantMap& eventData) { if (materialPreview is null) return; previewModelNode.scale = Vector3(1.0, 1.0, 1.0); DropDownList@ element = eventData["Element"].GetPtr(); switch (element.selection) { case 0: previewModel.model = cache.GetResource("Model", "Models/Box.mdl"); break; case 1: previewModel.model = cache.GetResource("Model", "Models/Sphere.mdl"); break; case 2: previewModel.model = cache.GetResource("Model", "Models/Plane.mdl"); break; case 3: previewModel.model = cache.GetResource("Model", "Models/Cylinder.mdl"); previewModelNode.scale = Vector3(0.8, 0.8, 0.8); break; case 4: previewModel.model = cache.GetResource("Model", "Models/Cone.mdl"); break; case 5: previewModel.model = cache.GetResource("Model", "Models/TeaPot.mdl"); break; } materialPreview.QueueUpdate(); } void EditShaderParameter(StringHash eventType, VariantMap& eventData) { if (editMaterial is null) return; LineEdit@ attrEdit = eventData["Element"].GetPtr(); uint coordinate = attrEdit.vars["Coordinate"].GetUInt(); String name = attrEdit.vars["Name"].GetString(); Variant oldValue = editMaterial.shaderParameters[name]; Array<String> coordValues = oldValue.ToString().Split(' '); coordValues[coordinate] = String(attrEdit.text.ToFloat()); String valueString; for (uint i = 0; i < coordValues.length; ++i) { valueString += coordValues[i]; valueString += " "; } Variant newValue; newValue.FromString(oldValue.type, valueString); BeginMaterialEdit(); editMaterial.shaderParameters[name] = newValue; EndMaterialEdit(); } void CreateShaderParameter(StringHash eventType, VariantMap& eventData) { if (editMaterial is null) return; LineEdit@ nameEdit = materialWindow.GetChild("ParameterNameEdit", true); String newName = nameEdit.text.Trimmed(); if (newName.empty) return; DropDownList@ dropDown = eventData["Element"].GetPtr(); Variant newValue; switch (dropDown.selection) { case 0: newValue = float(0); break; case 1: newValue = Vector2(0, 0); break; case 2: newValue = Vector3(0, 0, 0); break; case 3: newValue = Vector4(0, 0, 0, 0); break; } BeginMaterialEdit(); editMaterial.shaderParameters[newName] = newValue; EndMaterialEdit(); RefreshMaterialShaderParameters(); } void DeleteShaderParameter() { if (editMaterial is null) return; LineEdit@ nameEdit = materialWindow.GetChild("ParameterNameEdit", true); String name = nameEdit.text.Trimmed(); if (name.empty) return; BeginMaterialEdit(); editMaterial.RemoveShaderParameter(name); EndMaterialEdit(); RefreshMaterialShaderParameters(); } void PickMaterialTexture(StringHash eventType, VariantMap& eventData) { if (editMaterial is null) return; UIElement@ button = eventData["Element"].GetPtr(); resourcePickIndex = button.vars["Index"].GetUInt(); @resourcePicker = GetResourcePicker(StringHash("Texture2D")); if (resourcePicker is null) return; String lastPath = resourcePicker.lastPath; if (lastPath.empty) lastPath = sceneResourcePath; CreateFileSelector(localization.Get("Pick ") + resourcePicker.typeName, "OK", "Cancel", lastPath, resourcePicker.filters, resourcePicker.lastFilter, false); SubscribeToEvent(uiFileSelector, "FileSelected", "PickMaterialTextureDone"); } void PickMaterialTextureDone(StringHash eventType, VariantMap& eventData) { StoreResourcePickerPath(); CloseFileSelector(); if (!eventData["OK"].GetBool()) { @resourcePicker = null; return; } String resourceName = eventData["FileName"].GetString(); Resource@ res = GetPickedResource(resourceName); if (res !is null && editMaterial !is null) { BeginMaterialEdit(); editMaterial.textures[resourcePickIndex] = res; EndMaterialEdit(); RefreshMaterialTextures(false); } @resourcePicker = null; } void EditMaterialTexture(StringHash eventType, VariantMap& eventData) { if (editMaterial is null) return; LineEdit@ attrEdit = eventData["Element"].GetPtr(); String textureName = attrEdit.text.Trimmed(); uint index = attrEdit.vars["Index"].GetUInt(); BeginMaterialEdit(); if (!textureName.empty) { Texture@ texture = cache.GetResource(GetExtension(textureName) == ".xml" ? "TextureCube" : "Texture2D", textureName); editMaterial.textures[index] = texture; } else editMaterial.textures[index] = null; EndMaterialEdit(); } void NewTechnique() { if (editMaterial is null) return; BeginMaterialEdit(); editMaterial.numTechniques = editMaterial.numTechniques + 1; EndMaterialEdit(); RefreshMaterialTechniques(); } void DeleteTechnique() { if (editMaterial is null || editMaterial.numTechniques < 2) return; BeginMaterialEdit(); editMaterial.numTechniques = editMaterial.numTechniques - 1; EndMaterialEdit(); RefreshMaterialTechniques(); } void PickMaterialTechnique(StringHash eventType, VariantMap& eventData) { if (editMaterial is null) return; UIElement@ button = eventData["Element"].GetPtr(); resourcePickIndex = button.vars["Index"].GetUInt(); @resourcePicker = GetResourcePicker(StringHash("Technique")); if (resourcePicker is null) return; String lastPath = resourcePicker.lastPath; if (lastPath.empty) lastPath = sceneResourcePath; CreateFileSelector(localization.Get("Pick ") + resourcePicker.typeName, "OK", "Cancel", lastPath, resourcePicker.filters, resourcePicker.lastFilter, false); SubscribeToEvent(uiFileSelector, "FileSelected", "PickMaterialTechniqueDone"); } void PickMaterialTechniqueDone(StringHash eventType, VariantMap& eventData) { StoreResourcePickerPath(); CloseFileSelector(); if (!eventData["OK"].GetBool()) { @resourcePicker = null; return; } String resourceName = eventData["FileName"].GetString(); Resource@ res = GetPickedResource(resourceName); if (res !is null && editMaterial !is null) { BeginMaterialEdit(); TechniqueEntry entry = editMaterial.techniqueEntries[resourcePickIndex]; editMaterial.SetTechnique(resourcePickIndex, res, entry.qualityLevel, entry.lodDistance); EndMaterialEdit(); RefreshMaterialTechniques(false); } @resourcePicker = null; } void EditMaterialTechnique(StringHash eventType, VariantMap& eventData) { if (editMaterial is null) return; LineEdit@ attrEdit = eventData["Element"].GetPtr(); String techniqueName = attrEdit.text.Trimmed(); uint index = attrEdit.vars["Index"].GetUInt(); BeginMaterialEdit(); Technique@ newTech; if (!techniqueName.empty) newTech = cache.GetResource("Technique", techniqueName); TechniqueEntry entry = editMaterial.techniqueEntries[index]; editMaterial.SetTechnique(index, newTech, entry.qualityLevel, entry.lodDistance); EndMaterialEdit(); } void EditTechniqueQuality(StringHash eventType, VariantMap& eventData) { if (editMaterial is null) return; LineEdit@ attrEdit = eventData["Element"].GetPtr(); uint newQualityLevel = attrEdit.text.ToUInt(); uint index = attrEdit.vars["Index"].GetUInt(); BeginMaterialEdit(); TechniqueEntry entry = editMaterial.techniqueEntries[index]; editMaterial.SetTechnique(index, entry.technique, newQualityLevel, entry.lodDistance); EndMaterialEdit(); } void EditTechniqueLodDistance(StringHash eventType, VariantMap& eventData) { if (editMaterial is null) return; LineEdit@ attrEdit = eventData["Element"].GetPtr(); float newLodDistance = attrEdit.text.ToFloat(); uint index = attrEdit.vars["Index"].GetUInt(); BeginMaterialEdit(); TechniqueEntry entry = editMaterial.techniqueEntries[index]; editMaterial.SetTechnique(index, entry.technique, entry.qualityLevel, newLodDistance); EndMaterialEdit(); } void SortTechniques() { if (editMaterial is null) return; BeginMaterialEdit(); editMaterial.SortTechniques(); EndMaterialEdit(); RefreshMaterialTechniques(); } void EditConstantBias(StringHash eventType, VariantMap& eventData) { if (editMaterial is null || inMaterialRefresh) return; BeginMaterialEdit(); LineEdit@ attrEdit = eventData["Element"].GetPtr(); BiasParameters bias = editMaterial.depthBias; bias.constantBias = attrEdit.text.ToFloat(); editMaterial.depthBias = bias; EndMaterialEdit(); } void EditSlopeBias(StringHash eventType, VariantMap& eventData) { if (editMaterial is null || inMaterialRefresh) return; BeginMaterialEdit(); LineEdit@ attrEdit = eventData["Element"].GetPtr(); BiasParameters bias = editMaterial.depthBias; bias.slopeScaledBias = attrEdit.text.ToFloat(); editMaterial.depthBias = bias; EndMaterialEdit(); } void EditRenderOrder(StringHash eventType, VariantMap& eventData) { if (editMaterial is null || inMaterialRefresh) return; BeginMaterialEdit(); LineEdit@ attrEdit = eventData["Element"].GetPtr(); editMaterial.renderOrder = attrEdit.text.ToUInt(); EndMaterialEdit(); } void EditCullMode(StringHash eventType, VariantMap& eventData) { if (editMaterial is null || inMaterialRefresh) return; BeginMaterialEdit(); DropDownList@ attrEdit = eventData["Element"].GetPtr(); editMaterial.cullMode = CullMode(attrEdit.selection); EndMaterialEdit(); } void EditShadowCullMode(StringHash eventType, VariantMap& eventData) { if (editMaterial is null || inMaterialRefresh) return; BeginMaterialEdit(); DropDownList@ attrEdit = eventData["Element"].GetPtr(); editMaterial.shadowCullMode = CullMode(attrEdit.selection); EndMaterialEdit(); } void EditFillMode(StringHash eventType, VariantMap& eventData) { if (editMaterial is null || inMaterialRefresh) return; BeginMaterialEdit(); DropDownList@ attrEdit = eventData["Element"].GetPtr(); editMaterial.fillMode = FillMode(attrEdit.selection); EndMaterialEdit(); } void BeginMaterialEdit() { if (editMaterial is null) return; oldMaterialState = XMLFile(); XMLElement materialElem = oldMaterialState.CreateRoot("material"); editMaterial.Save(materialElem); } void EndMaterialEdit() { if (editMaterial is null) return; if (!dragEditAttribute) { EditMaterialAction@ action = EditMaterialAction(); action.Define(editMaterial, oldMaterialState); SaveEditAction(action); } materialPreview.QueueUpdate(); }
package cmodule.lua_wrapper { import flash.events.Event; import flash.events.IOErrorEvent; import flash.events.TimerEvent; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.URLRequest; import flash.utils.Timer; public class CRunner implements Debuggee { var timer:Timer; var forceSyncSystem:Boolean; var suspended:int = 0; var debugger:GDBMIDebugger; public function CRunner(param1:Boolean = false) { super(); if(grunner) { log(1,"More than one CRunner!"); } grunner = this; this.forceSyncSystem = param1; } public function cancelDebug() : void { this.debugger = null; } public function get isRunning() : Boolean { return this.suspended <= 0; } public function createArgv(param1:Array) : Array { return this.rawAllocStringArray(param1).concat(0); } public function createEnv(param1:Object) : Array { var _loc2_:Array = null; var _loc3_:* = null; _loc2_ = []; for(_loc3_ in param1) { _loc2_.push(_loc3_ + "=" + param1[_loc3_]); } return this.rawAllocStringArray(_loc2_).concat(0); } public function startInit() : void { var args:Array = null; var env:Object = null; var argv:Array = null; var envp:Array = null; var startArgs:Array = null; var ap:int = 0; log(2,"Static init..."); modStaticInit(); args = gstate.system.getargv(); env = gstate.system.getenv(); argv = this.createArgv(args); envp = this.createEnv(env); startArgs = [args.length].concat(argv,envp); ap = this.rawAllocIntArray(startArgs); gstate.ds.length = gstate.ds.length + 4095 & ~4095; gstate.push(ap); gstate.push(0); log(2,"Starting work..."); this.timer = new Timer(1); this.timer.addEventListener(TimerEvent.TIMER,function(param1:TimerEvent):void { work(); }); try { FSM__start.start(); } catch(e:AlchemyExit) { gstate.system.exit(e.rv); return; } catch(e:AlchemyYield) { } catch(e:AlchemyDispatch) { } catch(e:AlchemyBlock) { } this.startWork(); } private function startWork() : void { if(!this.timer.running) { this.timer.delay = 1; this.timer.start(); } } public function work() : void { var startTime:Number = NaN; var checkInterval:int = 0; var ms:int = 0; if(!this.isRunning) { return; } try { startTime = new Date().time; do { checkInterval = 1000; while(checkInterval > 0) { try { while(checkInterval-- > 0) { gstate.gworker.work(); } } catch(e:AlchemyDispatch) { continue; } } } while(new Date().time - startTime < 1000 * 10); throw new AlchemyYield(); } catch(e:AlchemyExit) { timer.stop(); gstate.system.exit(e.rv); } catch(e:AlchemyYield) { ms = e.ms; timer.delay = ms > 0 ? Number(ms) : Number(1); } catch(e:AlchemyBlock) { timer.delay = 10; } catch(e:AlchemyBreakpoint) { throw e; } } public function startSystemBridge(param1:String, param2:int) : void { log(3,"bridge: " + param1 + " port: " + param2); gstate.system = new CSystemBridge(param1,param2); gstate.system.setup(this.startInit); } public function rawAllocString(param1:String) : int { var _loc2_:int = 0; var _loc3_:int = 0; _loc2_ = gstate.ds.length; gstate.ds.length += param1.length + 1; gstate.ds.position = _loc2_; _loc3_ = 0; while(_loc3_ < param1.length) { gstate.ds.writeByte(param1.charCodeAt(_loc3_)); _loc3_++; } gstate.ds.writeByte(0); return _loc2_; } public function rawAllocStringArray(param1:Array) : Array { var _loc2_:Array = null; var _loc3_:int = 0; _loc2_ = []; _loc3_ = 0; while(_loc3_ < param1.length) { _loc2_.push(this.rawAllocString(param1[_loc3_])); _loc3_++; } return _loc2_; } public function resume() : void { if(!--this.suspended) { this.startWork(); } } public function startSystem() : void { var request:URLRequest = null; var loader:URLLoader = null; if(!this.forceSyncSystem) { request = new URLRequest(".swfbridge"); loader = new URLLoader(); loader.dataFormat = URLLoaderDataFormat.TEXT; loader.addEventListener(Event.COMPLETE,function(param1:Event):void { var _loc2_:XML = null; _loc2_ = new XML(loader.data); if(_loc2_ && _loc2_.name() == "bridge" && _loc2_.host && _loc2_.port) { startSystemBridge(_loc2_.host,_loc2_.port); } else { startSystemLocal(); } }); loader.addEventListener(IOErrorEvent.IO_ERROR,function(param1:Event):void { startSystemLocal(); }); loader.load(request); return; } this.startSystemLocal(true); } public function rawAllocIntArray(param1:Array) : int { var _loc2_:int = 0; var _loc3_:int = 0; _loc2_ = gstate.ds.length; gstate.ds.length += (param1.length + 1) * 4; gstate.ds.position = _loc2_; _loc3_ = 0; while(_loc3_ < param1.length) { gstate.ds.writeInt(param1[_loc3_]); _loc3_++; } return _loc2_; } public function startSystemLocal(param1:Boolean = false) : void { log(3,"local system"); gstate.system = new CSystemLocal(param1); gstate.system.setup(this.startInit); } public function suspend() : void { ++this.suspended; if(this.timer && this.timer.running) { this.timer.stop(); } } } }
package { class A { static function foo() { return new A().toString(); } function toString() { return "HELLO"; } } var f = A.foo; trace(f()); }
package visuals { import flash.display.MovieClip; import flash.events.Event; public class GOverText extends MovieClip { public static const END_ACTION:String = "End Anim Action"; protected function endAction():void { stop(); dispatchEvent(new Event(END_ACTION)); } } }
package com.guepard.app.gui { import flash.display.MovieClip; /** * ... * @author Antonov Sergey */ public class ParametersTab extends TabController { public function get custom():TargetDesign { return TargetDesign(design); } public function ParametersTab(design:MovieClip) { super(design); custom.frameRate.minimum = 1; custom.frameRate.maximum = 60; custom.frameRate.value = 30; custom.appWidth.minimum = 1; custom.appWidth.maximum = 4096; custom.appWidth.value = 640; custom.appHeight.minimum = 1; custom.appHeight.maximum = 4096; custom.appHeight.value = 480; getDefaults(); } } }
package org.as3commons.ui.lifecycle.i10n.tests { import org.as3commons.collections.utils.ArrayUtils; import org.as3commons.ui.framework.uiservice.errors.ServiceAlreadyStartedError; import org.as3commons.ui.framework.uiservice.errors.ServiceNotStartedError; import org.as3commons.ui.lifecycle.i10n.I10N; import org.as3commons.ui.lifecycle.i10n.errors.NoValidationPhaseError; import org.as3commons.ui.lifecycle.i10n.errors.PhaseAlreadyExistsError; import org.as3commons.ui.lifecycle.i10n.errors.ValidateNowInRunningCycleError; import org.as3commons.ui.lifecycle.i10n.testhelper.I10NCallbackWatcher; import org.as3commons.ui.lifecycle.i10n.testhelper.TestI10NAdapter; import org.as3commons.ui.lifecycle.testhelper.AsyncCallback; import org.as3commons.ui.testhelper.TestDisplayObject; import org.flexunit.asserts.assertFalse; import org.flexunit.asserts.assertNotNull; import org.flexunit.asserts.assertNull; import org.flexunit.asserts.assertTrue; import flash.display.DisplayObject; import flash.events.Event; /** * @author Jens Struwe 12.09.2011 */ public class I10NTest { private var _i10n : I10N; private var _watcher : I10NCallbackWatcher; [Before] public function setUp() : void { _i10n = new I10N(); _watcher = new I10NCallbackWatcher(); } [After] public function tearDown() : void { _i10n.cleanUp(); _i10n = null; _watcher = null; StageProxy.cleanUpRoot(); } private function setUpCompleteTimer(callback : Function) : void { AsyncCallback.setUpCompleteTimer(this, callback); } [Test] public function test_instantiated() : void { assertTrue(_i10n is I10N); } [Test] public function test_addPhase_afterStartThrowsError() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var errorThrown : Error; try { _i10n.addPhase("test2", I10N.PHASE_ORDER_TOP_DOWN); } catch (e : Error) { errorThrown = e; } assertNotNull(errorThrown); assertTrue(errorThrown is ServiceAlreadyStartedError); } [Test] public function test_addPhase_nameExistsThrowsError() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); var errorThrown : Error; try { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); } catch (e : Error) { errorThrown = e; } assertNotNull(errorThrown); assertTrue(errorThrown is PhaseAlreadyExistsError); } [Test] public function test_start_noPhaseThrowsError() : void { var errorThrown : Error; try { _i10n.start(); } catch (e : Error) { errorThrown = e; } assertNotNull(errorThrown); assertTrue(errorThrown is NoValidationPhaseError); } [Test(async)] public function test_register() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("test2", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); _i10n.registerDisplayObject(s, adapter); adapter.invalidate("test"); setUpCompleteTimer(complete); function complete(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([s, "test"], _watcher.validateLog)); adapter.invalidate("test2"); setUpCompleteTimer(complete2); } function complete2(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([s, "test2"], _watcher.validateLog)); } } [Test] public function test_validateNow_beforeStartThrowsError() : void { var errorThrown : Error; try { _i10n.validateNow(); } catch (e : Error) { errorThrown = e; } assertNotNull(errorThrown); assertTrue(errorThrown is ServiceNotStartedError); } [Test(async)] public function test_validateNow() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); _i10n.registerDisplayObject(s, adapter); adapter.invalidate("test"); var s2 : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s2")); var adapter2 : TestI10NAdapter = new TestI10NAdapter(_watcher); _i10n.registerDisplayObject(s2, adapter2); adapter2.invalidate("test"); _i10n.validateNow(); assertTrue(ArrayUtils.arraysEqual([s, "test", s2, "test"], _watcher.validateLog)); setUpCompleteTimer(complete); function complete(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([], _watcher.validateLog)); } } [Test(async)] public function test_validateNow_withoutInvalidation() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); _i10n.registerDisplayObject(s, adapter); adapter.invalidate("test"); var s2 : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s2")); var adapter2 : TestI10NAdapter = new TestI10NAdapter(_watcher); _i10n.registerDisplayObject(s2, adapter2); _i10n.validateNow(); assertTrue(ArrayUtils.arraysEqual([s, "test"], _watcher.validateLog)); } [Test(async)] public function test_validateNow_duringValidationThrowsError() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); adapter.validateFunction = validate; _i10n.registerDisplayObject(s, adapter); adapter.invalidate("test"); var errorThrown : Error; setUpCompleteTimer(complete); function validate(phaseName : String) : void { try { _i10n.validateNow(); } catch (e : Error) { errorThrown = e; } } function complete(event : Event, data : * = null) : void { assertNotNull(errorThrown); assertTrue(errorThrown is ValidateNowInRunningCycleError); } } [Test(async)] public function test_unregister() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("test2", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); _i10n.registerDisplayObject(s, adapter); adapter.invalidate("test"); setUpCompleteTimer(complete); function complete(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([s, "test"], _watcher.validateLog)); adapter.invalidate("test2"); _i10n.unregisterDisplayObject(s); setUpCompleteTimer(complete2); } function complete2(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([], _watcher.validateLog)); } } [Test(async)] public function test_unregister_inValidation() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("test2", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); adapter.validateFunction = validate; _i10n.registerDisplayObject(s, adapter); adapter.invalidate("test"); adapter.invalidate("test2"); setUpCompleteTimer(complete); function validate(phaseName : String) : void { _i10n.unregisterDisplayObject(s); } function complete(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([s, "test"], _watcher.validateLog)); } } [Test(async)] public function test_unregister_inValidation_afterRemovedFromStage() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("test2", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); adapter.validateFunction = validate; _i10n.registerDisplayObject(s, adapter); adapter.invalidate("test"); adapter.invalidate("test2"); setUpCompleteTimer(complete); function validate(phaseName : String) : void { StageProxy.root.removeChild(s); _i10n.unregisterDisplayObject(s); } function complete(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([s, "test"], _watcher.validateLog)); StageProxy.root.addChild(s); setUpCompleteTimer(complete2); } function complete2(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([], _watcher.validateLog)); } } [Test(async)] public function test_cleanUp() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); _i10n.registerDisplayObject(s, adapter); adapter.invalidate("test"); _i10n.cleanUp(); setUpCompleteTimer(complete); function complete(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([], _watcher.validateLog)); } } [Test(async)] public function test_cleanUp_inValidation() : void { _i10n.addPhase("test", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("test2", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); adapter.validateFunction = validate; _i10n.registerDisplayObject(s, adapter); adapter.invalidate("test"); adapter.invalidate("test2"); setUpCompleteTimer(complete); function validate(phaseName : String) : void { _i10n.cleanUp(); } function complete(event : Event, data : * = null) : void { var log : Array = _watcher.validateLog; assertTrue(log, ArrayUtils.arraysEqual([s, "test"], log)); } } [Test(async)] public function test_currentPhase() : void { _i10n.addPhase("phase1", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("phase2", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("phase3", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); adapter.validateFunction = validate; _i10n.registerDisplayObject(s, adapter); adapter.invalidate("phase1"); adapter.invalidate("phase2"); adapter.invalidate("phase3"); var s2 : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s2")); var adapter2 : TestI10NAdapter = new TestI10NAdapter(_watcher); adapter2.validateFunction = validate; _i10n.registerDisplayObject(s2, adapter2); adapter2.invalidate("phase1"); adapter2.invalidate("phase2"); adapter2.invalidate("phase3"); assertNull(_i10n.currentPhaseName); var result : Array = new Array(); setUpCompleteTimer(complete); function validate(phaseName : String) : void { result.push(_i10n.currentPhaseName); } function complete(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([ "phase1", "phase1", "phase2", "phase2", "phase3", "phase3" ], result)); assertNull(_i10n.currentPhaseName); } } [Test(async)] public function test_validationIsRunning() : void { _i10n.addPhase("phase1", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("phase2", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("phase3", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); adapter.validateFunction = validate; _i10n.registerDisplayObject(s, adapter); adapter.invalidate("phase1"); adapter.invalidate("phase2"); adapter.invalidate("phase3"); assertFalse(_i10n.validationIsRunning); var result : Array = new Array(); setUpCompleteTimer(complete); function validate(phaseName : String) : void { result.push(_i10n.validationIsRunning); } function complete(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([ true, true, true ], result)); assertFalse(_i10n.validationIsRunning); } } [Test(async)] public function test_currentDisplayObject() : void { _i10n.addPhase("phase1", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("phase2", I10N.PHASE_ORDER_TOP_DOWN); _i10n.addPhase("phase3", I10N.PHASE_ORDER_TOP_DOWN); _i10n.start(); var s : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s")); var adapter : TestI10NAdapter = new TestI10NAdapter(_watcher); adapter.validateFunction = validate; _i10n.registerDisplayObject(s, adapter); adapter.invalidate("phase1"); adapter.invalidate("phase2"); adapter.invalidate("phase3"); var s2 : DisplayObject = StageProxy.root.addChild(new TestDisplayObject("s2")); var adapter2 : TestI10NAdapter = new TestI10NAdapter(_watcher); adapter2.validateFunction = validate; _i10n.registerDisplayObject(s2, adapter2); adapter2.invalidate("phase1"); adapter2.invalidate("phase2"); adapter2.invalidate("phase3"); assertNull(_i10n.currentDisplayObject); var result : Array = new Array(); setUpCompleteTimer(complete); function validate(phaseName : String) : void { result.push(_i10n.currentDisplayObject); } function complete(event : Event, data : * = null) : void { assertTrue(ArrayUtils.arraysEqual([ s, s2, s, s2, s, s2 ], result)); assertNull(_i10n.currentDisplayObject); } } } }
package a3dparticle.particle { import a3dparticle.animators.ParticleAnimation; import away3d.cameras.Camera3D; import away3d.core.base.IRenderable; import away3d.core.managers.Stage3DProxy; import flash.display3D.Context3DProgramType; /** * ... * @author liaocheng */ public class ParticleColorMaterial extends ParticleMaterialBase { private var _color:uint; private var _colorData:Vector.<Number>=new Vector.<Number>(); public function ParticleColorMaterial(color:uint=0xFFFFFFFF) { this.color = color; } public function set color(value:uint):void { this._color = value; _colorData[0] = ((_color >> 16) & 0xff)/0xff; _colorData[1] = ((_color >> 8) & 0xff)/0xff; _colorData[2] = (_color & 0xff) / 0xff; _colorData[3] = ((_color >> 24) & 0xff)/0xff; } override public function getFragmentCode(_particleAnimation:ParticleAnimation):String { var code:String = ""; code += "mov " + _particleAnimation.colorTarget.toString() + "," +_particleAnimation.colorDefalut.toString() + "\n"; return code; } override public function render(_particleAnimation:ParticleAnimation, renderable : IRenderable, stage3DProxy : Stage3DProxy, camera : Camera3D) : void { super.render(_particleAnimation, renderable, stage3DProxy, camera); stage3DProxy.context3D.setProgramConstantsFromVector(Context3DProgramType.FRAGMENT, _particleAnimation.colorDefalut.index, _colorData, 1); } } }
package { import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; public class GraffitiTouchTests extends Sprite { public function GraffitiTouchTests() { super(); // support autoOrients stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; } } }
// Action script... // [Initial MovieClip Action of sprite 20752] #initclip 17 if (!dofus.graphics.gapi.ui.AskYesNoIgnore) { if (!dofus) { _global.dofus = new Object(); } // end if if (!dofus.graphics) { _global.dofus.graphics = new Object(); } // end if if (!dofus.graphics.gapi) { _global.dofus.graphics.gapi = new Object(); } // end if if (!dofus.graphics.gapi.ui) { _global.dofus.graphics.gapi.ui = new Object(); } // end if var _loc1 = (_global.dofus.graphics.gapi.ui.AskYesNoIgnore = function () { super(); }).prototype; _loc1.__set__text = function (sText) { this._sText = sText; //return (this.text()); }; _loc1.__get__text = function () { return (this._sText); }; _loc1.__set__player = function (sPlayer) { this._sPlayer = sPlayer; //return (this.player()); }; _loc1.__get__player = function () { return (this._sPlayer); }; _loc1.callClose = function () { this.dispatchEvent({type: "no", params: this.params}); return (true); }; _loc1.initWindowContent = function () { var _loc2 = this._winBackground.content; _loc2._txtText.text = this._sText; _loc2._txtIgnore.text = "<u><font color=\'" + 255 + "\'><a href=\'asfunction:onHref,\'>" + this.api.lang.getText("POPUP_ADD_IGNORE", [this._sPlayer]) + "</a></font></u>"; _loc2._txtIgnore.addEventListener("href", this); _loc2._btnYes.label = this.api.lang.getText("YES"); _loc2._btnNo.label = this.api.lang.getText("NO"); _loc2._btnYes.addEventListener("click", this); _loc2._btnNo.addEventListener("click", this); _loc2._txtText.addEventListener("change", this); this.api.kernel.KeyManager.addShortcutsListener("onShortcut", this); }; _loc1.click = function (oEvent) { switch (oEvent.target._name) { case "_btnYes": { this.dispatchEvent({type: "yes", params: this.params}); break; } case "_btnNo": { this.dispatchEvent({type: "no", params: this.params}); break; } } // End of switch this.unloadThis(); }; _loc1.change = function (oEvent) { var _loc3 = this._winBackground.content; _loc3._btnYes._y = _loc3._txtText._y + _loc3._txtText.height + 20; _loc3._btnNo._y = _loc3._txtText._y + _loc3._txtText.height + 20; _loc3._txtIgnore._y = _loc3._btnNo._y + _loc3._btnNo.height + 10; this._winBackground.setPreferedSize(); }; _loc1.onShortcut = function (sShortcut) { if (sShortcut == "ACCEPT_CURRENT_DIALOG") { this.click({target: this._winBackground.content._btnYes}); return (false); } // end if return (true); }; _loc1.href = function (oEvent) { this.params.player = this._sPlayer; this.dispatchEvent({type: "ignore", params: this.params}); this.unloadThis(); }; _loc1.addProperty("player", _loc1.__get__player, _loc1.__set__player); _loc1.addProperty("text", _loc1.__get__text, _loc1.__set__text); ASSetPropFlags(_loc1, null, 1); (_global.dofus.graphics.gapi.ui.AskYesNoIgnore = function () { super(); }).CLASS_NAME = "AskYesNoIgnore"; } // end if #endinitclip
package fairygui { import fairygui.display.Image; import fairygui.display.MovieClip; import fairygui.utils.ToolSet; import laya.display.Node; import laya.display.Sprite; import laya.maths.Rectangle; import laya.resource.Texture; import laya.utils.Handler; public class GLoader extends GObject implements IAnimationGear,IColorGear { private var _url: String; private var _align: String; private var _valign: String; private var _autoSize: Boolean; private var _fill: int; private var _showErrorSign: Boolean; private var _playing: Boolean; private var _frame: Number = 0; private var _color: String; private var _contentItem: PackageItem; private var _contentSourceWidth: Number = 0; private var _contentSourceHeight: Number = 0; private var _contentWidth: Number = 0; private var _contentHeight: Number = 0; private var _content:Sprite; private var _errorSign: GObject; private var _updatingLayout: Boolean; private static var _errorSignPool: GObjectPool = new GObjectPool(); public function GLoader () { super(); this._playing = true; this._url = ""; this._fill = LoaderFillType.None; this._align = "left"; this._valign = "top"; this._showErrorSign = true; this._color = "#FFFFFF"; } override protected function createDisplayObject(): void { super.createDisplayObject(); this._displayObject.mouseEnabled = true; } override public function dispose(): void { if(this._contentItem == null && (this._content is Image)) { var texture: Texture = Image(this._content).tex; if(texture != null) this.freeExternal(texture); } super.dispose(); } public function get url(): String { return this._url; } public function set url(value: String):void { if (this._url == value) return; this._url = value; this.loadContent(); updateGear(7); } override public function get icon():String { return _url; } override public function set icon(value:String):void { this.url = value; } public function get align(): String { return this._align; } public function set align(value: String):void { if (this._align != value) { this._align = value; this.updateLayout(); } } public function get verticalAlign(): String { return this._valign; } public function set verticalAlign(value: String):void { if (this._valign != value) { this._valign = value; this.updateLayout(); } } public function get fill(): int { return this._fill; } public function set fill(value: int):void { if (this._fill != value) { this._fill = value; this.updateLayout(); } } public function get autoSize(): Boolean { return this._autoSize; } public function set autoSize(value: Boolean):void { if (this._autoSize != value) { this._autoSize = value; this.updateLayout(); } } public function get playing(): Boolean { return this._playing; } public function set playing(value: Boolean):void { if (this._playing != value) { this._playing = value; if (this._content is MovieClip) MovieClip(this._content).playing = value; this.updateGear(5); } } public function get frame(): Number { return this._frame; } public function set frame(value: Number):void { if (this._frame != value) { this._frame = value; if (this._content is MovieClip) MovieClip(this._content).currentFrame = value; this.updateGear(5); } } public function get color(): String { return this._color; } public function set color(value: String):void { if(this._color != value) { this._color = value; this.updateGear(4); this.applyColor(); } } private function applyColor(): void { //todo: } public function get showErrorSign(): Boolean { return this._showErrorSign; } public function set showErrorSign(value: Boolean):void { this._showErrorSign = value; } public function get content(): Node { return this._content; } protected function loadContent(): void { this.clearContent(); if (!this._url) return; if(ToolSet.startsWith(this._url,"ui://")) this.loadFromPackage(this._url); else this.loadExternal(); } protected function loadFromPackage(itemURL: String):void { this._contentItem = UIPackage.getItemByURL(itemURL); if(this._contentItem != null) { this._contentItem.load(); if(_autoSize) this.setSize(_contentItem.width, _contentItem.height); if(this._contentItem.type == PackageItemType.Image) { if(this._contentItem.texture == null) { this.setErrorState(); } else { if(!(this._content is Image)) { this._content = new Image(); this._displayObject.addChild(this._content); } else this._displayObject.addChild(this._content); Image(this._content).tex = this._contentItem.texture; Image(this._content).scale9Grid = this._contentItem.scale9Grid; Image(this._content).scaleByTile = this._contentItem.scaleByTile; Image(this._content).tileGridIndice = this._contentItem.tileGridIndice; this._contentSourceWidth = this._contentItem.width; this._contentSourceHeight = this._contentItem.height; this.updateLayout(); } } else if(this._contentItem.type == PackageItemType.MovieClip) { if(!(this._content is MovieClip)) { this._content = new MovieClip(); this._displayObject.addChild(this._content); } else this._displayObject.addChild(this._content); this._contentSourceWidth = this._contentItem.width; this._contentSourceHeight = this._contentItem.height; MovieClip(this._content).interval = this._contentItem.interval; MovieClip(this._content).swing = this._contentItem.swing; MovieClip(this._content).repeatDelay = this._contentItem.repeatDelay; MovieClip(this._content).frames = this._contentItem.frames; MovieClip(this._content).boundsRect = new Rectangle(0,0,this._contentSourceWidth,this._contentSourceHeight); this.updateLayout(); } else this.setErrorState(); } else this.setErrorState(); } protected function loadExternal(): void { AssetProxy.inst.load(this._url, Handler.create(this, this.__getResCompleted)); } protected function freeExternal(texture: Texture): void { } protected function onExternalLoadSuccess(texture: Texture): void { if(!(this._content is Image)) { this._content = new Image(); this._displayObject.addChild(this._content); } else this._displayObject.addChild(this._content); Image(this._content).tex = texture; Image(this._content).scale9Grid = null; Image(this._content).scaleByTile = false; this._contentSourceWidth = texture.width; this._contentSourceHeight = texture.height; this.updateLayout(); } protected function onExternalLoadFailed(): void { this.setErrorState(); } private function __getResCompleted(tex:Texture): void { if(tex!=null) this.onExternalLoadSuccess(tex); else this.onExternalLoadFailed(); } private function setErrorState(): void { if (!this._showErrorSign) return; if (this._errorSign == null) { if (fairygui.UIConfig.loaderErrorSign != null) { this._errorSign = GLoader._errorSignPool.getObject(fairygui.UIConfig.loaderErrorSign); } } if (this._errorSign != null) { this._errorSign.setSize(this.width, this.height); this._displayObject.addChild(this._errorSign.displayObject); } } private function clearErrorState(): void { if (this._errorSign != null) { this._displayObject.removeChild(this._errorSign.displayObject); GLoader._errorSignPool.returnObject(this._errorSign); this._errorSign = null; } } private function updateLayout(): void { if (this._content == null) { if (this._autoSize) { this._updatingLayout = true; this.setSize(50, 30); this._updatingLayout = false; } return; } this._content.x = 0; this._content.y = 0; this._content.scaleX = 1; this._content.scaleY = 1; this._contentWidth = this._contentSourceWidth; this._contentHeight = this._contentSourceHeight; if (this._autoSize) { this._updatingLayout = true; if (this._contentWidth == 0) this._contentWidth = 50; if (this._contentHeight == 0) this._contentHeight = 30; this.setSize(this._contentWidth, this._contentHeight); this._updatingLayout = false; if(_contentWidth==_width && _contentHeight==_height) return; } var sx: Number = 1, sy: Number = 1; if(_fill!=LoaderFillType.None) { sx = this.width/_contentSourceWidth; sy = this.height/_contentSourceHeight; if(sx!=1 || sy!=1) { if (_fill == LoaderFillType.ScaleMatchHeight) sx = sy; else if (_fill == LoaderFillType.ScaleMatchWidth) sy = sx; else if (_fill == LoaderFillType.Scale) { if (sx > sy) sx = sy; else sy = sx; } else if (_fill == LoaderFillType.ScaleNoBorder) { if (sx > sy) sy = sx; else sx = sy; } _contentWidth = _contentSourceWidth * sx; _contentHeight = _contentSourceHeight * sy; } } if (this._content is Image) Image(this._content).scaleTexture(sx, sy); else this._content.scale(sx, sy); if (this._align == "center") this._content.x = Math.floor((this.width - this._contentWidth) / 2); else if (this._align == "right") this._content.x = this.width - this._contentWidth; if (this._valign == "middle") this._content.y = Math.floor((this.height - this._contentHeight) / 2); else if (this._valign == "bottom") this._content.y = this.height - this._contentHeight; } private function clearContent(): void { this.clearErrorState(); if (this._content != null && this._content.parent != null) this._displayObject.removeChild(this._content); if(this._contentItem == null && (this._content is Image)) { var texture: Texture = Image(this._content).tex; if(texture != null) this.freeExternal(texture); } this._contentItem = null; } override protected function handleSizeChanged(): void { super.handleSizeChanged(); if(!this._updatingLayout) this.updateLayout(); } override public function setup_beforeAdd(xml: Object): void { super.setup_beforeAdd(xml); var str: String; str = xml.getAttribute("url"); if (str) this._url = str; str = xml.getAttribute("align"); if (str) this._align = str; str = xml.getAttribute("vAlign"); if (str) this._valign = str; str = xml.getAttribute("fill"); if (str) this._fill = LoaderFillType.parse(str); this._autoSize = xml.getAttribute("autoSize") == "true"; str = xml.getAttribute("errorSign"); if (str) this._showErrorSign = str == "true"; this._playing = xml.getAttribute("playing") != "false"; str = xml.getAttribute("color"); if(str) this.color = str; if (this._url) this.loadContent(); } } }
package game.view.control { import com.greensock.TweenLite; import com.pickgliss.ui.ComponentFactory; import com.pickgliss.ui.core.Disposeable; import com.pickgliss.utils.ClassUtils; import com.pickgliss.utils.ObjectUtils; import ddt.events.LivingEvent; import ddt.utils.PositionUtils; import flash.display.BitmapData; import flash.display.DisplayObject; import flash.display.Graphics; import flash.display.MovieClip; import flash.display.Shape; import flash.display.Sprite; import flash.geom.Point; import flash.geom.Rectangle; import game.model.LocalPlayer; import game.objects.SimpleBox; public class PsychicBar extends Sprite implements Disposeable { private var _self:LocalPlayer; private var _back:DisplayObject; private var _localPsychic:int; private var _numField:PsychicShape; private var _movie:MovieClip; private var _ghostBoxCenter:Point; private var _ghostBitmapPool:Object; private var _mouseArea:MouseArea; public function PsychicBar(param1:LocalPlayer) { this._ghostBitmapPool = new Object(); this._self = param1; super(); this.configUI(); mouseEnabled = false; } private function configUI() : void { this._back = ComponentFactory.Instance.creatBitmap("asset.game.PsychicBar.back"); addChild(this._back); this._ghostBoxCenter = new Point((this._back.width >> 1) - 20,(this._back.height >> 1) - 20); this._movie = ClassUtils.CreatInstance("asset.game.PsychicBar.movie"); this._movie.mouseChildren = this._movie.mouseEnabled = false; PositionUtils.setPos(this._movie,"PsychicBar.MoviePos"); addChild(this._movie); this._numField = new PsychicShape(); this._numField.setNum(this._self.psychic); this._numField.x = this._back.width - this._numField.width >> 1; this._numField.y = this._back.height - this._numField.height >> 1; addChild(this._numField); this._mouseArea = new MouseArea(48); addChild(this._mouseArea); } private function addEvent() : void { this._self.addEventListener(LivingEvent.PSYCHIC_CHANGED,this.__psychicChanged); this._self.addEventListener(LivingEvent.BOX_PICK,this.__pickBox); } private function boxTweenComplete(param1:DisplayObject) : void { ObjectUtils.disposeObject(param1); } private function __pickBox(param1:LivingEvent) : void { var _loc3_:Shape = null; var _loc4_:Rectangle = null; var _loc2_:SimpleBox = param1.paras[0] as SimpleBox; if(_loc2_.isGhost) { _loc3_ = this.getGhostShape(_loc2_.subType); addChild(_loc3_); _loc4_ = _loc2_.getBounds(this); _loc3_.x = _loc4_.x; _loc3_.y = _loc4_.y; TweenLite.to(_loc3_,0.3 + 0.3 * Math.random(),{ "x":this._ghostBoxCenter.x, "y":this._ghostBoxCenter.y, "onComplete":this.boxTweenComplete, "onCompleteParams":[_loc3_] }); } } private function __psychicChanged(param1:LivingEvent) : void { this._numField.setNum(this._self.psychic); this._numField.x = this._back.width - this._numField.width >> 1; this._mouseArea.setPsychic(this._self.psychic); } private function removeEvent() : void { this._self.removeEventListener(LivingEvent.PSYCHIC_CHANGED,this.__psychicChanged); this._self.removeEventListener(LivingEvent.BOX_PICK,this.__pickBox); } public function enter() : void { this.addEvent(); } public function leaving() : void { this.removeEvent(); } public function dispose() : void { var _loc1_:* = null; var _loc2_:BitmapData = null; this.removeEvent(); TweenLite.killTweensOf(this); ObjectUtils.disposeObject(this._back); this._back = null; ObjectUtils.disposeObject(this._numField); this._numField = null; ObjectUtils.disposeObject(this._mouseArea); this._mouseArea = null; if(this._movie) { this._movie.stop(); ObjectUtils.disposeObject(this._movie); this._movie = null; } this._self = null; for(_loc1_ in this._ghostBitmapPool) { _loc2_ = this._ghostBitmapPool[_loc1_] as BitmapData; if(_loc2_) { _loc2_.dispose(); } delete this._ghostBitmapPool[_loc1_]; } if(parent) { parent.removeChild(this); } } private function getGhostShape(param1:int) : Shape { var _loc4_:BitmapData = null; var _loc6_:MovieClip = null; var _loc2_:Shape = new Shape(); var _loc3_:String = "ghost" + param1; if(this._ghostBitmapPool.hasOwnProperty(_loc3_)) { _loc4_ = this._ghostBitmapPool[_loc3_]; } else { _loc6_ = ClassUtils.CreatInstance("asset.game.GhostBox" + (param1 - 1)) as MovieClip; _loc6_.gotoAndStop("shot"); _loc4_ = new BitmapData(_loc6_.width,_loc6_.height,true,0); _loc4_.draw(_loc6_); this._ghostBitmapPool[_loc3_] = _loc4_; } var _loc5_:Graphics = _loc2_.graphics; _loc5_.beginBitmapFill(_loc4_); _loc5_.drawRect(0,0,_loc4_.width,_loc4_.height); _loc5_.endFill(); return _loc2_; } } } import com.pickgliss.ui.core.Disposeable; import com.pickgliss.utils.ObjectUtils; import ddt.display.BitmapShape; import ddt.manager.BitmapManager; import flash.display.Sprite; class PsychicShape extends Sprite implements Disposeable { private var _nums:Vector.<BitmapShape>; private var _num:int = 0; private var _bitmapMgr:BitmapManager; function PsychicShape() { this._nums = new Vector.<BitmapShape>(); super(); this._bitmapMgr = BitmapManager.getBitmapMgr(BitmapManager.GameView); mouseChildren = mouseEnabled = false; this.draw(); } private function draw() : void { var _loc3_:BitmapShape = null; this.clear(); var _loc1_:String = this._num.toString(); var _loc2_:int = _loc1_.length; var _loc4_:int = 0; while(_loc4_ < _loc2_) { _loc3_ = this._bitmapMgr.creatBitmapShape("asset.game.PsychicBar.Num" + _loc1_.substr(_loc4_,1)); if(_loc4_ > 0) { _loc3_.x = this._nums[_loc4_ - 1].x + this._nums[_loc4_ - 1].width; } addChild(_loc3_); this._nums.push(_loc3_); _loc4_++; } } private function clear() : void { var _loc1_:BitmapShape = this._nums.shift(); while(_loc1_) { _loc1_.dispose(); _loc1_ = this._nums.shift(); } } public function setNum(param1:int) : void { if(this._num != param1) { this._num = param1; this.draw(); } } public function dispose() : void { this.clear(); ObjectUtils.disposeObject(this._bitmapMgr); this._bitmapMgr = null; if(parent) { parent.removeChild(this); } } } import com.pickgliss.ui.ComponentFactory; import com.pickgliss.ui.LayerManager; import com.pickgliss.ui.core.Disposeable; import com.pickgliss.utils.ObjectUtils; import ddt.manager.LanguageMgr; import ddt.view.tips.ChangeNumToolTip; import ddt.view.tips.ChangeNumToolTipInfo; import flash.display.Graphics; import flash.display.Sprite; import flash.events.MouseEvent; import flash.geom.Rectangle; import game.model.Player; class MouseArea extends Sprite implements Disposeable { private var _tipData:String; private var _tipPanel:ChangeNumToolTip; private var _tipInfo:ChangeNumToolTipInfo; function MouseArea(param1:int) { super(); var _loc2_:Graphics = graphics; _loc2_.beginFill(0,0); _loc2_.drawCircle(param1,param1,param1); _loc2_.endFill(); this.addTip(); this.addEvent(); } public function setPsychic(param1:int) : void { this._tipInfo.current = param1; this._tipPanel.tipData = this._tipInfo; } private function addEvent() : void { addEventListener(MouseEvent.MOUSE_OVER,this.__mouseOver); addEventListener(MouseEvent.MOUSE_OUT,this.__mouseOut); } private function removeEvent() : void { removeEventListener(MouseEvent.MOUSE_OVER,this.__mouseOver); removeEventListener(MouseEvent.MOUSE_OUT,this.__mouseOut); } public function dispose() : void { this.removeEvent(); this.__mouseOut(null); ObjectUtils.disposeObject(this._tipPanel); this._tipPanel = null; if(parent) { parent.removeChild(this); } } private function addTip() : void { this._tipPanel = new ChangeNumToolTip(); this._tipInfo = new ChangeNumToolTipInfo(); this._tipInfo.currentTxt = ComponentFactory.Instance.creatComponentByStylename("game.DanderStrip.currentTxt"); this._tipInfo.title = LanguageMgr.GetTranslation("tank.game.PsychicBar.Title"); this._tipInfo.current = 0; this._tipInfo.total = Player.MaxPsychic; this._tipInfo.content = LanguageMgr.GetTranslation("tank.game.PsychicBar.Content"); this._tipPanel.tipData = this._tipInfo; this._tipPanel.mouseChildren = false; this._tipPanel.mouseEnabled = false; } private function __mouseOut(param1:MouseEvent) : void { if(this._tipPanel && this._tipPanel.parent) { this._tipPanel.parent.removeChild(this._tipPanel); } } private function __mouseOver(param1:MouseEvent) : void { var _loc2_:Rectangle = null; _loc2_ = getBounds(LayerManager.Instance.getLayerByType(LayerManager.STAGE_TOP_LAYER)); this._tipPanel.x = _loc2_.right; this._tipPanel.y = _loc2_.top - this._tipPanel.height; LayerManager.Instance.addToLayer(this._tipPanel,LayerManager.STAGE_TOP_LAYER,false); } }
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package math.testcases { import flash.geom.Point; import matcher.CloseToPointMatcher; import net.digitalprimates.math.Circle; import org.flexunit.assertThat; [RunWith("org.flexunit.runners.Parameterized")] public class GetPointsTest { private static const TOLERANCE:Number = .0001; public static var data:Array = [ [ new Circle( new Point( 0, 0 ), 5 ), new Point( 5, 0 ), 0 ], [ new Circle( new Point( 0, 0 ), 5 ), new Point( -5, 0 ), Math.PI ] ]; [Test(dataProvider="data")] public function shouldGetPointsOnCircle( circle:Circle, point:Point, radians:Number ):void { assertThat( circle.getPointOnCircle( radians ), new CloseToPointMatcher( point, TOLERANCE ) ); } public function GetPointsTest() { } } }
type float = f64; type int = i32; let LO: float = 0.; const splitter: float = 134217729.; @inline function twoSum(a: float, b: float): float { let s = a + b; let a1 = s - b; LO = (a - a1) + (b - (s - a1)); return s; } @inline function twoProd(a: float, b: float): float { let t = splitter * a; let ah = t + (a - t), al = a - ah; t = splitter * b; let bh = t + (b - t), bl = b - bh; t = a * b; LO = (((ah * bh - t) + ah * bl) + al * bh) + al * bl; return t; } @inline function oneSqr(a: float): float { let t = splitter * a; let ah = t + (a - t), al = a - ah; t = a * a; let hl = al * ah; LO = ((ah * ah - t) + hl + hl) + al * al; return t; } function add22(Xh: float, Xl: float, Yh: float, Yl: float): float { let Sh = twoSum(Xh, Yh); let Sl = LO; let Eh = twoSum(Xl, Yl); let El = LO; Yh = Sl + Eh; Sl = Sh + Yh; Yl = Yh - (Sl - Sh); Yh = Yl + El; Xh = Sl + Yh; LO = Yh - (Xh - Sl); return Xh; } function sub22(Xh: float, Xl: float, Yh: float, Yl: float): float { let Sh = twoSum(Xh, -Yh); let Sl = LO; let Eh = twoSum(Xl, -Yl); let El = LO; Yh = Sl + Eh; Sl = Sh + Yh; Yl = Yh - (Sl - Sh); Yh = Yl + El; Xh = Sl + Yh; LO = Yh - (Xh - Sl); return Xh; } function mul22(Xh: float, Xl: float, Yh: float, Yl: float): float { let Sh = twoProd(Xh, Yh); let Sl = LO; Sl = (Sl + Xh * Yl) + Xl * Yh; Xh = Sh + Sl; LO = Sl - (Xh - Sh); return Xh; } function div22(Xh: float, Xl: float, Yh: float, Yl: float): float { let s = Xh / Yh; let Th = twoProd(s, Yh); let Tl = LO; let e = ((((Xh - Th) - Tl) + Xl) - s * Yl) / Yh; Xh = s + e; LO = e - (Xh - s); return Xh; } function sqr2(Xh: float, Xl: float): float { let Sh = oneSqr(Xh); let Sl = LO; let c = Xh * Xl; Sl += c + c; Xh = Sh + Sl; LO = Sl - (Xh - Sh); return Xh; } function abs(Xh: float, Xl: float): float { return Math.abs(Xh + Xl); } @inline function lt(Xh: float, Xl: float, f: float): boolean { return Xh + Xl < f; } export function test(Eh: float, El: float, Lh: float, Ll: float): float { let result: float = 0.; let Rh = sub22(sub22(add22(Eh, El, Lh, Ll), LO, Lh, Ll), LO, Eh, El); let Rl = LO; let diff: float = abs(Rh, Rl); if (diff > 1e-30) result += 1.; Rh = sub22(div22(mul22(Eh, El, Lh, Ll), LO, Lh, Ll), LO, Eh, El); Rl = LO; diff = abs(Rh, Rl); if (diff > 1e-30) result += 2.; return result; } export function mandelbrot(maxIteration: int, width: float, height: float, TXh: float, TYh: float, DXh: float, DYh: float, i: float, j: float): int { let Xh = 0., Xl = 0., Yh = 0., Yl = 0.; let XXh = 0., XXl = 0., XYh = 0., XYl = 0., YYh = 0., YYl = 0.; let CXh = add22(sub22(TXh, 0., DXh, 0.), LO, div22(mul22(DXh, 0., 2 * i, 0.), LO, width, 0.), LO), CXl = LO; let CYh = sub22(add22(TYh, 0., DYh, 0.), LO, div22(mul22(DYh, 0., 2 * j, 0.), LO, height, 0.), LO), CYl = LO; let iteration: int = 0; while (iteration++ < maxIteration && lt(add22(XXh, XXl, YYh, YYl), LO, 4.)) { Xh = add22(sub22(XXh, XXl, YYh, YYl), LO, CXh, CXl); Xl = LO; Yh = add22(add22(XYh, XYl, XYh, XYl), LO, CYh, CYl); Yl = LO; XXh = mul22(Xh, Xl, Xh, Xl); XXl = LO; YYh = mul22(Yh, Yl, Yh, Yl); YYl = LO; XYh = mul22(Xh, Xl, Yh, Yl); XYl = LO; } return iteration; }
/* Feathers Copyright 2012-2020 Bowler Hat LLC. All Rights Reserved. This program is free software. You can redistribute and/or modify it in accordance with the terms of the accompanying license agreement. */ package feathers.dragDrop { import starling.events.Event; /** * Dispatched when the drag and drop manager begins the drag. * * <p>The properties of the event object have the following values:</p> * <table class="innertable"> * <tr><th>Property</th><th>Value</th></tr> * <tr><td><code>bubbles</code></td><td>false</td></tr> * <tr><td><code>currentTarget</code></td><td>The Object that defines the * event listener that handles the event. For example, if you use * <code>myButton.addEventListener()</code> to register an event listener, * myButton is the value of the <code>currentTarget</code>.</td></tr> * <tr><td><code>data</code></td><td>Same as the dragData property.</td></tr> * <tr><td><code>dragData</code></td><td>The <code>feathers.dragDrop.DragData</code> * instance associated with this drag.</td></tr> * <tr><td><code>isDropped</code></td><td>false</td></tr> * <tr><td><code>localX</code></td><td>NaN</td></tr> * <tr><td><code>localY</code></td><td>NaN</td></tr> * <tr><td><code>target</code></td><td>The Object that dispatched the event; * it is not always the Object listening for the event. Use the * <code>currentTarget</code> property to always access the Object * listening for the event.</td></tr> * </table> * * @eventType feathers.events.DragDropEvent.DRAG_START */ [Event(name="dragStart",type="feathers.events.DragDropEvent")] /** * Dispatched when the drop has been completed or when the drag has been * cancelled. * * <p>The properties of the event object have the following values:</p> * <table class="innertable"> * <tr><th>Property</th><th>Value</th></tr> * <tr><td><code>bubbles</code></td><td>false</td></tr> * <tr><td><code>currentTarget</code></td><td>The Object that defines the * event listener that handles the event. For example, if you use * <code>myButton.addEventListener()</code> to register an event listener, * myButton is the value of the <code>currentTarget</code>.</td></tr> * <tr><td><code>data</code></td><td>Same as the dragData property.</td></tr> * <tr><td><code>dragData</code></td><td>The <code>feathers.dragDrop.DragData</code> * instance associated with this drag.</td></tr> * <tr><td><code>isDropped</code></td><td>true, if the dragged object was dropped; false, if it was not.</td></tr> * <tr><td><code>localX</code></td><td>NaN</td></tr> * <tr><td><code>localY</code></td><td>NaN</td></tr> * <tr><td><code>target</code></td><td>The Object that dispatched the event; * it is not always the Object listening for the event. Use the * <code>currentTarget</code> property to always access the Object * listening for the event.</td></tr> * </table> * * @eventType feathers.events.DragDropEvent.DRAG_COMPLETE */ [Event(name="dragComplete",type="feathers.events.DragDropEvent")] /** * An object that can initiate drag actions with the drag and drop manager. * * @see feathers.dragDrop.DragDropManager * * @productversion Feathers 1.0.0 */ public interface IDragSource { function dispatchEvent(event:Event):void; function dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void; } }
// // Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // package tileui.tiles { import flash.display.BitmapData; import org.papervision3d.materials.BitmapMaterial; import tileui.tiles.pv3d.materials.TileMaterialList; import tileui.tiles.pv3d.Base3DTile; import tileui.tiles.pv3d.BitmapData3DTile; public class BitmapDataTile extends Tile { /** * @private */ private var bitmapData:BitmapData; public function BitmapDataTile(bitmapData:BitmapData, width:Number=60, height:Number=10):void { this.bitmapData = bitmapData; super(width, height); } /** * Creates a new instance of a <code>BitmapData3DTile</code> using the <code>bitmapData</code> property that was * passed in in this tile's constructor. */ override protected function create3DTile(width:Number, height:Number):Base3DTile { return new BitmapData3DTile(bitmapData, width, height); } } }
package cmodule.lua_wrapper { public const _atexit:int = regFunc(FSM_atexit.start); }
// ================================================================================================= // // Starling Framework // Copyright 2011 Gamua OG. All Rights Reserved. // // This program is free software. You can redistribute and/or modify it // in accordance with the terms of the accompanying license agreement. // // ================================================================================================= package starling.utils { /** Converts an angle from radions into degrees. */ public function rad2deg(rad:Number):Number { return rad / Math.PI * 180.0; } }
package com.company.assembleegameclient.objects { import com.company.assembleegameclient.game.GameSprite; import com.company.assembleegameclient.ui.panels.Panel; import kabam.rotmg.arena.view.ArenaQueryPanel; public class ArenaGuard extends GameObject implements IInteractiveObject { public function ArenaGuard(param1:XML) { super(param1); isInteractive_ = true; } public function getPanel(param1:GameSprite):Panel { return new ArenaQueryPanel(param1, objectType_); } } }
package com.mcleodgaming.elevator.events { public class ElevatorEngineEvent extends Event { public static var UPDATE:String = "elevatorEngineUpdate"; //Triggered each time the engine ticks its main loop public function ElevatorEngineEvent(type:String, data:Object):void { super(type, data); } } }
package equipment.cmd { import com.tencent.morefun.framework.base.Command; import def.PluginDef; public class BaseEquipmentCommand extends Command { public function BaseEquipmentCommand() { super(); } override public function getPluginName() : String { return PluginDef.EQUIPMENT; } } }
/** * HMAC * * An ActionScript 3 implementation of HMAC, Keyed-Hashing for Message * Authentication, as defined by RFC-2104 * Copyright (c) 2007 Henri Torgemane * * See LICENSE.txt for full license information. */ package com.hurlant.crypto.hash { import flash.utils.ByteArray; import com.hurlant.util.Hex; public class HMAC { private var hash:IHash; private var bits:uint; /** * Create a HMAC object, using a Hash function, and * optionally a number of bits to return. * The HMAC will be truncated to that size if needed. */ public function HMAC(hash:IHash, bits:uint=0) { this.hash = hash; this.bits = bits; } /** * Compute a HMAC using a key and some data. * It doesn't modify either, and returns a new ByteArray with the HMAC value. */ public function compute(key:ByteArray, data:ByteArray):ByteArray { var hashKey:ByteArray; if (key.length>hash.getInputSize()) { hashKey = hash.hash(key); } else { hashKey = new ByteArray; hashKey.writeBytes(key); } while (hashKey.length<hash.getInputSize()) { hashKey[hashKey.length]=0; } var innerKey:ByteArray = new ByteArray; var outerKey:ByteArray = new ByteArray; for (var i:uint=0;i<hashKey.length;i++) { innerKey[i] = hashKey[i] ^ 0x36; outerKey[i] = hashKey[i] ^ 0x5c; } // inner + data innerKey.position = hashKey.length; innerKey.writeBytes(data); var innerHash:ByteArray = hash.hash(innerKey); // outer + innerHash outerKey.position = hashKey.length; outerKey.writeBytes(innerHash); var outerHash:ByteArray = hash.hash(outerKey); if (bits>0 && bits<8*outerHash.length) { outerHash.length = bits/8; } return outerHash; } public function dispose():void { hash = null; bits = 0; } public function toString():String { return "hmac-"+(bits>0?bits+"-":"")+hash.toString(); } } }
package hotSpring.view { import com.pickgliss.ui.ComponentFactory; import com.pickgliss.ui.controls.Frame; import com.pickgliss.ui.controls.ScrollPanel; import com.pickgliss.ui.controls.TextButton; import ddt.manager.LanguageMgr; import ddt.manager.SoundManager; import flash.display.Bitmap; import flash.events.MouseEvent; public class HotSpringAlertFrame extends Frame { private var _scrollPanel:ScrollPanel; private var _bg:Bitmap; private var _okBtn:TextButton; public function HotSpringAlertFrame() { super(); this.initView(); this.initEvents(); } private function initView() : void { titleText = LanguageMgr.GetTranslation("tank.hall.ChooseHallView.hotWellAlert"); this._scrollPanel = ComponentFactory.Instance.creatComponentByStylename("hall.hotSpringAlertPanel"); this._okBtn = ComponentFactory.Instance.creatComponentByStylename("hall.hotSpringBtn"); addToContent(this._scrollPanel); this._scrollPanel.setView(this._bg); this._okBtn.text = LanguageMgr.GetTranslation("ok"); addToContent(this._okBtn); escEnable = true; } private function initEvents() : void { this._okBtn.addEventListener(MouseEvent.CLICK,this.__onClick); } private function __onClick(param1:MouseEvent) : void { SoundManager.instance.play("008"); this.dispose(); } private function removeEvents() : void { this._okBtn.removeEventListener(MouseEvent.CLICK,this.__onClick); } override public function dispose() : void { this.removeEvents(); super.dispose(); } } }
package com.rockdot.plugin.ugc.command { import com.rockdot.core.mvc.RockdotEvent; import com.rockdot.plugin.ugc.command.event.vo.UGCRatingVO; public class UGCUnlikeCommand extends AbstractUGCCommand { override public function execute(event : RockdotEvent = null) : * { super.execute(event); var id : int = (event.data as UGCRatingVO).id; var uid : String = _ugcModel.userDAO.uid; amfOperation("UGCEndpoint.unlikeItem", {id:id, uid:uid}); } } }
package awaybuilder.controller.events { import flash.events.Event; public class ErrorLogEvent extends Event { public static const LOG_ENTRY_MADE:String = "logEntryMade"; public function ErrorLogEvent(type:String) { super(type, false, false); } override public function clone():Event { return new ErrorLogEvent(this.type); } } }
package uieditor.editor.ui.inspector { import feathers.controls.Check; import starling.events.Event; public class CheckPropertyComponent extends BasePropertyComponent { protected var _check : Check; public function CheckPropertyComponent( propertyRetriever : IPropertyRetriever, param : Object ) { super( propertyRetriever, param ); _check = new Check(); _check.addEventListener( Event.CHANGE, onCheckChange ); _check.isSelected = _propertyRetriever.get( _param.name ); addChild( _check ); } private function onCheckChange( event : Event ) : void { _oldValue = _propertyRetriever.get( _param.name ); _propertyRetriever.set( _param.name, _check.isSelected ); setChanged(); } override public function dispose() : void { _check.removeEventListener( Event.CHANGE, onCheckChange ); _check = null; super.dispose(); } override public function update() : void { _check.isSelected = _propertyRetriever.get( _param.name ); } } }
package view.scene.raid { import flash.display.*; import flash.events.Event; import flash.events.MouseEvent; import flash.events.EventDispatcher; import flash.geom.*; import flash.filters.GlowFilter; import flash.filters.DropShadowFilter; import mx.containers.*; import mx.controls.*; import mx.core.UIComponent; import org.libspark.thread.Thread; import org.libspark.thread.utils.ParallelExecutor; import org.libspark.thread.threads.between.BeTweenAS3Thread; import view.utils.*; import view.ClousureThread; import view.image.common.AvatarImage; import view.scene.BaseScene; import view.scene.quest.QuestDeck; import view.scene.edit.CharaCardDeckClip; import view.scene.common.CharaCardClip; import model.CharaCard; import model.CharaCardDeck; import model.DeckEditor; import model.events.*; /** * レイドに使用するデッキクラス * */ public class RaidDeck extends QuestDeck { public static const SIZE_MODE_NORMAL:int = 0; public static const SIZE_MODE_HALF:int = 1; // 翻訳データ CONFIG::LOCALE_JP private static const _TRANS_MSG :String = "渦戦闘に使用するデッキです。"; CONFIG::LOCALE_EN private static const _TRANS_MSG :String = "This deck will be used for vortex battles."; CONFIG::LOCALE_TCN private static const _TRANS_MSG :String = "在渦戰鬥所使用的牌組"; CONFIG::LOCALE_SCN private static const _TRANS_MSG :String = "用于漩涡战斗的卡组。"; CONFIG::LOCALE_KR private static const _TRANS_MSG :String = ""; CONFIG::LOCALE_FR private static const _TRANS_MSG :String = "Pioche pour la bataille du Vortex."; CONFIG::LOCALE_ID private static const _TRANS_MSG :String = ""; CONFIG::LOCALE_TH private static const _TRANS_MSG :String = "Deckที่ใช้ต่อสู้กับน้ำวน"; // 渦戦闘に使用するデッキです。 private const _LABEL_WIDTH:int = 200; // ラベルの幅 private const _LABEL_HEIGHT:int = 20; // ラベルの高さ private const _LABEL_X:int = 500; // デッキエリアのX位置 private const _LABEL_Y:int = 10; // デッキエリアのY位置 private const _DECK_X:int = 125; // デッキエリアのX位置 private const _DECK_Y:int = 475; // デッキエリアのY位置 private const _DECK_SIZE:Number = 1.0; // デッキサイズ private const _DECK_NAME_X:int = 65; // デッキネームのX位置 private const _DECK_NAME_Y:int = 635; // デッキネームのY位置 private const _CHANGE_X:int = 964; // private const _CHANGE_Y:int = 693; // private const _CHANGE_OFFSET_X:int = 20; // private const _CHANGE_OFFSET_Y:int = 30; // private var _ctDown:ColorTransform = new ColorTransform(0.3,0.3,0.3);// トーンを半分に private var _ctNormal:ColorTransform = new ColorTransform(1.0,1.0,1.0);// トーン元にに private const _DECK_MOVE_X:int = _DECK_X + 300; private const _DECK_MOVE_Y:int = _DECK_Y + 70; private const _DECK_NAME_MOVE_X:int = _DECK_NAME_X + 370; private var _sizeMode:int = SIZE_MODE_NORMAL; // private var _sizeMode:int = SIZE_MODE_HALF; // 選択可能か private var _selectable:Boolean = true; // チップヘルプの設定(上記HELPステート分必要) private var _helpTextArray:Array = [ // ["クエストに使用するデッキです。",], [_TRANS_MSG,], ]; // チップヘルプを設定される側のUIComponetオブジェクト private var _toolTipOwnerArray:Array = []; // チップヘルプのステート private const _QUEST_HELP:int = 0; /** * コンストラクタ * */ public function RaidDeck() { } protected override function initDeckData():void { super.initDeckData(); if (_sizeMode == SIZE_MODE_NORMAL) { log.writeLog(log.LV_DEBUG, this,"initDeckData. 1"); _deckClip.x = _DECK_X; _deckClip.y = _DECK_Y; _deckName.x = _DECK_NAME_X; _deckName.y = _DECK_NAME_Y; } else { log.writeLog(log.LV_DEBUG, this,"initDeckData. 2"); _deckClip.scaleX = 0.5; _deckClip.scaleY = 0.5; _deckClip.x = _DECK_MOVE_X; _deckClip.y = _DECK_MOVE_Y; _deckName.x = _DECK_NAME_MOVE_X; _deckName.y = _DECK_NAME_Y; } } // ツールチップが必要なオブジェクトをすべて追加する private function initilizeToolTipOwners():void { _toolTipOwnerArray.push([0,this]); // } // protected override function get helpTextArray():Array /* of String or Null */ { return _helpTextArray; } protected override function get toolTipOwnerArray():Array /* of String or Null */ { return _toolTipOwnerArray; } public override function leftDeckClick():void { _selectable = false; super.leftDeckClick(); } public override function rightDeckClick():void { _selectable = false; super.rightDeckClick(); } public function set selectable(f:Boolean):void { _selectable = f; setDeckTone(); } public function get selectable():Boolean { return _selectable; } public function get selectIndex():int { return _deckEditor.selectIndex; } private function setDeckTone():void { if (_selectable) { _container.transform.colorTransform = _ctNormal; } else { _container.transform.colorTransform = _ctDown; } } // 表示用のスレッドを返す public override function getShowThread(stage:DisplayObjectContainer, at:int = -1, type:String=""):Thread { _depthAt = at; return new ShowThread(this, stage, at); } // 非表示用のスレッドを返す public override function getHideThread(type:String=""):Thread { return new HideThread(this); } public function changeHalfMode():void { var pExec:ParallelExecutor = new ParallelExecutor(); pExec.addThread(new BeTweenAS3Thread(_deckClip, {x:_DECK_MOVE_X,y:_DECK_MOVE_Y,scaleX:0.5,scaleY:0.5}, null, 0.20, BeTweenAS3Thread.EASE_OUT_SINE)); pExec.addThread(new BeTweenAS3Thread(_deckName, {x:_DECK_NAME_MOVE_X}, null, 0.20, BeTweenAS3Thread.EASE_OUT_SINE)); pExec.addThread(new ClousureThread(function():void{_sizeMode = SIZE_MODE_HALF})); pExec.start(); } public function changeNormalMode():void { var pExec:ParallelExecutor = new ParallelExecutor(); pExec.addThread(new BeTweenAS3Thread(_deckClip, {x:_DECK_X,y:_DECK_Y,scaleX:1.0,scaleY:1.0}, null, 0.20, BeTweenAS3Thread.EASE_OUT_SINE)); pExec.addThread(new BeTweenAS3Thread(_deckName, {x:_DECK_NAME_X}, null, 0.20, BeTweenAS3Thread.EASE_OUT_SINE)); pExec.addThread(new ClousureThread(function():void{_sizeMode = SIZE_MODE_NORMAL})); pExec.start(); } public function harfDown():void { _deckClip.scaleX = 0.5; _deckClip.scaleY = 0.5; } } } import flash.display.Sprite; import flash.display.DisplayObjectContainer; import org.libspark.thread.Thread; import view.BaseShowThread; import view.BaseHideThread; import view.scene.raid.RaidDeck; class ShowThread extends BaseShowThread { public function ShowThread(aa:RaidDeck, stage:DisplayObjectContainer, at:int) { super(aa, stage); } protected override function run():void { next(close); } } class HideThread extends BaseHideThread { public function HideThread(aa:RaidDeck) { super(aa); } }
package kabam.rotmg.language.service { import io.decagames.rotmg.pets.data.rarity.PetRarityEnum; import kabam.lib.tasks.BaseTask; import kabam.rotmg.language.model.StringMap; public class GetLanguageService extends BaseTask { private static const LANGUAGE:String = "LANGUAGE"; [Inject] public var strings:StringMap; public function GetLanguageService() { super(); } override protected function startTask() : void { this.localComplete(); } private function localComplete() : void { this.onLanguageResponse("[[\"textiles.Large_Purple_Pinstripe_Cloth\",\"Large Purple Pinstripe Cloth\",\"en\"],[\"textiles.Small_Purple_Pinstripe_Cloth\",\"Small Purple Pinstripe Cloth\",\"en\"],[\"textiles.Large_Brown_Lined_Cloth\",\"Large Brown Lined Cloth\",\"en\"],[\"textiles.Small_Brown_Lined_Cloth\",\"Small Brown Lined Cloth\",\"en\"],[\"textiles.Large_Blue_Striped_Cloth\",\"Large Blue Striped Cloth\",\"en\"],[\"textiles.Small_Blue_Striped_Cloth\",\"Small Blue Striped Cloth\",\"en\"],[\"textiles.Large_Black_Striped_Cloth\",\"Large Black Striped Cloth\",\"en\"],[\"textiles.Small_Black_Striped_Cloth\",\"Small Black Striped Cloth\",\"en\"],[\"textiles.Large_Rainbow_Cloth\",\"Large Rainbow Cloth\",\"en\"],[\"textiles.Small_Rainbow_Cloth\",\"Small Rainbow Cloth\",\"en\"],[\"textiles.Large_Starry_Cloth\",\"Large Starry Cloth\",\"en\"],[\"textiles.Small_Starry_Cloth\",\"Small Starry Cloth\",\"en\"],[\"textiles.Large_Brown_Stitch_Cloth\",\"Large Brown Stitch Cloth\",\"en\"],[\"textiles.Small_Brown_Stitch_Cloth\",\"Small Brown Stitch Cloth\",\"en\"],[\"textiles.Large_Tan_Diamond_Cloth\",\"Large Tan Diamond Cloth\",\"en\"],[\"textiles.Small_Tan_Diamond_Cloth\",\"Small Tan Diamond Cloth\",\"en\"],[\"textiles.Large_Green_Weave_Cloth\",\"Large Green Weave Cloth\",\"en\"],[\"textiles.Small_Green_Weave_Cloth\",\"Small Green Weave Cloth\",\"en\"],[\"textiles.Large_Blue_Wave_Cloth\",\"Large Blue Wave Cloth\",\"en\"],[\"textiles.Small_Blue_Wave_Cloth\",\"Small Blue Wave Cloth\",\"en\"],[\"textiles.Large_Yellow_Wire_Cloth\",\"Large Yellow Wire Cloth\",\"en\"],[\"textiles.Small_Yellow_Wire_Cloth\",\"Small Yellow Wire Cloth\",\"en\"],[\"textiles.Large_Futuristic_Cloth\",\"Large Futuristic Cloth\",\"en\"],[\"textiles.Small_Futuristic_Cloth\",\"Small Futuristic Cloth\",\"en\"],[\"textiles.Large_Stony_Cloth\",\"Large Stony Cloth\",\"en\"],[\"textiles.Small_Stony_Cloth\",\"Small Stony Cloth\",\"en\"],[\"textiles.Large_Heart_Cloth\",\"Large Heart Cloth\",\"en\"],[\"textiles.Small_Heart_Cloth\",\"Small Heart Cloth\",\"en\"],[\"textiles.Large_Skull_Cloth\",\"Large Skull Cloth\",\"en\"],[\"textiles.Small_Skull_Cloth\",\"Small Skull Cloth\",\"en\"],[\"textiles.Large_Red_Diamond_Cloth\",\"Large Red Diamond Cloth\",\"en\"],[\"textiles.Small_Red_Diamond_Cloth\",\"Small Red Diamond Cloth\",\"en\"],[\"textiles.Large_Jester_Cloth\",\"Large Jester Cloth\",\"en\"],[\"textiles.Small_Jester_Cloth\",\"Small Jester Cloth\",\"en\"],[\"textiles.Large_Crossbox_Cloth\",\"Large Crossbox Cloth\",\"en\"],[\"textiles.Small_Crossbox_Cloth\",\"Small Crossbox Cloth\",\"en\"],[\"textiles.Large_White_Diamond_Cloth\",\"Large White Diamond Cloth\",\"en\"],[\"textiles.Small_White_Diamond_Cloth\",\"Small White Diamond Cloth\",\"en\"],[\"textiles.Large_Grey_Scaly_Cloth\",\"Large Grey Scaly Cloth\",\"en\"],[\"textiles.Small_Grey_Scaly_Cloth\",\"Small Grey Scaly Cloth\",\"en\"],[\"textiles.Large_Red_Spotted_Cloth\",\"Large Red Spotted Cloth\",\"en\"],[\"textiles.Small_Red_Spotted_Cloth\",\"Small Red Spotted Cloth\",\"en\"],[\"textiles.Large_Smiley_Cloth\",\"Large Smiley Cloth\",\"en\"],[\"textiles.Small_Smiley_Cloth\",\"Small Smiley Cloth\",\"en\"],[\"textiles.Large_Bold_Diamond_Cloth\",\"Large Bold Diamond Cloth\",\"en\"],[\"textiles.Small_Bold_Diamond_Cloth\",\"Small Bold Diamond Cloth\",\"en\"],[\"textiles.Large_Blue_Lace_Cloth\",\"Large Blue Lace Cloth\",\"en\"],[\"textiles.Small_Blue_Lace_Cloth\",\"Small Blue Lace Cloth\",\"en\"],[\"textiles.Large_Loud_Spotted_Cloth\",\"Large Loud Spotted Cloth\",\"en\"],[\"textiles.Small_Loud_Spotted_Cloth\",\"Small Loud Spotted Cloth\",\"en\"],[\"textiles.Large_Red_Weft_Cloth\",\"Large Red Weft Cloth\",\"en\"],[\"textiles.Small_Red_Weft_Cloth\",\"Small Red Weft Cloth\",\"en\"],[\"textiles.Large_Pink_Sparkly_Cloth\",\"Large Pink Sparkly Cloth\",\"en\"],[\"textiles.Small_Pink_Sparkly_Cloth\",\"Small Pink Sparkly Cloth\",\"en\"],[\"textiles.Large_Red_Lace_Cloth\",\"Large Red Lace Cloth\",\"en\"],[\"textiles.Small_Red_Lace_Cloth\",\"Small Red Lace Cloth\",\"en\"],[\"textiles.Large_Pink_Maze_Cloth\",\"Large Pink Maze Cloth\",\"en\"],[\"textiles.Small_Pink_Maze_Cloth\",\"Small Pink Maze Cloth\",\"en\"],[\"textiles.Large_Yellow_Dot_Cloth\",\"Large Yellow Dot Cloth\",\"en\"],[\"textiles.Small_Yellow_Dot_Cloth\",\"Small Yellow Dot Cloth\",\"en\"],[\"textiles.Large_Cloud_Cloth\",\"Large Cloud Cloth\",\"en\"],[\"textiles.Small_Cloud_Cloth\",\"Small Cloud Cloth\",\"en\"],[\"textiles.Large_Glowthread_Cloth\",\"Large Glowthread Cloth\",\"en\"],[\"textiles.Small_Glowthread_Cloth\",\"Small Glowthread Cloth\",\"en\"],[\"textiles.Large_Sweater_Cloth\",\"Large Sweater Cloth\",\"en\"],[\"textiles.Small_Sweater_Cloth\",\"Small Sweater Cloth\",\"en\"],[\"textiles.Large_Bee_Stripe_Cloth\",\"Large Bee Stripe Cloth\",\"en\"],[\"textiles.Small_Bee_Stripe_Cloth\",\"Small Bee Stripe Cloth\",\"en\"],[\"textiles.Large_Western_Stripe_Cloth\",\"Large Western Stripe Cloth\",\"en\"],[\"textiles.Small_Western_Stripe_Cloth\",\"Small Western Stripe Cloth\",\"en\"],[\"textiles.Large_Blue_Point_Cloth\",\"Large Blue Point Cloth\",\"en\"],[\"textiles.Small_Blue_Point_Cloth\",\"Small Blue Point Cloth\",\"en\"],[\"textiles.Large_Robber_Cloth\",\"Large Robber Cloth\",\"en\"],[\"textiles.Small_Robber_Cloth\",\"Small Robber Cloth\",\"en\"],[\"textiles.Large_Chainmail_Cloth\",\"Large Chainmail Cloth\",\"en\"],[\"textiles.Small_Chainmail_Cloth\",\"Small Chainmail Cloth\",\"en\"],[\"textiles.Large_Dark_Blue_Stripe_Cloth\",\"Large Dark Blue Stripe Cloth\",\"en\"],[\"textiles.Small_Dark_Blue_Stripe_Cloth\",\"Small Dark Blue Stripe Cloth\",\"en\"],[\"textiles.Large_Vine_Cloth\",\"Large Vine Cloth\",\"en\"],[\"textiles.Small_Vine_Cloth\",\"Small Vine Cloth\",\"en\"],[\"textiles.Large_Party_Cloth\",\"Large Party Cloth\",\"en\"],[\"textiles.Small_Party_Cloth\",\"Small Party Cloth\",\"en\"],[\"textiles.Large_Viva_Cloth\",\"Large Viva Cloth\",\"en\"],[\"textiles.Small_Viva_Cloth\",\"Small Viva Cloth\",\"en\"],[\"textiles.Large_Nautical_Cloth\",\"Large Nautical Cloth\",\"en\"],[\"textiles.Small_Nautical_Cloth\",\"Small Nautical Cloth\",\"en\"],[\"textiles.Large_Cactus_Zag_Cloth\",\"Large Cactus Zag Cloth\",\"en\"],[\"textiles.Small_Cactus_Zag_Cloth\",\"Small Cactus Zag Cloth\",\"en\"],[\"textiles.Large_Big-Stripe_Blue_Cloth\",\"Large Big-Stripe Blue Cloth\",\"en\"],[\"textiles.Small_Big-Stripe_Blue_Cloth\",\"Small Big-Stripe Blue Cloth\",\"en\"],[\"textiles.Large_Big-Stripe_Red_Cloth\",\"Large Big-Stripe Red Cloth\",\"en\"],[\"textiles.Small_Big-Stripe_Red_Cloth\",\"Small Big-Stripe Red Cloth\",\"en\"],[\"textiles.Large_Starry_Night_Cloth\",\"Large Starry Night Cloth\",\"en\"],[\"textiles.Small_Starry_Night_Cloth\",\"Small Starry Night Cloth\",\"en\"],[\"textiles.Large_Lemon-Lime_Cloth\",\"Large Lemon-Lime Cloth\",\"en\"],[\"textiles.Small_Lemon-Lime_Cloth\",\"Small Lemon-Lime Cloth\",\"en\"],[\"textiles.Large_Floral_Cloth\",\"Large Floral Cloth\",\"en\"],[\"textiles.Small_Floral_Cloth\",\"Small Floral Cloth\",\"en\"],[\"textiles.Large_Pink_Dot_Cloth\",\"Large Pink Dot Cloth\",\"en\"],[\"textiles.Small_Pink_Dot_Cloth\",\"Small Pink Dot Cloth\",\"en\"],[\"textiles.Large_Dark_Eyes_Cloth\",\"Large Dark Eyes Cloth\",\"en\"],[\"textiles.Small_Dark_Eyes_Cloth\",\"Small Dark Eyes Cloth\",\"en\"],[\"textiles.Large_Wind_Cloth\",\"Large Wind Cloth\",\"en\"],[\"textiles.Small_Wind_Cloth\",\"Small Wind Cloth\",\"en\"],[\"textiles.Large_Shamrock_Cloth\",\"Large Shamrock Cloth\",\"en\"],[\"textiles.Small_Shamrock_Cloth\",\"Small Shamrock Cloth\",\"en\"],[\"textiles.Large_Bright_Stripes_Cloth\",\"Large Bright Stripes Cloth\",\"en\"],[\"textiles.Small_Bright_Stripes_Cloth\",\"Small Bright Stripes Cloth\",\"en\"],[\"textiles.Large_USA_Flag_Cloth\",\"Large USA Flag Cloth\",\"en\"],[\"textiles.Small_USA_Flag_Cloth\",\"Small USA Flag Cloth\",\"en\"],[\"textiles.Large_Flannel_Cloth\",\"Large Flannel Cloth\",\"en\"],[\"textiles.Small_Flannel_Cloth\",\"Small Flannel Cloth\",\"en\"],[\"textiles.Large_Cow_Print_Cloth\",\"Large Cow Print Cloth\",\"en\"],[\"textiles.Small_Cow_Print_Cloth\",\"Small Cow Print Cloth\",\"en\"],[\"textiles.Large_Lush_Camo_Cloth\",\"Large Lush Camo Cloth\",\"en\"],[\"textiles.Small_Lush_Camo_Cloth\",\"Small Lush Camo Cloth\",\"en\"],[\"textiles.Large_Dark_Camo_Cloth\",\"Large Dark Camo Cloth\",\"en\"],[\"textiles.Small_Dark_Camo_Cloth\",\"Small Dark Camo Cloth\",\"en\"],[\"textiles.Large_Teal_Crystal_Cloth\",\"Large Teal Crystal Cloth\",\"en\"],[\"textiles.Small_Teal_Crystal_Cloth\",\"Small Teal Crystal Cloth\",\"en\"],[\"textiles.Large_Blue_Fireworks_Cloth\",\"Large Blue Fireworks Cloth\",\"en\"],[\"textiles.Small_Blue_Fireworks_Cloth\",\"Small Blue Fireworks Cloth\",\"en\"],[\"textiles.Large_Crisscross_Cloth\",\"Large Crisscross Cloth\",\"en\"],[\"textiles.Small_Crisscross_Cloth\",\"Small Crisscross Cloth\",\"en\"],[\"textiles.Large_Diamond_Cloth\",\"Large Diamond Cloth\",\"en\"],[\"textiles.Small_Diamond_Cloth\",\"Small Diamond Cloth\",\"en\"],[\"textiles.Large_Egyptian_Cloth\",\"Large Egyptian Cloth\",\"en\"],[\"textiles.Small_Egyptian_Cloth\",\"Small Egyptian Cloth\",\"en\"],[\"textiles.Large_Purple_Bones_Cloth\",\"Large Purple Bones Cloth\",\"en\"],[\"textiles.Small_Purple_Bones_Cloth\",\"Small Purple Bones Cloth\",\"en\"],[\"textiles.Large_Plaid_Cloth\",\"Large Plaid Cloth\",\"en\"],[\"textiles.Small_Plaid_Cloth\",\"Small Plaid Cloth\",\"en\"],[\"textiles.Large_Red_USA_Star_Cloth\",\"Large Red USA Star Cloth\",\"en\"],[\"textiles.Small_Red_USA_Star_Cloth\",\"Small Red USA Star Cloth\",\"en\"],[\"textiles.Large_Blue_USA_Star_Cloth\",\"Large Blue USA Star Cloth\",\"en\"],[\"textiles.Small_Blue_USA_Star_Cloth\",\"Small Blue USA Star Cloth\",\"en\"],[\"textiles.Large_USA_Star_Cloth\",\"Large USA Star Cloth\",\"en\"],[\"textiles.Small_USA_Star_Cloth\",\"Small USA Star Cloth\",\"en\"],[\"textiles.Large_Purple_Stripes_Cloth\",\"Large Purple Stripes Cloth\",\"en\"],[\"textiles.Small_Purple_Stripes_Cloth\",\"Small Purple Stripes Cloth\",\"en\"],[\"textiles.Large_Bright_Floral_Cloth\",\"Large Bright Floral Cloth\",\"en\"],[\"textiles.Small_Bright_Floral_Cloth\",\"Small Bright Floral Cloth\",\"en\"],[\"textiles.Large_Clanranald_Cloth\",\"Large Clanranald Cloth\",\"en\"],[\"textiles.Small_Clanranald_Cloth\",\"Small Clanranald Cloth\",\"en\"],[\"textiles.Large_American_Flag_Cloth\",\"Large American Flag Cloth\",\"en\"],[\"textiles.Small_American_Flag_Cloth\",\"Small American Flag Cloth\",\"en\"],[\"textiles.Large_Relief_Cloth\",\"Large Relief Cloth\",\"en\"],[\"textiles.Small_Relief_Cloth\",\"Small Relief Cloth\",\"en\"],[\"textiles.Large_Intense_Clovers_Cloth\",\"Large Intense Clovers Cloth\",\"en\"],[\"textiles.Small_Intense_Clovers_Cloth\",\"Small Intense Clovers Cloth\",\"en\"],[\"textiles.Large_Celtic_Knot_Cloth\",\"Large Celtic Knot Cloth\",\"en\"],[\"textiles.Small_Celtic_Knot_Cloth\",\"Small Celtic Knot Cloth\",\"en\"],[\"textiles.Large_Flame_Cloth\",\"Large Flame Cloth\",\"en\"],[\"textiles.Small_Flame_Cloth\",\"Small Flame Cloth\",\"en\"],[\"textiles.Large_Heavy_Chainmail_Cloth\",\"Large Heavy Chainmail Cloth\",\"en\"],[\"textiles.Small_Heavy_Chainmail_Cloth\",\"Small Heavy Chainmail Cloth\",\"en\"],[\"textiles.Large_Leopard_Print_Cloth\",\"Large Leopard Print Cloth\",\"en\"],[\"textiles.Small_Leopard_Print_Cloth\",\"Small Leopard Print Cloth\",\"en\"],[\"textiles.Large_Zebra_Print_Cloth\",\"Large Zebra Print Cloth\",\"en\"],[\"textiles.Small_Zebra_Print_Cloth\",\"Small Zebra Print Cloth\",\"en\"],[\"textiles.Large_Colored_Egg_Cloth\",\"Large Colored Egg Cloth\",\"en\"],[\"textiles.Small_Colored_Egg_Cloth\",\"Small Colored Egg Cloth\",\"en\"],[\"textiles.Large_Spring_Cloth\",\"Large Spring Cloth\",\"en\"],[\"textiles.Small_Spring_Cloth\",\"Small Spring Cloth\",\"en\"],[\"textiles.Large_Hibiscus_Beach_Wrap_Cloth\",\"Large Hibiscus Beach Wrap Cloth\",\"en\"],[\"textiles.Small_Hibiscus_Beach_Wrap_Cloth\",\"Small Hibiscus Beach Wrap Cloth\",\"en\"],[\"textiles.Large_Blue_Camo_Cloth\",\"Large Blue Camo Cloth\",\"en\"],[\"textiles.Small_Blue_Camo_Cloth\",\"Small Blue Camo Cloth\",\"en\"],[\"textiles.Large_Sunburst_Cloth\",\"Large Sunburst Cloth\",\"en\"],[\"textiles.Small_Sunburst_Cloth\",\"Small Sunburst Cloth\",\"en\"],[\"textiles.Large_Ivory_Dragon_Scale_Cloth\",\"Large Ivory Dragon Scale Cloth\",\"en\"],[\"textiles.Small_Ivory_Dragon_Scale_Cloth\",\"Small Ivory Dragon Scale Cloth\",\"en\"],[\"textiles.Large_Green_Dragon_Scale_Cloth\",\"Large Green Dragon Scale Cloth\",\"en\"],[\"textiles.Small_Green_Dragon_Scale_Cloth\",\"Small Green Dragon Scale Cloth\",\"en\"],[\"textiles.Large_Midnight_Dragon_Scale_Cloth\",\"Large Midnight Dragon Scale Cloth\",\"en\"],[\"textiles.Small_Midnight_Dragon_Scale_Cloth\",\"Small Midnight Dragon Scale Cloth\",\"en\"],[\"textiles.Large_Blue_Dragon_Scale_Cloth\",\"Large Blue Dragon Scale Cloth\",\"en\"],[\"textiles.Small_Blue_Dragon_Scale_Cloth\",\"Small Blue Dragon Scale Cloth\",\"en\"],[\"textiles.Large_Red_Dragon_Scale_Cloth\",\"Large Red Dragon Scale Cloth\",\"en\"],[\"textiles.Small_Red_Dragon_Scale_Cloth\",\"Small Red Dragon Scale Cloth\",\"en\"],[\"textiles.Large_Jester_Argyle_Cloth\",\"Large Jester Argyle Cloth\",\"en\"],[\"textiles.Small_Jester_Argyle_Cloth\",\"Small Jester Argyle Cloth\",\"en\"],[\"textiles.Large_Alchemist_Cloth\",\"Large Alchemist Cloth\",\"en\"],[\"textiles.Small_Alchemist_Cloth\",\"Small Alchemist Cloth\",\"en\"],[\"textiles.Large_Spooky_Cloth\",\"Large Spooky Cloth\",\"en\"],[\"textiles.Small_Spooky_Cloth\",\"Small Spooky Cloth\",\"en\"],[\"textiles.Large_Mosaic_Cloth\",\"Large Mosaic Cloth\",\"en\"],[\"textiles.Small_Mosaic_Cloth\",\"Small Mosaic Cloth\",\"en\"],[\"textiles.Large_Blue_Bee_Cloth\",\"Large Blue Bee Cloth\",\"en\"],[\"textiles.Small_Blue_Bee_Cloth\",\"Small Blue Bee Cloth\",\"en\"],[\"textiles.Large_Yellow_Bee_Cloth\",\"Large Yellow Bee Cloth\",\"en\"],[\"textiles.Small_Yellow_Bee_Cloth\",\"Small Yellow Bee Cloth\",\"en\"],[\"textiles.Large_Red_Bee_Cloth\",\"Large Red Bee Cloth\",\"en\"],[\"textiles.Small_Red_Bee_Cloth\",\"Small Red Bee Cloth\",\"en\"],[\"textiles.Large_Stormy_Cloth\",\"Large Stormy Cloth\",\"en\"],[\"textiles.Small_Stormy_Cloth\",\"Small Stormy Cloth\",\"en\"],[\"textiles.Large_Musical_Cloth\",\"Large Musical Cloth\",\"en\"],[\"textiles.Small_Musical_Cloth\",\"Small Musical Cloth\",\"en\"],[\"textiles.Large_Digital_Navy_Camo_Cloth\",\"Large Digital Navy Camo Cloth\",\"en\"],[\"textiles.Small_Digital_Navy_Camo_Cloth\",\"Small Digital Navy Camo Cloth\",\"en\"],[\"textiles.Large_Digital_Fall_Camo_Cloth\",\"Large Digital Fall Camo Cloth\",\"en\"],[\"textiles.Small_Digital_Fall_Camo_Cloth\",\"Small Digital Fall Camo Cloth\",\"en\"],[\"textiles.Large_Digital_Woods_Camo_Cloth\",\"Large Digital Woods Camo Cloth\",\"en\"],[\"textiles.Small_Digital_Woods_Camo_Cloth\",\"Small Digital Woods Camo Cloth\",\"en\"],[\"textiles.Large_Digital_Arctic_Camo_Cloth\",\"Large Digital Arctic Camo Cloth\",\"en\"],[\"textiles.Small_Digital_Arctic_Camo_Cloth\",\"Small Digital Arctic Camo Cloth\",\"en\"],[\"textiles.Large_UFO_Cloth\",\"Large UFO Cloth\",\"en\"],[\"textiles.Small_UFO_Cloth\",\"Small UFO Cloth\",\"en\"],[\"textiles.Large_Foraxian_Cloth\",\"Large Foraxian Cloth\",\"en\"],[\"textiles.Small_Foraxian_Cloth\",\"Small Foraxian Cloth\",\"en\"],[\"textiles.Large_Katalonian_Cloth\",\"Large Katalonian Cloth\",\"en\"],[\"textiles.Small_Katalonian_Cloth\",\"Small Katalonian Cloth\",\"en\"],[\"textiles.Large_Untarian_Cloth\",\"Large Untarian Cloth\",\"en\"],[\"textiles.Small_Untarian_Cloth\",\"Small Untarian Cloth\",\"en\"],[\"textiles.Large_Malogian_Cloth\",\"Large Malogian Cloth\",\"en\"],[\"textiles.Small_Malogian_Cloth\",\"Small Malogian Cloth\",\"en\"],[\"textiles.Large_Magma_Cloth\",\"Large Magma Cloth\",\"en\"],[\"textiles.Small_Magma_Cloth\",\"Small Magma Cloth\",\"en\"],[\"textiles.Large_Mixed_Lights_Cloth\",\"Large Mixed Lights Cloth\",\"en\"],[\"textiles.Small_Mixed_Lights_Cloth\",\"Small Mixed Lights Cloth\",\"en\"],[\"textiles.Large_Peppermint_Cloth\",\"Large Peppermint Cloth\",\"en\"],[\"textiles.Small_Peppermint_Cloth\",\"Small Peppermint Cloth\",\"en\"],[\"textiles.Large_Holiday_Lights_Cloth\",\"Large Holiday Lights Cloth\",\"en\"],[\"textiles.Small_Holiday_Lights_Cloth\",\"Small Holiday Lights Cloth\",\"en\"],[\"textiles.Large_Snowy_Night_Cloth\",\"Large Snowy Night Cloth\",\"en\"],[\"textiles.Small_Snowy_Night_Cloth\",\"Small Snowy Night Cloth\",\"en\"],[\"textiles.Large_Snowflake_Cloth\",\"Large Snowflake Cloth\",\"en\"],[\"textiles.Small_Snowflake_Cloth\",\"Small Snowflake Cloth\",\"en\"],[\"textiles.Large_Candy_Cane_Cloth\",\"Large Candy Cane Cloth\",\"en\"],[\"textiles.Small_Candy_Cane_Cloth\",\"Small Candy Cane Cloth\",\"en\"],[\"textiles.Large_Gemsbok_Cloth\",\"Large Gemsbok Cloth\",\"en\"],[\"textiles.Small_Gemsbok_Cloth\",\"Small Gemsbok Cloth\",\"en\"],[\"textiles.Large_Dammah_Cloth\",\"Large Dammah Cloth\",\"en\"],[\"textiles.Small_Dammah_Cloth\",\"Small Dammah Cloth\",\"en\"],[\"textiles.Large_Leucoryx_Cloth\",\"Large Leucoryx Cloth\",\"en\"],[\"textiles.Small_Leucoryx_Cloth\",\"Small Leucoryx Cloth\",\"en\"],[\"textiles.Large_Exalted_Oryx_Cloth\",\"Large Exalted Oryx Cloth\",\"en\"],[\"textiles.Small_Exalted_Oryx_Cloth\",\"Small Exalted Oryx Cloth\",\"en\"],[\"textiles.Large_Beisa_Symbol_Cloth\",\"Large Beisa Symbol Cloth\",\"en\"],[\"textiles.Small_Beisa_Symbol_Cloth\",\"Small Beisa Symbol Cloth\",\"en\"],[\"textiles.Large_Dammah_Symbol_Cloth\",\"Large Dammah Symbol Cloth\",\"en\"],[\"textiles.Small_Dammah_Symbol_Cloth\",\"Small Dammah Symbol Cloth\",\"en\"],[\"textiles.Large_Leucoryx_Symbol_Cloth\",\"Large Leucoryx Symbol Cloth\",\"en\"],[\"textiles.Small_Leucoryx_Symbol_Cloth\",\"Small Leucoryx Symbol Cloth\",\"en\"],[\"textiles.Large_Gemsbok_Symbol_Cloth\",\"Large Gemsbok Symbol Cloth\",\"en\"],[\"textiles.Small_Gemsbok_Symbol_Cloth\",\"Small Gemsbok Symbol Cloth\",\"en\"],[\"textiles.Large_Exalted_Oryx_Symbol_Cloth\",\"Large Exalted Oryx Symbol Cloth\",\"en\"],[\"textiles.Small_Exalted_Oryx_Symbol_Cloth\",\"Small Exalted Oryx Symbol Cloth\",\"en\"],[\"textiles.Large_Beisa_Cloth\",\"Large Beisa Cloth\",\"en\"],[\"textiles.Small_Beisa_Cloth\",\"Small Beisa Cloth\",\"en\"],[\"textiles.Large_Sanctuary_Cloth\",\"Large Sanctuary Cloth\",\"en\"],[\"textiles.Small_Sanctuary_Cloth\",\"Small Sanctuary Cloth\",\"en\"],[\"textiles.Large_Steel_Cloth\",\"Large Steel Cloth\",\"en\"],[\"textiles.Small_Steel_Cloth\",\"Small Steel Cloth\",\"en\"],[\"textiles.Large_Plate_Cloth\",\"Large Plate Cloth\",\"en\"],[\"textiles.Small_Plate_Cloth\",\"Small Plate Cloth\",\"en\"],[\"textiles.Large_Cone_Cloth\",\"Large Cone Cloth\",\"en\"],[\"textiles.Small_Cone_Cloth\",\"Small Cone Cloth\",\"en\"],[\"textiles.Large_Construction_Cloth\",\"Large Construction Cloth\",\"en\"],[\"textiles.Small_Construction_Cloth\",\"Small Construction Cloth\",\"en\"],[\"dyes.Alice_Blue_Clothing_Dye\",\"Alice Blue Clothing Dye\",\"en\"],[\"dyes.Alice_Blue_Accessory_Dye\",\"Alice Blue Accessory Dye\",\"en\"],[\"dyes.Antique_White_Clothing_Dye\",\"Antique White Clothing Dye\",\"en\"],[\"dyes.Antique_White_Accessory_Dye\",\"Antique White Accessory Dye\",\"en\"],[\"dyes.Aqua_Clothing_Dye\",\"Aqua Clothing Dye\",\"en\"],[\"dyes.Aqua_Accessory_Dye\",\"Aqua Accessory Dye\",\"en\"],[\"dyes.Aquamarine_Clothing_Dye\",\"Aquamarine Clothing Dye\",\"en\"],[\"dyes.Aquamarine_Accessory_Dye\",\"Aquamarine Accessory Dye\",\"en\"],[\"dyes.Azure_Clothing_Dye\",\"Azure Clothing Dye\",\"en\"],[\"dyes.Azure_Accessory_Dye\",\"Azure Accessory Dye\",\"en\"],[\"dyes.Beige_Clothing_Dye\",\"Beige Clothing Dye\",\"en\"],[\"dyes.Beige_Accessory_Dye\",\"Beige Accessory Dye\",\"en\"],[\"dyes.Bisque_Clothing_Dye\",\"Bisque Clothing Dye\",\"en\"],[\"dyes.Bisque_Accessory_Dye\",\"Bisque Accessory Dye\",\"en\"],[\"dyes.Black_Clothing_Dye\",\"Black Clothing Dye\",\"en\"],[\"dyes.Black_Accessory_Dye\",\"Black Accessory Dye\",\"en\"],[\"dyes.Blanched_Almond_Clothing_Dye\",\"Blanched Almond Clothing Dye\",\"en\"],[\"dyes.Blanched_Almond_Accessory_Dye\",\"Blanched Almond Accessory Dye\",\"en\"],[\"dyes.Blue_Clothing_Dye\",\"Blue Clothing Dye\",\"en\"],[\"dyes.Blue_Accessory_Dye\",\"Blue Accessory Dye\",\"en\"],[\"dyes.Blue_Violet_Clothing_Dye\",\"Blue Violet Clothing Dye\",\"en\"],[\"dyes.Blue_Violet_Accessory_Dye\",\"Blue Violet Accessory Dye\",\"en\"],[\"dyes.Brown_Clothing_Dye\",\"Brown Clothing Dye\",\"en\"],[\"dyes.Brown_Accessory_Dye\",\"Brown Accessory Dye\",\"en\"],[\"dyes.Burly_Wood_Clothing_Dye\",\"Burly Wood Clothing Dye\",\"en\"],[\"dyes.Burly_Wood_Accessory_Dye\",\"Burly Wood Accessory Dye\",\"en\"],[\"dyes.Cadet_Blue_Clothing_Dye\",\"Cadet Blue Clothing Dye\",\"en\"],[\"dyes.Cadet_Blue_Accessory_Dye\",\"Cadet Blue Accessory Dye\",\"en\"],[\"dyes.Chartreuse_Clothing_Dye\",\"Chartreuse Clothing Dye\",\"en\"],[\"dyes.Chartreuse_Accessory_Dye\",\"Chartreuse Accessory Dye\",\"en\"],[\"dyes.Chocolate_Clothing_Dye\",\"Chocolate Clothing Dye\",\"en\"],[\"dyes.Chocolate_Accessory_Dye\",\"Chocolate Accessory Dye\",\"en\"],[\"dyes.Coral_Clothing_Dye\",\"Coral Clothing Dye\",\"en\"],[\"dyes.Coral_Accessory_Dye\",\"Coral Accessory Dye\",\"en\"],[\"dyes.Cornflower_Blue_Clothing_Dye\",\"Cornflower Blue Clothing Dye\",\"en\"],[\"dyes.Cornflower_Blue_Accessory_Dye\",\"Cornflower Blue Accessory Dye\",\"en\"],[\"dyes.Cornsilk_Clothing_Dye\",\"Cornsilk Clothing Dye\",\"en\"],[\"dyes.Cornsilk_Accessory_Dye\",\"Cornsilk Accessory Dye\",\"en\"],[\"dyes.Crimson_Clothing_Dye\",\"Crimson Clothing Dye\",\"en\"],[\"dyes.Crimson_Accessory_Dye\",\"Crimson Accessory Dye\",\"en\"],[\"dyes.Cyan_Clothing_Dye\",\"Cyan Clothing Dye\",\"en\"],[\"dyes.Cyan_Accessory_Dye\",\"Cyan Accessory Dye\",\"en\"],[\"dyes.Dark_Blue_Clothing_Dye\",\"Dark Blue Clothing Dye\",\"en\"],[\"dyes.Dark_Blue_Accessory_Dye\",\"Dark Blue Accessory Dye\",\"en\"],[\"dyes.Dark_Cyan_Clothing_Dye\",\"Dark Cyan Clothing Dye\",\"en\"],[\"dyes.Dark_Cyan_Accessory_Dye\",\"Dark Cyan Accessory Dye\",\"en\"],[\"dyes.Dark_Golden_Rod_Clothing_Dye\",\"Dark Golden Rod Clothing Dye\",\"en\"],[\"dyes.Dark_Golden_Rod_Accessory_Dye\",\"Dark Golden Rod Accessory Dye\",\"en\"],[\"dyes.Dark_Gray_Clothing_Dye\",\"Dark Gray Clothing Dye\",\"en\"],[\"dyes.Dark_Gray_Accessory_Dye\",\"Dark Gray Accessory Dye\",\"en\"],[\"dyes.Dark_Green_Clothing_Dye\",\"Dark Green Clothing Dye\",\"en\"],[\"dyes.Dark_Green_Accessory_Dye\",\"Dark Green Accessory Dye\",\"en\"],[\"dyes.Dark_Khaki_Clothing_Dye\",\"Dark Khaki Clothing Dye\",\"en\"],[\"dyes.Dark_Khaki_Accessory_Dye\",\"Dark Khaki Accessory Dye\",\"en\"],[\"dyes.Dark_Magenta_Clothing_Dye\",\"Dark Magenta Clothing Dye\",\"en\"],[\"dyes.Dark_Magenta_Accessory_Dye\",\"Dark Magenta Accessory Dye\",\"en\"],[\"dyes.Dark_Olive_Green_Clothing_Dye\",\"Dark Olive Green Clothing Dye\",\"en\"],[\"dyes.Dark_Olive_Green_Accessory_Dye\",\"Dark Olive Green Accessory Dye\",\"en\"],[\"dyes.Dark_Orange_Clothing_Dye\",\"Dark Orange Clothing Dye\",\"en\"],[\"dyes.Dark_Orange_Accessory_Dye\",\"Dark Orange Accessory Dye\",\"en\"],[\"dyes.Dark_Orchid_Clothing_Dye\",\"Dark Orchid Clothing Dye\",\"en\"],[\"dyes.Dark_Orchid_Accessory_Dye\",\"Dark Orchid Accessory Dye\",\"en\"],[\"dyes.Dark_Red_Clothing_Dye\",\"Dark Red Clothing Dye\",\"en\"],[\"dyes.Dark_Red_Accessory_Dye\",\"Dark Red Accessory Dye\",\"en\"],[\"dyes.Dark_Salmon_Clothing_Dye\",\"Dark Salmon Clothing Dye\",\"en\"],[\"dyes.Dark_Salmon_Accessory_Dye\",\"Dark Salmon Accessory Dye\",\"en\"],[\"dyes.Dark_Sea_Green_Clothing_Dye\",\"Dark Sea Green Clothing Dye\",\"en\"],[\"dyes.Dark_Sea_Green_Accessory_Dye\",\"Dark Sea Green Accessory Dye\",\"en\"],[\"dyes.Dark_Slate_Blue_Clothing_Dye\",\"Dark Slate Blue Clothing Dye\",\"en\"],[\"dyes.Dark_Slate_Blue_Accessory_Dye\",\"Dark Slate Blue Accessory Dye\",\"en\"],[\"dyes.Dark_Slate_Gray_Clothing_Dye\",\"Dark Slate Gray Clothing Dye\",\"en\"],[\"dyes.Dark_Slate_Gray_Accessory_Dye\",\"Dark Slate Gray Accessory Dye\",\"en\"],[\"dyes.Dark_Turquoise_Clothing_Dye\",\"Dark Turquoise Clothing Dye\",\"en\"],[\"dyes.Dark_Turquoise_Accessory_Dye\",\"Dark Turquoise Accessory Dye\",\"en\"],[\"dyes.Dark_Violet_Clothing_Dye\",\"Dark Violet Clothing Dye\",\"en\"],[\"dyes.Dark_Violet_Accessory_Dye\",\"Dark Violet Accessory Dye\",\"en\"],[\"dyes.Deep_Pink_Clothing_Dye\",\"Deep Pink Clothing Dye\",\"en\"],[\"dyes.Deep_Pink_Accessory_Dye\",\"Deep Pink Accessory Dye\",\"en\"],[\"dyes.Deep_Sky_Blue_Clothing_Dye\",\"Deep Sky Blue Clothing Dye\",\"en\"],[\"dyes.Deep_Sky_Blue_Accessory_Dye\",\"Deep Sky Blue Accessory Dye\",\"en\"],[\"dyes.Dim_Gray_Clothing_Dye\",\"Dim Gray Clothing Dye\",\"en\"],[\"dyes.Dim_Gray_Accessory_Dye\",\"Dim Gray Accessory Dye\",\"en\"],[\"dyes.Dodger_Blue_Clothing_Dye\",\"Dodger Blue Clothing Dye\",\"en\"],[\"dyes.Dodger_Blue_Accessory_Dye\",\"Dodger Blue Accessory Dye\",\"en\"],[\"dyes.Fire_Brick_Clothing_Dye\",\"Fire Brick Clothing Dye\",\"en\"],[\"dyes.Fire_Brick_Accessory_Dye\",\"Fire Brick Accessory Dye\",\"en\"],[\"dyes.Floral_White_Clothing_Dye\",\"Floral White Clothing Dye\",\"en\"],[\"dyes.Floral_White_Accessory_Dye\",\"Floral White Accessory Dye\",\"en\"],[\"dyes.Forest_Green_Clothing_Dye\",\"Forest Green Clothing Dye\",\"en\"],[\"dyes.Forest_Green_Accessory_Dye\",\"Forest Green Accessory Dye\",\"en\"],[\"dyes.Fuchsia_Clothing_Dye\",\"Fuchsia Clothing Dye\",\"en\"],[\"dyes.Fuchsia_Accessory_Dye\",\"Fuchsia Accessory Dye\",\"en\"],[\"dyes.Gainsboro_Clothing_Dye\",\"Gainsboro Clothing Dye\",\"en\"],[\"dyes.Gainsboro_Accessory_Dye\",\"Gainsboro Accessory Dye\",\"en\"],[\"dyes.Ghost_White_Clothing_Dye\",\"Ghost White Clothing Dye\",\"en\"],[\"dyes.Ghost_White_Accessory_Dye\",\"Ghost White Accessory Dye\",\"en\"],[\"dyes.Gold_Clothing_Dye\",\"Gold Clothing Dye\",\"en\"],[\"dyes.Gold_Accessory_Dye\",\"Gold Accessory Dye\",\"en\"],[\"dyes.Golden_Rod_Clothing_Dye\",\"Golden Rod Clothing Dye\",\"en\"],[\"dyes.Golden_Rod_Accessory_Dye\",\"Golden Rod Accessory Dye\",\"en\"],[\"dyes.Gray_Clothing_Dye\",\"Gray Clothing Dye\",\"en\"],[\"dyes.Gray_Accessory_Dye\",\"Gray Accessory Dye\",\"en\"],[\"dyes.Green_Clothing_Dye\",\"Green Clothing Dye\",\"en\"],[\"dyes.Green_Accessory_Dye\",\"Green Accessory Dye\",\"en\"],[\"dyes.Green_Yellow_Clothing_Dye\",\"Green Yellow Clothing Dye\",\"en\"],[\"dyes.Green_Yellow_Accessory_Dye\",\"Green Yellow Accessory Dye\",\"en\"],[\"dyes.Honey_Dew_Clothing_Dye\",\"Honey Dew Clothing Dye\",\"en\"],[\"dyes.Honey_Dew_Accessory_Dye\",\"Honey Dew Accessory Dye\",\"en\"],[\"dyes.Hot_Pink_Clothing_Dye\",\"Hot Pink Clothing Dye\",\"en\"],[\"dyes.Hot_Pink_Accessory_Dye\",\"Hot Pink Accessory Dye\",\"en\"],[\"dyes.Indian_Red_Clothing_Dye\",\"Indian Red Clothing Dye\",\"en\"],[\"dyes.Indian_Red_Accessory_Dye\",\"Indian Red Accessory Dye\",\"en\"],[\"dyes.Indigo_Clothing_Dye\",\"Indigo Clothing Dye\",\"en\"],[\"dyes.Indigo_Accessory_Dye\",\"Indigo Accessory Dye\",\"en\"],[\"dyes.Ivory_Clothing_Dye\",\"Ivory Clothing Dye\",\"en\"],[\"dyes.Ivory_Accessory_Dye\",\"Ivory Accessory Dye\",\"en\"],[\"dyes.Khaki_Clothing_Dye\",\"Khaki Clothing Dye\",\"en\"],[\"dyes.Khaki_Accessory_Dye\",\"Khaki Accessory Dye\",\"en\"],[\"dyes.Lavender_Clothing_Dye\",\"Lavender Clothing Dye\",\"en\"],[\"dyes.Lavender_Accessory_Dye\",\"Lavender Accessory Dye\",\"en\"],[\"dyes.Lavender_Blush_Clothing_Dye\",\"Lavender Blush Clothing Dye\",\"en\"],[\"dyes.Lavender_Blush_Accessory_Dye\",\"Lavender Blush Accessory Dye\",\"en\"],[\"dyes.Lawn_Green_Clothing_Dye\",\"Lawn Green Clothing Dye\",\"en\"],[\"dyes.Lawn_Green_Accessory_Dye\",\"Lawn Green Accessory Dye\",\"en\"],[\"dyes.Lemon_Chiffon_Clothing_Dye\",\"Lemon Chiffon Clothing Dye\",\"en\"],[\"dyes.Lemon_Chiffon_Accessory_Dye\",\"Lemon Chiffon Accessory Dye\",\"en\"],[\"dyes.Light_Blue_Clothing_Dye\",\"Light Blue Clothing Dye\",\"en\"],[\"dyes.Light_Blue_Accessory_Dye\",\"Light Blue Accessory Dye\",\"en\"],[\"dyes.Light_Coral_Clothing_Dye\",\"Light Coral Clothing Dye\",\"en\"],[\"dyes.Light_Coral_Accessory_Dye\",\"Light Coral Accessory Dye\",\"en\"],[\"dyes.Light_Cyan_Clothing_Dye\",\"Light Cyan Clothing Dye\",\"en\"],[\"dyes.Light_Cyan_Accessory_Dye\",\"Light Cyan Accessory Dye\",\"en\"],[\"dyes.Light_Golden_Rod_Yellow_Clothing_Dye\",\"Light Golden Rod Yellow Clothing Dye\",\"en\"],[\"dyes.Light_Golden_Rod_Yellow_Accessory_Dye\",\"Light Golden Rod Yellow Accessory Dye\",\"en\"],[\"dyes.Light_Grey_Clothing_Dye\",\"Light Grey Clothing Dye\",\"en\"],[\"dyes.Light_Grey_Accessory_Dye\",\"Light Grey Accessory Dye\",\"en\"],[\"dyes.Light_Green_Clothing_Dye\",\"Light Green Clothing Dye\",\"en\"],[\"dyes.Light_Green_Accessory_Dye\",\"Light Green Accessory Dye\",\"en\"],[\"dyes.Light_Pink_Clothing_Dye\",\"Light Pink Clothing Dye\",\"en\"],[\"dyes.Light_Pink_Accessory_Dye\",\"Light Pink Accessory Dye\",\"en\"],[\"dyes.Light_Salmon_Clothing_Dye\",\"Light Salmon Clothing Dye\",\"en\"],[\"dyes.Light_Salmon_Accessory_Dye\",\"Light Salmon Accessory Dye\",\"en\"],[\"dyes.Light_Sea_Green_Clothing_Dye\",\"Light Sea Green Clothing Dye\",\"en\"],[\"dyes.Light_Sea_Green_Accessory_Dye\",\"Light Sea Green Accessory Dye\",\"en\"],[\"dyes.Light_Sky_Blue_Clothing_Dye\",\"Light Sky Blue Clothing Dye\",\"en\"],[\"dyes.Light_Sky_Blue_Accessory_Dye\",\"Light Sky Blue Accessory Dye\",\"en\"],[\"dyes.Light_Slate_Gray_Clothing_Dye\",\"Light Slate Gray Clothing Dye\",\"en\"],[\"dyes.Light_Slate_Gray_Accessory_Dye\",\"Light Slate Gray Accessory Dye\",\"en\"],[\"dyes.Light_Steel_Blue_Clothing_Dye\",\"Light Steel Blue Clothing Dye\",\"en\"],[\"dyes.Light_Steel_Blue_Accessory_Dye\",\"Light Steel Blue Accessory Dye\",\"en\"],[\"dyes.Light_Yellow_Clothing_Dye\",\"Light Yellow Clothing Dye\",\"en\"],[\"dyes.Light_Yellow_Accessory_Dye\",\"Light Yellow Accessory Dye\",\"en\"],[\"dyes.Lime_Clothing_Dye\",\"Lime Clothing Dye\",\"en\"],[\"dyes.Lime_Accessory_Dye\",\"Lime Accessory Dye\",\"en\"],[\"dyes.Lime_Green_Clothing_Dye\",\"Lime Green Clothing Dye\",\"en\"],[\"dyes.Lime_Green_Accessory_Dye\",\"Lime Green Accessory Dye\",\"en\"],[\"dyes.Linen_Clothing_Dye\",\"Linen Clothing Dye\",\"en\"],[\"dyes.Linen_Accessory_Dye\",\"Linen Accessory Dye\",\"en\"],[\"dyes.Magenta_Clothing_Dye\",\"Magenta Clothing Dye\",\"en\"],[\"dyes.Magenta_Accessory_Dye\",\"Magenta Accessory Dye\",\"en\"],[\"dyes.Maroon_Clothing_Dye\",\"Maroon Clothing Dye\",\"en\"],[\"dyes.Maroon_Accessory_Dye\",\"Maroon Accessory Dye\",\"en\"],[\"dyes.Medium_Aqua_Marine_Clothing_Dye\",\"Medium Aqua Marine Clothing Dye\",\"en\"],[\"dyes.Medium_Aqua_Marine_Accessory_Dye\",\"Medium Aqua Marine Accessory Dye\",\"en\"],[\"dyes.Medium_Blue_Clothing_Dye\",\"Medium Blue Clothing Dye\",\"en\"],[\"dyes.Medium_Blue_Accessory_Dye\",\"Medium Blue Accessory Dye\",\"en\"],[\"dyes.Medium_Orchid_Clothing_Dye\",\"Medium Orchid Clothing Dye\",\"en\"],[\"dyes.Medium_Orchid_Accessory_Dye\",\"Medium Orchid Accessory Dye\",\"en\"],[\"dyes.Medium_Purple_Clothing_Dye\",\"Medium Purple Clothing Dye\",\"en\"],[\"dyes.Medium_Purple_Accessory_Dye\",\"Medium Purple Accessory Dye\",\"en\"],[\"dyes.Medium_Sea_Green_Clothing_Dye\",\"Medium Sea Green Clothing Dye\",\"en\"],[\"dyes.Medium_Sea_Green_Accessory_Dye\",\"Medium Sea Green Accessory Dye\",\"en\"],[\"dyes.Medium_Slate_Blue_Clothing_Dye\",\"Medium Slate Blue Clothing Dye\",\"en\"],[\"dyes.Medium_Slate_Blue_Accessory_Dye\",\"Medium Slate Blue Accessory Dye\",\"en\"],[\"dyes.Medium_Spring_Green_Clothing_Dye\",\"Medium Spring Green Clothing Dye\",\"en\"],[\"dyes.Medium_Spring_Green_Accessory_Dye\",\"Medium Spring Green Accessory Dye\",\"en\"],[\"dyes.Medium_Turquoise_Clothing_Dye\",\"Medium Turquoise Clothing Dye\",\"en\"],[\"dyes.Medium_Turquoise_Accessory_Dye\",\"Medium Turquoise Accessory Dye\",\"en\"],[\"dyes.Medium_Violet_Red_Clothing_Dye\",\"Medium Violet Red Clothing Dye\",\"en\"],[\"dyes.Medium_Violet_Red_Accessory_Dye\",\"Medium Violet Red Accessory Dye\",\"en\"],[\"dyes.Midnight_Blue_Clothing_Dye\",\"Midnight Blue Clothing Dye\",\"en\"],[\"dyes.Midnight_Blue_Accessory_Dye\",\"Midnight Blue Accessory Dye\",\"en\"],[\"dyes.Mint_Cream_Clothing_Dye\",\"Mint Cream Clothing Dye\",\"en\"],[\"dyes.Mint_Cream_Accessory_Dye\",\"Mint Cream Accessory Dye\",\"en\"],[\"dyes.Misty_Rose_Clothing_Dye\",\"Misty Rose Clothing Dye\",\"en\"],[\"dyes.Misty_Rose_Accessory_Dye\",\"Misty Rose Accessory Dye\",\"en\"],[\"dyes.Moccasin_Clothing_Dye\",\"Moccasin Clothing Dye\",\"en\"],[\"dyes.Moccasin_Accessory_Dye\",\"Moccasin Accessory Dye\",\"en\"],[\"dyes.Navajo_White_Clothing_Dye\",\"Navajo White Clothing Dye\",\"en\"],[\"dyes.Navajo_White_Accessory_Dye\",\"Navajo White Accessory Dye\",\"en\"],[\"dyes.Navy_Clothing_Dye\",\"Navy Clothing Dye\",\"en\"],[\"dyes.Navy_Accessory_Dye\",\"Navy Accessory Dye\",\"en\"],[\"dyes.Old_Lace_Clothing_Dye\",\"Old Lace Clothing Dye\",\"en\"],[\"dyes.Old_Lace_Accessory_Dye\",\"Old Lace Accessory Dye\",\"en\"],[\"dyes.Olive_Clothing_Dye\",\"Olive Clothing Dye\",\"en\"],[\"dyes.Olive_Accessory_Dye\",\"Olive Accessory Dye\",\"en\"],[\"dyes.Olive_Drab_Clothing_Dye\",\"Olive Drab Clothing Dye\",\"en\"],[\"dyes.Olive_Drab_Accessory_Dye\",\"Olive Drab Accessory Dye\",\"en\"],[\"dyes.Orange_Clothing_Dye\",\"Orange Clothing Dye\",\"en\"],[\"dyes.Orange_Accessory_Dye\",\"Orange Accessory Dye\",\"en\"],[\"dyes.Orange_Red_Clothing_Dye\",\"Orange Red Clothing Dye\",\"en\"],[\"dyes.Orange_Red_Accessory_Dye\",\"Orange Red Accessory Dye\",\"en\"],[\"dyes.Orchid_Clothing_Dye\",\"Orchid Clothing Dye\",\"en\"],[\"dyes.Orchid_Accessory_Dye\",\"Orchid Accessory Dye\",\"en\"],[\"dyes.Pale_Golden_Rod_Clothing_Dye\",\"Pale Golden Rod Clothing Dye\",\"en\"],[\"dyes.Pale_Golden_Rod_Accessory_Dye\",\"Pale Golden Rod Accessory Dye\",\"en\"],[\"dyes.Pale_Green_Clothing_Dye\",\"Pale Green Clothing Dye\",\"en\"],[\"dyes.Pale_Green_Accessory_Dye\",\"Pale Green Accessory Dye\",\"en\"],[\"dyes.Pale_Turquoise_Clothing_Dye\",\"Pale Turquoise Clothing Dye\",\"en\"],[\"dyes.Pale_Turquoise_Accessory_Dye\",\"Pale Turquoise Accessory Dye\",\"en\"],[\"dyes.Pale_Violet_Red_Clothing_Dye\",\"Pale Violet Red Clothing Dye\",\"en\"],[\"dyes.Pale_Violet_Red_Accessory_Dye\",\"Pale Violet Red Accessory Dye\",\"en\"],[\"dyes.Papaya_Whip_Clothing_Dye\",\"Papaya Whip Clothing Dye\",\"en\"],[\"dyes.Papaya_Whip_Accessory_Dye\",\"Papaya Whip Accessory Dye\",\"en\"],[\"dyes.Peach_Puff_Clothing_Dye\",\"Peach Puff Clothing Dye\",\"en\"],[\"dyes.Peach_Puff_Accessory_Dye\",\"Peach Puff Accessory Dye\",\"en\"],[\"dyes.Peru_Clothing_Dye\",\"Peru Clothing Dye\",\"en\"],[\"dyes.Peru_Accessory_Dye\",\"Peru Accessory Dye\",\"en\"],[\"dyes.Pink_Clothing_Dye\",\"Pink Clothing Dye\",\"en\"],[\"dyes.Pink_Accessory_Dye\",\"Pink Accessory Dye\",\"en\"],[\"dyes.Plum_Clothing_Dye\",\"Plum Clothing Dye\",\"en\"],[\"dyes.Plum_Accessory_Dye\",\"Plum Accessory Dye\",\"en\"],[\"dyes.Powder_Blue_Clothing_Dye\",\"Powder Blue Clothing Dye\",\"en\"],[\"dyes.Powder_Blue_Accessory_Dye\",\"Powder Blue Accessory Dye\",\"en\"],[\"dyes.Purple_Clothing_Dye\",\"Purple Clothing Dye\",\"en\"],[\"dyes.Purple_Accessory_Dye\",\"Purple Accessory Dye\",\"en\"],[\"dyes.Red_Clothing_Dye\",\"Red Clothing Dye\",\"en\"],[\"dyes.Red_Accessory_Dye\",\"Red Accessory Dye\",\"en\"],[\"dyes.Rosy_Brown_Clothing_Dye\",\"Rosy Brown Clothing Dye\",\"en\"],[\"dyes.Rosy_Brown_Accessory_Dye\",\"Rosy Brown Accessory Dye\",\"en\"],[\"dyes.Royal_Blue_Clothing_Dye\",\"Royal Blue Clothing Dye\",\"en\"],[\"dyes.Royal_Blue_Accessory_Dye\",\"Royal Blue Accessory Dye\",\"en\"],[\"dyes.Saddle_Brown_Clothing_Dye\",\"Saddle Brown Clothing Dye\",\"en\"],[\"dyes.Saddle_Brown_Accessory_Dye\",\"Saddle Brown Accessory Dye\",\"en\"],[\"dyes.Salmon_Clothing_Dye\",\"Salmon Clothing Dye\",\"en\"],[\"dyes.Salmon_Accessory_Dye\",\"Salmon Accessory Dye\",\"en\"],[\"dyes.Sandy_Brown_Clothing_Dye\",\"Sandy Brown Clothing Dye\",\"en\"],[\"dyes.Sandy_Brown_Accessory_Dye\",\"Sandy Brown Accessory Dye\",\"en\"],[\"dyes.Sea_Green_Clothing_Dye\",\"Sea Green Clothing Dye\",\"en\"],[\"dyes.Sea_Green_Accessory_Dye\",\"Sea Green Accessory Dye\",\"en\"],[\"dyes.Sea_Shell_Clothing_Dye\",\"Sea Shell Clothing Dye\",\"en\"],[\"dyes.Sea_Shell_Accessory_Dye\",\"Sea Shell Accessory Dye\",\"en\"],[\"dyes.Sienna_Clothing_Dye\",\"Sienna Clothing Dye\",\"en\"],[\"dyes.Sienna_Accessory_Dye\",\"Sienna Accessory Dye\",\"en\"],[\"dyes.Silver_Clothing_Dye\",\"Silver Clothing Dye\",\"en\"],[\"dyes.Silver_Accessory_Dye\",\"Silver Accessory Dye\",\"en\"],[\"dyes.Sky_Blue_Clothing_Dye\",\"Sky Blue Clothing Dye\",\"en\"],[\"dyes.Sky_Blue_Accessory_Dye\",\"Sky Blue Accessory Dye\",\"en\"],[\"dyes.Slate_Blue_Clothing_Dye\",\"Slate Blue Clothing Dye\",\"en\"],[\"dyes.Slate_Blue_Accessory_Dye\",\"Slate Blue Accessory Dye\",\"en\"],[\"dyes.Slate_Gray_Clothing_Dye\",\"Slate Gray Clothing Dye\",\"en\"],[\"dyes.Slate_Gray_Accessory_Dye\",\"Slate Gray Accessory Dye\",\"en\"],[\"dyes.Snow_Clothing_Dye\",\"Snow Clothing Dye\",\"en\"],[\"dyes.Snow_Accessory_Dye\",\"Snow Accessory Dye\",\"en\"],[\"dyes.Spring_Green_Clothing_Dye\",\"Spring Green Clothing Dye\",\"en\"],[\"dyes.Spring_Green_Accessory_Dye\",\"Spring Green Accessory Dye\",\"en\"],[\"dyes.Steel_Blue_Clothing_Dye\",\"Steel Blue Clothing Dye\",\"en\"],[\"dyes.Steel_Blue_Accessory_Dye\",\"Steel Blue Accessory Dye\",\"en\"],[\"dyes.Tan_Clothing_Dye\",\"Tan Clothing Dye\",\"en\"],[\"dyes.Tan_Accessory_Dye\",\"Tan Accessory Dye\",\"en\"],[\"dyes.Teal_Clothing_Dye\",\"Teal Clothing Dye\",\"en\"],[\"dyes.Teal_Accessory_Dye\",\"Teal Accessory Dye\",\"en\"],[\"dyes.Thistle_Clothing_Dye\",\"Thistle Clothing Dye\",\"en\"],[\"dyes.Thistle_Accessory_Dye\",\"Thistle Accessory Dye\",\"en\"],[\"dyes.Tomato_Clothing_Dye\",\"Tomato Clothing Dye\",\"en\"],[\"dyes.Tomato_Accessory_Dye\",\"Tomato Accessory Dye\",\"en\"],[\"dyes.Turquoise_Clothing_Dye\",\"Turquoise Clothing Dye\",\"en\"],[\"dyes.Turquoise_Accessory_Dye\",\"Turquoise Accessory Dye\",\"en\"],[\"dyes.Violet_Clothing_Dye\",\"Violet Clothing Dye\",\"en\"],[\"dyes.Violet_Accessory_Dye\",\"Violet Accessory Dye\",\"en\"],[\"dyes.Wheat_Clothing_Dye\",\"Wheat Clothing Dye\",\"en\"],[\"dyes.Wheat_Accessory_Dye\",\"Wheat Accessory Dye\",\"en\"],[\"dyes.White_Clothing_Dye\",\"White Clothing Dye\",\"en\"],[\"dyes.White_Accessory_Dye\",\"White Accessory Dye\",\"en\"],[\"dyes.White_Smoke_Clothing_Dye\",\"White Smoke Clothing Dye\",\"en\"],[\"dyes.White_Smoke_Accessory_Dye\",\"White Smoke Accessory Dye\",\"en\"],[\"dyes.Yellow_Clothing_Dye\",\"Yellow Clothing Dye\",\"en\"],[\"dyes.Yellow_Accessory_Dye\",\"Yellow Accessory Dye\",\"en\"],[\"dyes.Yellow_Green_Clothing_Dye\",\"Yellow Green Clothing Dye\",\"en\"],[\"dyes.Yellow_Green_Accessory_Dye\",\"Yellow Green Accessory Dye\",\"en\"],[\"dyes.St_PatrickAPOSs_Green_Clothing_Dye\",\"St Patrick\'s Green Clothing Dye\",\"en\"],[\"dyes.St_PatrickAPOSs_Green_Accessory_Dye\",\"St Patrick\'s Green Accessory Dye\",\"en\"],[\"cave.Treasure_Thief\",\"Treasure Thief\",\"en\"],[\"cave.Treasure_Dropper\",\"Treasure Dropper\",\"en\"],[\"cave.Treasure_Pile\",\"Treasure Pile\",\"en\"],[\"cave.Treasure_Chests\",\"Treasure Chests\",\"en\"],[\"cave.Treasure_Enemy\",\"Treasure Mimic\",\"en\"],[\"cave.Log_Trap_Clockwise\",\"Log Trap\",\"en\"],[\"cave.Treasure_Rat\",\"Treasure Rat\",\"en\"],[\"cave.Treasure_Flame_Trap\",\"Flame Trap\",\"en\"],[\"cave.Treasure_Flame_Trap_Fast\",\"Flame Trap\",\"en\"],[\"cave.Treasure_Plunderer\",\"Treasure Plunderer\",\"en\"],[\"cave.Treasure_Robber\",\"Treasure Robber\",\"en\"],[\"cave.Golden_Oryx_Effigy\",\"Golden Oryx Effigy\",\"en\"],[\"cave.Treasure_Oryx_Defender\",\"Treasure Oryx Defender\",\"en\"],[\"cave.Treasure_Pot\",\"Treasure Pot\",\"en\"],[\"cave.Boulder\",\"Boulder\",\"en\"],[\"cave.Boulder_Spawner\",\"Boulder Spawner\",\"en\"],[\"cave.Gold_Planet\",\"Gold Planet\",\"en\"],[\"cave.Realm_Portal_Opener\",\"Realm Portal Opener\",\"en\"],[\"cave.Treasure_Rocks\",\"Treasure Rocks\",\"en\"],[\"tutorial_script.Check_out_the|minimap.\",\"Check out the|minimap.\",\"en\"],[\"tutorial_script.The_red_bar|shows_your|health.\",\"The red bar|shows your|health.\",\"en\"],[\"tutorial_script.This_is_your|equipment.\",\"This is your|equipment.\",\"en\"],[\"tutorial_script.Space_bar|activates_your|special_power.\",\"Space bar|activates your|special power.\",\"en\"],[\"tutorial_script.By_pressing_R|or_the_Nexus_icon.\",\"By pressing R|or the Nexus icon.\",\"en\"],[\"tutorial_script.You_earn_fame|by_dyingBANG\",\"You earn fame|by dying!\",\"en\"],[\"tutorial_script.Main_Health\",\"Main_Health\",\"en\"],[\"tutorial_script.Main_NexusButton\",\"Main_NexusButton\",\"en\"],[\"tutorial_script.Main_Ability\",\"Main_Ability\",\"en\"],[\"tutorial_script.Main_Equipment\",\"Main_Equipment\",\"en\"],[\"tutorial_script.Kitchen_Minimap\",\"Kitchen_Minimap\",\"en\"],[\"tutorial_script.Kitchen_Potions\",\"Kitchen_Potions\",\"en\"],[\"tutorial_script.Kitchen_Journal\",\"Kitchen_Journal\",\"en\"],[\"stringlist.FR_Boss.new.0\",\"Permafrost Lord has appeared!\",\"en\"],[\"stringlist.FR_Boss.new.1\",\"Nothing can melt the Permafrost Lord.\",\"en\"],[\"stringlist.FR_Boss.one.0\",\"The Permafrost Lord\'s body is made of magical ice that doesn\'t melt.\",\"en\"],[\"stringlist.FR_Boss.killed.0\",\"{KILLER} has killed the Permafrost Lord.\",\"en\"],[\"stringlist.FR_Boss.killed.1\",\"Global warming is not a joke {KILLER}. Thanks to you the Realm has gotten warmer.\",\"en\"],[\"stringlist.FR_Boss.death.0\",\"No! How will I get my special ice cubes for my cocktails?!\",\"en\"],[\"stringlist.shtrs_Defense_System.new.0\",\"The Shatters has been discovered!?!\",\"en\"],[\"stringlist.shtrs_Defense_System.new.1\",\"The Forgotten King has raised his Avatar!\",\"en\"],[\"stringlist.shtrs_Defense_System.one.0\",\"Attacking the Avatar of the Forgotten King would be... unwise.\",\"en\"],[\"stringlist.shtrs_Defense_System.one.1\",\"Kill the Avatar and you risk setting free an abomination.\",\"en\"],[\"stringlist.shtrs_Defense_System.one.2\",\"Before you enter the Shatters, you must defeat the Avatar of the Forgotten King!\",\"en\"],[\"stringlist.shtrs_Defense_System.killed.0\",\"{KILLER} has unleashed an evil upon this Realm.\",\"en\"],[\"stringlist.shtrs_Defense_System.killed.1\",\"{KILLER}, you have awoken the Forgotten King. Enjoy a slow death!\",\"en\"],[\"stringlist.shtrs_Defense_System.killed.2\",\"{KILLER} will never survive what lies in the depths of the Shatters.\",\"en\"],[\"stringlist.shtrs_Defense_System.killed.3\",\"Enjoy your little victory while it lasts, {KILLER}!\",\"en\"],[\"stringlist.shtrs_Defense_System.death.0\",\"The Avatar has been defeated!\",\"en\"],[\"stringlist.shtrs_Defense_System.death.1\",\"How could simpletons kill The Avatar of the Forgotten King!?\",\"en\"],[\"stringlist.Dragon_Head.new.0\",\"The Rock Dragon has been summoned.\",\"en\"],[\"stringlist.Dragon_Head.new.1\",\"Beware my Rock Dragon. All who face him shall perish.\",\"en\"],[\"stringlist.Dragon_Head.one.0\",\"My Rock Dragon will end your pathetic existence!\",\"en\"],[\"stringlist.Dragon_Head.one.1\",\"Fools, no one can withstand the power of my Rock Dragon!\",\"en\"],[\"stringlist.Dragon_Head.one.2\",\"The Rock Dragon will guard his post until the bitter end.\",\"en\"],[\"stringlist.Dragon_Head.one.3\",\"The Rock Dragon will never let you enter the Lair of Draconis.\",\"en\"],[\"stringlist.Dragon_Head.killed.0\",\"{KILLER} knows not what he has done. That Lair was guarded for the Realm\'s own protection!\",\"en\"],[\"stringlist.Dragon_Head.killed.1\",\"{KILLER}, you have angered me for the last time!\",\"en\"],[\"stringlist.Dragon_Head.killed.2\",\"{KILLER} will never survive the trials that lie ahead.\",\"en\"],[\"stringlist.Dragon_Head.killed.3\",\"A filthy weakling like {KILLER} could never have defeated my Rock Dragon!!!\",\"en\"],[\"stringlist.Dragon_Head.killed.4\",\"You shall not live to see the next sunrise, {KILLER}!\",\"en\"],[\"stringlist.Dragon_Head.death.0\",\"My Rock Dragon will return!\",\"en\"],[\"stringlist.Dragon_Head.death.1\",\"The Rock Dragon has failed me!\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.new.0\",\"The Rock Dragon has been summoned.\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.new.1\",\"Beware my Rock Dragon. All who face him shall perish.\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.one.0\",\"My Rock Dragon will end your pathetic existence!\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.one.1\",\"Fools, no one can withstand the power of my Rock Dragon!\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.one.2\",\"The Rock Dragon will guard his post until the bitter end.\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.one.3\",\"The Rock Dragon will never let you enter the Lair of Draconis.\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.killed.0\",\"{KILLER} knows not what he has done. That Lair was guarded for the Realm\'s own protection!\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.killed.1\",\"{KILLER}, you have angered me for the last time!\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.killed.2\",\"{KILLER} will never survive the trials that lie ahead.\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.killed.3\",\"A filthy weakling like {KILLER} could never have defeated my Rock Dragon!!!\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.killed.4\",\"You shall not live to see the next sunrise, {KILLER}!\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.death.0\",\"My Rock Dragon will return!\",\"en\"],[\"stringlist.LOD_Rock_Dragon_Head.death.1\",\"The Rock Dragon has failed me!\",\"en\"],[\"stringlist.Beach_Bum.new.0\",\"An elusive Beach Bum is hiding somewhere in the Realm.\",\"en\"],[\"stringlist.Beach_Bum.new.1\",\"What is this lazy Beach Bum doing in my Realm?!\",\"en\"],[\"stringlist.Beach_Bum.killed.0\",\"{KILLER} has killed the innocent Beach Bum!\",\"en\"],[\"stringlist.Beach_Bum.death.0\",\"The innocent Beach Bum has been slain!\",\"en\"],[\"stringlist.Ghost_Ship.new.0\",\"A Ghost Ship has entered the Realm.\",\"en\"],[\"stringlist.Ghost_Ship.new.1\",\"My Ghost Ship will terrorize you pathetic peasants!\",\"en\"],[\"stringlist.Ghost_Ship.one.0\",\"My Ghost Ship will send you to a watery grave.\",\"en\"],[\"stringlist.Ghost_Ship.one.1\",\"You filthy mongrels stand no chance against my Ghost Ship!\",\"en\"],[\"stringlist.Ghost_Ship.one.2\",\"My Ghost Ship\'s cannonballs will crush your pathetic Knights!\",\"en\"],[\"stringlist.Ghost_Ship.killed.0\",\"{KILLER}, you foul creature. I shall see to your death personally!\",\"en\"],[\"stringlist.Ghost_Ship.killed.1\",\"{KILLER} has crossed me for the last time! My Ghost Ship shall be avenged.\",\"en\"],[\"stringlist.Ghost_Ship.killed.2\",\"{KILLER} is such a jerk!\",\"en\"],[\"stringlist.Ghost_Ship.killed.3\",\"How could a creature like {KILLER} defeat my dreaded Ghost Ship?!\",\"en\"],[\"stringlist.Ghost_Ship.killed.4\",\"The spirits of the sea will seek revenge on your worthless soul, {KILLER}!\",\"en\"],[\"stringlist.Ghost_Ship.death.0\",\"My Ghost Ship will return!\",\"en\"],[\"stringlist.Ghost_Ship.death.1\",\"Alas, my beautiful Ghost Ship has sunk!\",\"en\"],[\"stringlist.Skull_Shrine.new.0\",\"Your futile efforts are no match for a Skull Shrine!\",\"en\"],[\"stringlist.Skull_Shrine.one.0\",\"Pathetic fools! A Skull Shrine guards me!\",\"en\"],[\"stringlist.Skull_Shrine.one.1\",\"Miserable scum! My Skull Shrine is invincible!\",\"en\"],[\"stringlist.Skull_Shrine.many.0\",\"Insects! {COUNT} Skull Shrines still protect me\",\"en\"],[\"stringlist.Skull_Shrine.many.1\",\"You hairless apes will never overcome my {COUNT} Skull Shrines!\",\"en\"],[\"stringlist.Skull_Shrine.many.2\",\"You frail humans will never defeat my {COUNT} Skull Shrines!\",\"en\"],[\"stringlist.Skull_Shrine.many.3\",\"Miserable worms like you cannot stand against my {COUNT} Skull Shrines!\",\"en\"],[\"stringlist.Skull_Shrine.many.4\",\"Imbeciles! My {COUNT} Skull Shrines make me invincible!\",\"en\"],[\"stringlist.Skull_Shrine.killed.0\",\"{KILLER}, you insignificant cur! The penalty for destroying a Skull Shrine is death!\",\"en\"],[\"stringlist.Skull_Shrine.killed.1\",\"{KILLER}, you contemptible pig! Ruining my Skull Shrine will be the last mistake you ever make!\",\"en\"],[\"stringlist.Skull_Shrine.killed.2\",\"{KILLER}, you will rue the day you dared to defile my Skull Shrine!\",\"en\"],[\"stringlist.Skull_Shrine.killed.3\",\"{KILLER} razed one of my Skull Shrines - I WILL HAVE MY REVENGE!\",\"en\"],[\"stringlist.Skull_Shrine.death.0\",\"You defaced a Skull Shrine! Minions, to arms!\",\"en\"],[\"stringlist.Pumpkin_Shrine.new.0\",\"Your futile efforts are no match for a spooky Pumpkin Shrine!\",\"en\"],[\"stringlist.Pumpkin_Shrine.one.0\",\"Pathetic fools! A Pumpkin Shrine guards me!\",\"en\"],[\"stringlist.Pumpkin_Shrine.one.1\",\"Miserable scum! My Pumpkin Shrine is invincible!\",\"en\"],[\"stringlist.Pumpkin_Shrine.many.0\",\"Insects! {COUNT} Pumpkin Shrines still protect me\",\"en\"],[\"stringlist.Pumpkin_Shrine.many.1\",\"You hairless apes will never overcome my {COUNT} Pumpkin Shrines!\",\"en\"],[\"stringlist.Pumpkin_Shrine.many.2\",\"You frail humans will never defeat my {COUNT} Pumpkin Shrines!\",\"en\"],[\"stringlist.Pumpkin_Shrine.many.3\",\"Miserable worms like you cannot stand against my {COUNT} Pumpkin Shrines!\",\"en\"],[\"stringlist.Pumpkin_Shrine.many.4\",\"Imbeciles! My {COUNT} Pumpkin Shrines make me invincible!\",\"en\"],[\"stringlist.Pumpkin_Shrine.killed.0\",\"{KILLER}, you insignificant cur! The penalty for smashing a Pumpkin Shrine is death!\",\"en\"],[\"stringlist.Pumpkin_Shrine.killed.1\",\"{KILLER}, you contemptible pig! Smashing my Pumpkin Shrine will be the last mistake you ever make!\",\"en\"],[\"stringlist.Pumpkin_Shrine.killed.2\",\"{KILLER}, you will rue the day you dared to smash my Pumpkin Shrine!\",\"en\"],[\"stringlist.Pumpkin_Shrine.killed.3\",\"{KILLER} smashed one of my Pumpkin Shrines - I WILL HAVE MY REVENGE!\",\"en\"],[\"stringlist.Pumpkin_Shrine.death.0\",\"You smashed a Pumpkin Shrine! Minions, to arms!\",\"en\"],[\"stringlist.Cube_God.new.0\",\"Your meager abilities cannot possibly challenge a Cube God!\",\"en\"],[\"stringlist.Cube_God.one.0\",\"Worthless mortals! A mighty Cube God defends me!\",\"en\"],[\"stringlist.Cube_God.one.1\",\"Wretched mongrels! An unconquerable Cube God is my bulwark!\",\"en\"],[\"stringlist.Cube_God.many.0\",\"You piteous cretins! {COUNT} Cube Gods still guard me!\",\"en\"],[\"stringlist.Cube_God.many.1\",\"Your pathetic rabble will never survive against my {COUNT} Cube Gods!\",\"en\"],[\"stringlist.Cube_God.many.2\",\"Filthy vermin! My {COUNT} Cube Gods will exterminate you!\",\"en\"],[\"stringlist.Cube_God.many.3\",\"You feeble creatures have no hope against my {COUNT} Cube Gods!\",\"en\"],[\"stringlist.Cube_God.many.4\",\"Loathsome slugs! My {COUNT} Cube Gods will defeat you!\",\"en\"],[\"stringlist.Cube_God.killed.0\",\"{KILLER}, you pathetic swine! How dare you assault my Cube God?\",\"en\"],[\"stringlist.Cube_God.killed.1\",\"{KILLER}, you wretched dog! You killed my Cube God!\",\"en\"],[\"stringlist.Cube_God.killed.2\",\"{KILLER}, you may have destroyed my Cube God but you will never defeat me!\",\"en\"],[\"stringlist.Cube_God.killed.3\",\"I have many more Cube Gods, {KILLER}!\",\"en\"],[\"stringlist.Cube_God.death.0\",\"You have dispatched my Cube God, but you will never escape my Realm!\",\"en\"],[\"stringlist.Pentaract.new.0\",\"Behold my Pentaract, and despair!\",\"en\"],[\"stringlist.Pentaract.one.0\",\"I am invincible while my Pentaract stands!\",\"en\"],[\"stringlist.Pentaract.one.1\",\"Ignorant fools! A Pentaract guards me still!\",\"en\"],[\"stringlist.Pentaract.many.0\",\"Wretched creatures! {COUNT} Pentaracts remain!\",\"en\"],[\"stringlist.Pentaract.many.1\",\"You detestable humans will never defeat my {COUNT} Pentaracts!\",\"en\"],[\"stringlist.Pentaract.many.2\",\"My {COUNT} Pentaracts will protect me forever!\",\"en\"],[\"stringlist.Pentaract.many.3\",\"Your weak efforts will never overcome my {COUNT} Pentaracts!\",\"en\"],[\"stringlist.Pentaract.many.4\",\"Defiance is useless! My {COUNT} Pentaracts will crush you!\",\"en\"],[\"stringlist.Pentaract.killed.0\",\"{KILLER}, you lowly scum! You\'ll regret that you ever touched my Pentaract!\",\"en\"],[\"stringlist.Pentaract.killed.1\",\"{KILLER}, you flea-ridden animal! You destroyed my Pentaract!\",\"en\"],[\"stringlist.Pentaract.killed.2\",\"{KILLER}, by destroying my Pentaract you have sealed your own doom!\",\"en\"],[\"stringlist.Pentaract.death.0\",\"That was but one of many Pentaracts!\",\"en\"],[\"stringlist.Pentaract.death.1\",\"You have razed my Pentaract, but you will die here in my Realm!\",\"en\"],[\"stringlist.Grand_Sphinx.new.0\",\"At last, a Grand Sphinx will teach you to respect!\",\"en\"],[\"stringlist.Grand_Sphinx.one.0\",\"A Grand Sphinx is more than a match for this rabble.\",\"en\"],[\"stringlist.Grand_Sphinx.one.1\",\"Gaze upon the beauty of the Grand Sphinx and feel your last hopes drain away.\",\"en\"],[\"stringlist.Grand_Sphinx.one.2\",\"You festering rat-catchers! A Grand Sphinx will make you doubt your purpose!\",\"en\"],[\"stringlist.Grand_Sphinx.many.0\",\"My Grand Sphinxes will bewitch you with their beauty!\",\"en\"],[\"stringlist.Grand_Sphinx.many.1\",\"My {COUNT} Grand Sphinxes protect my Chamber with their lives!\",\"en\"],[\"stringlist.Grand_Sphinx.many.2\",\"Regret your choices, blasphemers! My {COUNT} Grand Sphinxes will teach you respect!\",\"en\"],[\"stringlist.Grand_Sphinx.many.3\",\"You dull-spirited apes! You shall pose no challenge for {COUNT} Grand Sphinxes!\",\"en\"],[\"stringlist.Grand_Sphinx.killed.0\",\"{KILLER}, you up-jumped goat herder! You shall pay for defeating my Grand Sphinx!\",\"en\"],[\"stringlist.Grand_Sphinx.killed.1\",\"{KILLER}, you foul ruffian! Do not think I forget your defiling of my Grand Sphinx!\",\"en\"],[\"stringlist.Grand_Sphinx.killed.2\",\"{KILLER}, you pestiferous lout! I will not forget what you did to my Grand Sphinx!\",\"en\"],[\"stringlist.Grand_Sphinx.killed.3\",\"My Grand Sphinx, she was so beautiful. I will kill you myself, {KILLER}!\",\"en\"],[\"stringlist.Grand_Sphinx.killed.4\",\"My Grand Sphinx had lived for thousands of years! You, {KILLER}, will not survive the day!\",\"en\"],[\"stringlist.Grand_Sphinx.death.0\",\"The death of my Grand Sphinx shall be avenged!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.new.0\",\"Cower in fear of my Lord of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.new.1\",\"My Lord of the Lost Lands will make short work of you!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.one.0\",\"Give up now! You stand no chance against a Lord of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.one.1\",\"Pathetic fools! My Lord of the Lost Lands will crush you all!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.one.2\",\"You are nothing but disgusting slime to be scraped off the foot of my Lord of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.many.0\",\"Cower before your destroyer! You stand no chance against {COUNT} Lords of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.many.1\",\"Your pathetic band of fighters will be crushed under the mighty feet of my {COUNT} Lords of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.many.2\",\"Feel the awesome might of my {COUNT} Lords of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.many.3\",\"Together, my {COUNT} Lords of the Lost Lands will squash you like a bug!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.many.4\",\"Do not run! My {COUNT} Lords of the Lost Lands only wish to greet you!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.killed.0\",\"You win this time, {KILLER}, but mark my words: You will fall before the day is done.\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.killed.1\",\"{KILLER}, I will never forget you exploited my Lord of the Lost Lands\' weakness!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.killed.2\",\"{KILLER}, you have done me a service! That Lord of the Lost Lands was not worthy of serving me.\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.killed.3\",\"You got lucky this time {KILLER}, but you stand no chance against me!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.death.0\",\"How dare you foul-mouthed hooligans treat my Lord of the Lost Lands with such indignity!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands.death.1\",\"What trickery is this?! My Lord of the Lost Lands was invincible!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.new.0\",\"Cower in fear of my Lord of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.new.1\",\"My Lord of the Lost Lands will make short work of you!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.one.0\",\"Give up now! You stand no chance against a Lord of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.one.1\",\"Pathetic fools! My Lord of the Lost Lands will crush you all!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.one.2\",\"You are nothing but disgusting slime to be scraped off the foot of my Lord of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.many.0\",\"Cower before your destroyer! You stand no chance against {COUNT} Lords of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.many.1\",\"Your pathetic band of fighters will be crushed under the mighty feet of my {COUNT} Lords of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.many.2\",\"Feel the awesome might of my {COUNT} Lords of the Lost Lands!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.many.3\",\"Together, my {COUNT} Lords of the Lost Lands will squash you like a bug!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.many.4\",\"Do not run! My {COUNT} Lords of the Lost Lands only wish to greet you!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.killed.0\",\"You win this time, {KILLER}, but mark my words: You will fall before the day is done.\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.killed.1\",\"{KILLER}, I will never forget you exploited my Lord of the Lost Lands\' weakness!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.killed.2\",\"{KILLER}, you have done me a service! That Lord of the Lost Lands was not worthy of serving me.\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.killed.3\",\"You got lucky this time {KILLER}, but you stand no chance against me!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.death.0\",\"How dare you foul-mouthed hooligans treat my Lord of the Lost Lands with such indignity!\",\"en\"],[\"stringlist.Lord_of_the_Lost_Lands_Challenger.death.1\",\"What trickery is this?! My Lord of the Lost Lands was invincible!\",\"en\"],[\"stringlist.Hermit_God.new.0\",\"My Hermit God\'s thousand tentacles shall drag you to a watery grave!\",\"en\"],[\"stringlist.Hermit_God.one.0\",\"You will be pulled to the bottom of the sea by my mighty Hermit God.\",\"en\"],[\"stringlist.Hermit_God.one.1\",\"Flee from my Hermit God, unless you desire a watery grave!\",\"en\"],[\"stringlist.Hermit_God.one.2\",\"My Hermit God awaits more sacrifices for the majestic Thessal.\",\"en\"],[\"stringlist.Hermit_God.one.3\",\"My Hermit God will pull you beneath the waves!\",\"en\"],[\"stringlist.Hermit_God.one.4\",\"You will make a tasty snack for my Hermit God!\",\"en\"],[\"stringlist.Hermit_God.many.0\",\"You will make a tasty snack for my Hermit Gods!\",\"en\"],[\"stringlist.Hermit_God.many.1\",\"I will enjoy watching my {COUNT} Hermit Gods fight over your corpse!\",\"en\"],[\"stringlist.Hermit_God.killed.0\",\"You were lucky this time, {KILLER}! You will rue the day you killed my Hermit God!\",\"en\"],[\"stringlist.Hermit_God.killed.1\",\"You naive imbecile, {KILLER}! Without my Hermit God, Dreadstump is free to roam the seas without fear!\",\"en\"],[\"stringlist.Hermit_God.killed.2\",\"My Hermit God was more than you\'ll ever be, {KILLER}. I will kill you myself!\",\"en\"],[\"stringlist.Hermit_God.death.0\",\"This is preposterous! There is no way you could have defeated my Hermit God!\",\"en\"],[\"stringlist.Oryx_the_Mad_God.everySoOften.0\",\"Fools! I still have {HITPOINTS}!\",\"en\"],[\"stringlist.Oryx_the_Mad_God.everySoOften.1\",\"Puny mortals! My {HITPOINTS} are more than enough!\",\"en\"],[\"stringlist.Oryx_the_Mad_God.everySoOften.2\",\"I have {HITPOINTS} and I shall destroy you!\",\"en\"],[\"stringlist.Oryx_the_Mad_God.everySoOften.3\",\"Insignificant peons! I have {HITPOINTS}!\",\"en\"],[\"stringlist.Oryx_the_Mad_God.everySoOften.4\",\"You cosmic peasants! My {HITPOINTS} make me mightier than you!\",\"en\"],[\"stringlist.Oryx_the_Mad_God.mydeath.0\",\"You have defeated my simulacrum, but I remain safe in my wine cellar!\",\"en\"],[\"stringlist.Oryx_the_Mad_God_2.everySoOften.0\",\"Pathetic mortals! I have {HITPOINTS}!\",\"en\"],[\"stringlist.Oryx_the_Mad_God_2.everySoOften.1\",\"Foolish humans! My {HITPOINTS} give me strength!\",\"en\"],[\"stringlist.Oryx_the_Mad_God_2.everySoOften.2\",\"I have {HITPOINTS} and I shall annihilate you!\",\"en\"],[\"stringlist.Oryx_the_Mad_God_2.everySoOften.3\",\"Miniscule worms! I still have {HITPOINTS}!\",\"en\"],[\"stringlist.Oryx_the_Mad_God_2.everySoOften.4\",\"Galactic serfs! Cower before my {HITPOINTS}!\",\"en\"],[\"stringlist.Oryx_the_Mad_God_2.mydeath.0\",\"You puny mortals! I... shall... return...!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_1.everySoOften.0\",\"Fools! We still have {HITPOINTS}!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_1.everySoOften.1\",\"Puny mortals! Our {HITPOINTS} are more than enough!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_1.everySoOften.2\",\"We have {HITPOINTS} and we shall destroy you!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_1.everySoOften.3\",\"Insignificant peons! We have {HITPOINTS}!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_1.everySoOften.4\",\"You cosmic peasants! Our {HITPOINTS} make us mightier than you!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_1.mydeath.0\",\"This host is no more but we have plenty, follow us to the wine cellar if you dare!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_2.everySoOften.0\",\"Pathetic mortals! We have {HITPOINTS}!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_2.everySoOften.1\",\"Foolish humans! Our {HITPOINTS} give us strength!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_2.everySoOften.2\",\"We have {HITPOINTS} and we shall annihilate you!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_2.everySoOften.3\",\"Miniscule worms! We still have {HITPOINTS}!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_2.everySoOften.4\",\"Galactic serfs! Cower before our {HITPOINTS}!\",\"en\"],[\"stringlist.Infested_Oryx_the_Mad_God_2.mydeath.0\",\"You puny mortals! We... shall... return...!\",\"en\"],[\"stringlist.Deathmage.everySoOften.0\",\"My skeletons will make short work of you.\",\"en\"],[\"stringlist.Deathmage.everySoOften.1\",\"{PLAYER}, you are no match for my army of undead!\",\"en\"],[\"stringlist.Deathmage.everySoOften.2\",\"{PLAYER}, you will soon be my undead slave!\",\"en\"],[\"stringlist.Deathmage.everySoOften.3\",\"You will never leave this graveyard alive!\",\"en\"],[\"stringlist.Deathmage.everySoOften.4\",\"More bones for my collection!\",\"en\"],[\"stringlist.Deathmage.one.0\",\"My final Deathmage will kill you all!\",\"en\"],[\"stringlist.Deathmage.one.1\",\"My final Deathmage shall exterminate you!\",\"en\"],[\"stringlist.Deathmage.many.0\",\"Fools! I still have {COUNT} deathmages protecting me!\",\"en\"],[\"stringlist.Deathmage.many.1\",\"My {COUNT} deathmages will collect your bones!\",\"en\"],[\"stringlist.Lich.everySoOften.0\",\"How dare you disturb my eternal slumber, {PLAYER}!\",\"en\"],[\"stringlist.Lich.everySoOften.1\",\"I will eat your soul, {PLAYER}!\",\"en\"],[\"stringlist.Lich.everySoOften.2\",\"You will drown in a sea of undead!\",\"en\"],[\"stringlist.Lich.everySoOften.3\",\"All that I touch turns to dust!\",\"en\"],[\"stringlist.Lich.one.0\",\"My final Lich will protect me forever!\",\"en\"],[\"stringlist.Lich.one.1\",\"My final Lich shall consume your souls!\",\"en\"],[\"stringlist.Lich.many.0\",\"I am invincible while my {COUNT} Liches still stand!\",\"en\"],[\"stringlist.Lich.many.1\",\"My {COUNT} Liches will feast on your essence!\",\"en\"],[\"stringlist.Ent_Ancient.everySoOften.0\",\"How dare you disturb our grove!\",\"en\"],[\"stringlist.Ent_Ancient.everySoOften.1\",\"The forest shall crush you, {PLAYER}!\",\"en\"],[\"stringlist.Ent_Ancient.everySoOften.2\",\"In this place, the trees fight back!\",\"en\"],[\"stringlist.Ent_Ancient.everySoOften.3\",\"You chop and you burn... you deserve no mercy!\",\"en\"],[\"stringlist.Ent_Ancient.everySoOften.4\",\"The last man-thing I crushed looked just like you, {PLAYER}!\",\"en\"],[\"stringlist.Ent_Ancient.everySoOften.5\",\"You will find no wood for your fires here... only death!\",\"en\"],[\"stringlist.Ent_Ancient.everySoOften.6\",\"You fell ancient trees without remorse; it ends now!\",\"en\"],[\"stringlist.Ent_Ancient.one.0\",\"My final Ent Ancient will destroy you all!\",\"en\"],[\"stringlist.Ent_Ancient.one.1\",\"My final Ent Ancient shall crush you!\",\"en\"],[\"stringlist.Ent_Ancient.many.0\",\"Mortal scum! My {COUNT} Ent Ancients will defend me forever!\",\"en\"],[\"stringlist.Ent_Ancient.many.1\",\"My forest of {COUNT} Ent Ancients is all the protection I need!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.everySoOften.0\",\"How dare you disturb our grove!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.everySoOften.1\",\"The forest shall crush you, {PLAYER}!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.everySoOften.2\",\"In this place, the trees fight back!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.everySoOften.3\",\"You chop and you burn... you deserve no mercy!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.everySoOften.4\",\"The last man-thing I crushed looked just like you, {PLAYER}!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.everySoOften.5\",\"You will find no wood for your fires here... only death!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.everySoOften.6\",\"You fell ancient trees without remorse; it ends now!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.one.0\",\"My final Ent Ancient will destroy you all!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.one.1\",\"My final Ent Ancient shall crush you!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.many.0\",\"Mortal scum! My {COUNT} Ent Ancients will defend me forever!\",\"en\"],[\"stringlist.Ent_Ancient_Challenger.many.1\",\"My forest of {COUNT} Ent Ancients is all the protection I need!\",\"en\"],[\"stringlist.Oasis_Giant.everySoOften.0\",\"I rule this place, {PLAYER}! \",\"en\"],[\"stringlist.Oasis_Giant.everySoOften.1\",\"Minions! We shall have {PLAYER} for dinner!\",\"en\"],[\"stringlist.Oasis_Giant.everySoOften.2\",\"You must be thirsty, {PLAYER}. Enter my waters!\",\"en\"],[\"stringlist.Oasis_Giant.everySoOften.3\",\"Come closer, {PLAYER}! Yes, closer!\",\"en\"],[\"stringlist.Oasis_Giant.everySoOften.4\",\"Surrender to my aquatic army, {PLAYER}!\",\"en\"],[\"stringlist.Oasis_Giant.one.0\",\"A powerful Oasis Giant still fights for me!\",\"en\"],[\"stringlist.Oasis_Giant.one.1\",\"You will never defeat me while an Oasis Giant remains!\",\"en\"],[\"stringlist.Oasis_Giant.many.0\",\"My {COUNT} Oasis Giants will feast on your flesh!\",\"en\"],[\"stringlist.Oasis_Giant.many.1\",\"You have no hope against my {COUNT} Oasis Giants!\",\"en\"],[\"stringlist.Phoenix_Lord.everySoOften.0\",\"Purge yourself, {PLAYER}, in the heat of my flames!\",\"en\"],[\"stringlist.Phoenix_Lord.everySoOften.1\",\"Alas, {PLAYER}, you will taste death but once!\",\"en\"],[\"stringlist.Phoenix_Lord.everySoOften.2\",\"I have met many like you, {PLAYER}, in my thrice thousand years.\",\"en\"],[\"stringlist.Phoenix_Lord.everySoOften.3\",\"Some die and are ashes, but I am ever reborn!\",\"en\"],[\"stringlist.Phoenix_Lord.everySoOften.4\",\"The ashes of past heroes cover my plains!\",\"en\"],[\"stringlist.Phoenix_Lord.everySoOften.5\",\"This place is not for mortals, {PLAYER}. Begone whence you came!\",\"en\"],[\"stringlist.Phoenix_Lord.one.0\",\"My last Phoenix Lord will blacken your bones!\",\"en\"],[\"stringlist.Phoenix_Lord.one.1\",\"My final Phoenix Lord will never fall!\",\"en\"],[\"stringlist.Phoenix_Lord.many.0\",\"Maggots! My {COUNT} Phoenix Lords will burn you to ash!\",\"en\"],[\"stringlist.Phoenix_Lord.many.1\",\"My {COUNT} Phoenix Lords will serve me forever!\",\"en\"],[\"stringlist.Ghost_King.everySoOften.0\",\"I do not fear the corporeal\",\"en\"],[\"stringlist.Ghost_King.everySoOften.1\",\"Do you think your weapons can hurt me, {PLAYER}?\",\"en\"],[\"stringlist.Ghost_King.everySoOften.2\",\"My kingdom is long dead, but our spirits drag on.\",\"en\"],[\"stringlist.Ghost_King.everySoOften.3\",\"Do not defile our memory of this place!\",\"en\"],[\"stringlist.Ghost_King.everySoOften.4\",\"My kingdom was burned to ashes... you can do no worse.\",\"en\"],[\"stringlist.Ghost_King.everySoOften.5\",\"There was joy here, once.\",\"en\"],[\"stringlist.Ghost_King.everySoOften.6\",\"We have grown lonely over the millenia. Join us, {PLAYER}.\",\"en\"],[\"stringlist.Ghost_King.one.0\",\"A mighty Ghost King remains to guard me!\",\"en\"],[\"stringlist.Ghost_King.one.1\",\"My final Ghost King is untouchable!\",\"en\"],[\"stringlist.Ghost_King.many.0\",\"My {COUNT} Ghost Kings give me more than enough protection!\",\"en\"],[\"stringlist.Ghost_King.many.1\",\"Pathetic humans! My {COUNT} Ghost Kings shall destroy you utterly!\",\"en\"],[\"stringlist.Cyclops_God.everySoOften.0\",\"Leave my castle!\",\"en\"],[\"stringlist.Cyclops_God.everySoOften.1\",\"You will be my food, {PLAYER}!\",\"en\"],[\"stringlist.Cyclops_God.everySoOften.2\",\"I will suck the marrow from your bones!\",\"en\"],[\"stringlist.Cyclops_God.everySoOften.3\",\"More wine!\",\"en\"],[\"stringlist.Cyclops_God.everySoOften.4\",\"Blargh!!\",\"en\"],[\"stringlist.Cyclops_God.everySoOften.5\",\"I will floss with your tendons!\",\"en\"],[\"stringlist.Cyclops_God.everySoOften.6\",\"Die, puny human!\",\"en\"],[\"stringlist.Cyclops_God.everySoOften.7\",\"I smell the blood of an Englishman!\",\"en\"],[\"stringlist.Cyclops_God.one.0\",\"My last Cyclops God will smash you to pieces!\",\"en\"],[\"stringlist.Cyclops_God.one.1\",\"My final Cyclops God shall crush your puny skulls!\",\"en\"],[\"stringlist.Cyclops_God.many.0\",\"My {COUNT} powerful Cyclops Gods will smash you!\",\"en\"],[\"stringlist.Cyclops_God.many.1\",\"Cretins! I have {COUNT} Cyclops Gods to guard me!\",\"en\"],[\"stringlist.Red_Demon.everySoOften.0\",\"Would you attempt to destroy us? I know your name, {PLAYER}!\",\"en\"],[\"stringlist.Red_Demon.everySoOften.1\",\"Our anguish is endless, unlike your lives!\",\"en\"],[\"stringlist.Red_Demon.everySoOften.2\",\"What do you know of suffering? I can teach you much, {PLAYER}\",\"en\"],[\"stringlist.Red_Demon.everySoOften.3\",\"I will deliver your soul to Oryx, {PLAYER}!\",\"en\"],[\"stringlist.Red_Demon.everySoOften.4\",\"There can be no forgiveness!\",\"en\"],[\"stringlist.Red_Demon.everySoOften.5\",\"You cannot hurt us. You cannot help us. You will feed us.\",\"en\"],[\"stringlist.Red_Demon.everySoOften.6\",\"Oryx will not end our pain. We can only share it... with you!\",\"en\"],[\"stringlist.Red_Demon.everySoOften.7\",\"Your life is an affront to Oryx. You will die.\",\"en\"],[\"stringlist.Red_Demon.one.0\",\"My final Red Demon is unassailable!\",\"en\"],[\"stringlist.Red_Demon.one.1\",\"A Red Demon still guards me!\",\"en\"],[\"stringlist.Red_Demon.many.0\",\"Fools! There is no escape from my {COUNT} Red Demons!\",\"en\"],[\"stringlist.Red_Demon.many.1\",\"My legion of {COUNT} Red Demons live only to serve me!\",\"en\"],[\"stringlist.Dreadstump_the_Pirate_King.everySoOften.0\",\"It is a glorious thing to be a Pirate King!\",\"en\"],[\"stringlist.Dreadstump_the_Pirate_King.everySoOften.1\",\"Arrrrrrr!!!\",\"en\"],[\"stringlist.Dreadstump_the_Pirate_King.everySoOften.2\",\"More rum!\",\"en\"],[\"stringlist.Bonegrind_the_Butcher.everySoOften.0\",\"Oryx\'s minions will eat well tonight!\",\"en\"],[\"stringlist.Bonegrind_the_Butcher.everySoOften.1\",\"Ahhhh!! Fresh meat for the minions!\",\"en\"],[\"stringlist.Bonegrind_the_Butcher.everySoOften.2\",\"More mortals for the minions to feast on!\",\"en\"],[\"stringlist.Bonegrind_the_Butcher.everySoOften.3\",\"Plump and fleshy! Just like I like them!\",\"en\"],[\"stringlist.Bonegrind_the_Butcher.everySoOften.4\",\"Guards! Bring in another prisoner!\",\"en\"],[\"stringlist.Bonegrind_the_Butcher.everySoOften.5\",\"Oryx always feeds his minions well!\",\"en\"],[\"stringlist.Bonegrind_the_Butcher.everySoOften.6\",\"Another glorious day in Oryx\'s kitchens!\",\"en\"],[\"stringlist.Bonegrind_the_Butcher.everySoOften.7\",\"This one can go in the soup!\",\"en\"],[\"stringlist.Inactive_Sarcophagus.everySoOften.0\",\"Those who damage me may find great treasure, {PLAYER}, but the gods will not forget this insult!\",\"en\"],[\"stringlist.Zombie_Horde.new.0\",\"At last, my Zombie Horde will eradicate you like the vermin that you are!\",\"en\"],[\"stringlist.Zombie_Horde.one.0\",\"A small taste of my Zombie Horde should be enough to eliminate you!\",\"en\"],[\"stringlist.Zombie_Horde.one.1\",\"My Zombie Horde will teach you the meaning of fear!\",\"en\"],[\"stringlist.Zombie_Horde.many.0\",\"The full strength of my Zombie Horde has been unleashed!\",\"en\"],[\"stringlist.Zombie_Horde.many.1\",\"Let the apocalypse begin!\",\"en\"],[\"stringlist.Zombie_Horde.many.2\",\"Quiver with fear, peasants, my Zombie Horde has arrived!\",\"en\"],[\"stringlist.Zombie_Horde.killed.0\",\"{KILLER}, I will kill you myself and turn you into the newest member of my Zombie Horde!\",\"en\"],[\"stringlist.Zombie_Horde.death.0\",\"The death of my Zombie Horde is unacceptable! You will pay for your insolence!\",\"en\"],[\"stringlist.Turkey_God.new.0\",\"Your meager abilities cannot possibly challenge a Gobble God!\",\"en\"],[\"stringlist.Turkey_God.new.1\",\"My faithful Gobble God and I will celebrate the harvest of YOU!!\",\"en\"],[\"stringlist.Turkey_God.one.0\",\"Worthless mortals! A mighty Gobble God defends me!\",\"en\"],[\"stringlist.Turkey_God.one.1\",\"Wretched mongrels! An unconquerable Gobble God is my bulwark!\",\"en\"],[\"stringlist.Turkey_God.many.0\",\"You piteous cretins! {COUNT} Gobble Gods still guard me!\",\"en\"],[\"stringlist.Turkey_God.many.1\",\"Your pathetic rabble will never survive against my {COUNT} Gobble Gods!\",\"en\"],[\"stringlist.Turkey_God.many.2\",\"Filthy vermin! My {COUNT} Gobble Gods will exterminate you!\",\"en\"],[\"stringlist.Turkey_God.many.3\",\"You feeble creatures have no hope against my {COUNT} Gobble Gods!\",\"en\"],[\"stringlist.Turkey_God.killed.0\",\"{KILLER}, you wretched dog! You killed my Gobble God!\",\"en\"],[\"stringlist.Turkey_God.killed.1\",\"{KILLER}, you may have slain my Gobble God but you will never escape the day of giving!\",\"en\"],[\"stringlist.Turkey_God.killed.2\",\"I have many more Gobble Gods, {KILLER}!\",\"en\"],[\"stringlist.Turkey_God.death.0\",\"You have slain my Gobble God, but you will never escape my Realm!\",\"en\"],[\"stringlist.St._Patricks_Event.new.0\",\"Which one of you disgusting knaves has stolen a bag of gold from my stronghold?!\",\"en\"],[\"stringlist.St._Patricks_Event.killed.0\",\"Low-born scum! Is this your so-called heroism?! Killing a leprechaun for gold?!\",\"en\"],[\"stringlist.St._Patricks_Event.death.0\",\"Low-born scum! Is this your so-called heroism?! Killing a leprechaun for gold?!\",\"en\"],[\"stringlist.Alien_Realm_Leprechaun.new.0\",\"What is this frustrating creature running amok in my realm?!\",\"en\"],[\"stringlist.Alien_Realm_Leprechaun.killed.0\",\"Pah! Falling for that piteous distraction has only allowed me more time to gather my forces!\",\"en\"],[\"stringlist.Alien_Realm_Leprechaun.death.0\",\"Pah! Falling for that piteous distraction has only allowed me more time to gather my forces!\",\"en\"],[\"stringlist.Temple_Encounter.new.0\",\"Awake Guardians! You must protect the Mountain Temple!\",\"en\"],[\"stringlist.Temple_Encounter.new.1\",\"None may enter the Temple and disrupt the Summoning.\",\"en\"],[\"stringlist.Temple_Encounter.new.2\",\"The entrance to the Mountain Temple will forever be guarded.\",\"en\"],[\"stringlist.Temple_Encounter.everySoOften.0\",\"The Summoning of Xil is almost done!\",\"en\"],[\"stringlist.Temple_Encounter.everySoOften.1\",\"You will not dare interrupt the summoning of Xil.\",\"en\"],[\"stringlist.Temple_Encounter.one.0\",\"Fools! The Mountain Temple is protected by the mighty Jade and Garnet statues!\",\"en\"],[\"stringlist.Temple_Encounter.one.1\",\"The Garnet and Jade statues will never grant you access to the Mountain Temple!\",\"en\"],[\"stringlist.Temple_Encounter.killed.0\",\"You destroyed the statues, but will you vanquish Xil?\",\"en\"],[\"stringlist.Temple_Encounter.killed.1\",\"You fools, Xil will have your head for this!\",\"en\"],[\"stringlist.Temple_Encounter.killed.2\",\"You have been warned, Xil will not stand for this.\",\"en\"],[\"stringlist.Temple_Encounter.death.0\",\"You destroyed the statues, but will you vanquish Xil?\",\"en\"],[\"stringlist.Temple_Encounter.death.1\",\"You fools, Xil will have your head for this!\",\"en\"],[\"stringlist.Temple_Encounter.death.2\",\"You have been warned, Xil will not stand for this.\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.0\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.1\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.2\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.3\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.4\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.5\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.6\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.7\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.8\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.9\",\"The Killer Queen Bee has made her nest in the realm!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.10\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.11\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.12\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.13\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.14\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.15\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.16\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.17\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.18\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.19\",\"My horde of insects will easily obliterate you lowbrow pests!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.20\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.21\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.22\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.23\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.24\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.25\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.26\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.27\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.28\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.29\",\"You obtuse half-wits stand no chance against the Killer Bee Queen and her children!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.new.30\",\"Beehold the Killer Bee Nest! Not even the sturdiest armor or most powerful healing spell will save you now!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.0\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.1\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.2\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.3\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.4\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.5\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.6\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.7\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.8\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.9\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.10\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.11\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.12\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.13\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.14\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.15\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.16\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.17\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.18\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.19\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.20\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.21\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.22\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.23\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.24\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.25\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.26\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.27\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.28\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.29\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.30\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.31\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.32\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.33\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.34\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.35\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.36\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.37\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.38\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.39\",\"Feel the fury of a thousand piercing stingers from the hive of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.40\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.41\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.42\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.43\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.44\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.45\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.46\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.47\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.48\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.49\",\"You disgusting peasants will experience searing pain from the wrath of the Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.50\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.51\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.52\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.53\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.54\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.55\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.56\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.57\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.58\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.59\",\"Excruciating agony awaits you at the writhing depths of my insect legion!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.one.60\",\"Beeware the might of my impenetrable Nest!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.0\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.1\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.2\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.3\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.4\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.5\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.6\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.7\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.8\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.9\",\"{KILLER} has unleashed a far greater threat than they can handle!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.10\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.11\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.12\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.13\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.14\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.15\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.16\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.17\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.18\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.19\",\"The Killer Bee Queen will surely handle you personally, {KILLER}!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.20\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.21\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.22\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.23\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.24\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.25\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.26\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.27\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.28\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.29\",\"{KILLER}, the residents of the Nest will avenge their brethren that you so foolishly squashed!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.killed.30\",\"{KILLER} will bee annihilated by the all-engulfing destructive power of the Killer Bee Queen!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.0\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.1\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.2\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.3\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.4\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.5\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.6\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.7\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.8\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.9\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.10\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.11\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.12\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.13\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.14\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.15\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.16\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.17\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.18\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.19\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.20\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.21\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.22\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.23\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.24\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.25\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.26\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.27\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.28\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.29\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.30\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.31\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.32\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.33\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.34\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.35\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.36\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.37\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.38\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.39\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.40\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.41\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.42\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.43\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.44\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.45\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.46\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.47\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.48\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.49\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.50\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.51\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.52\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.53\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.54\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.55\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.56\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.57\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.58\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.59\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.60\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.61\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.62\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.63\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.64\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.65\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.66\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.67\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.68\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.69\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.70\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.71\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.72\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.73\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.74\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.75\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.76\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.77\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.78\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.79\",\"Accursed fleas! The Nest houses an overwhelming army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.80\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.81\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.82\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.83\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.84\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.85\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.86\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.87\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.88\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.89\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.90\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.91\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.92\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.93\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.94\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.95\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.96\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.97\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.98\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.99\",\"The Nest was but a fraction of the Killer Bee Queen\'s army!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.100\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.101\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.102\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.103\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.104\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.105\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.106\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.107\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.108\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.109\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.110\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.111\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.112\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.113\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.114\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.115\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.116\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.117\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.118\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.119\",\"Preposterous! The other insect army was superior in every way!\",\"en\"],[\"stringlist.EH_Event_Taunt_Controller.death.120\",\"You piteous cretins! The bees will sue humanity over this!\",\"en\"],[\"stringlist.LH_Lost_Sentry.new.0\",\"What is this? A subject has broken free from those wretched halls!\",\"en\"],[\"stringlist.LH_Lost_Sentry.new.1\",\"That lowly Paladin has escaped the Lost Halls with a vessel!\",\"en\"],[\"stringlist.LH_Lost_Sentry.new.2\",\"The catacombs have been unearthed?! What depraved souls have survived so long?\",\"en\"],[\"stringlist.LH_Lost_Sentry.one.0\",\"The Spectral Sentry must be subdued!\",\"en\"],[\"stringlist.LH_Lost_Sentry.one.1\",\"The Lost Sentry cannot be allowed off those unholy grounds!\",\"en\"],[\"stringlist.LH_Lost_Sentry.one.2\",\"Hundreds of corrupted souls will be unleashed if that golem is not inhibited!\",\"en\"],[\"stringlist.LH_Lost_Sentry.killed.0\",\"{KILLER} has reduced the Lost Sentry to rubble!\",\"en\"],[\"stringlist.LH_Lost_Sentry.killed.1\",\"You fool, {KILLER}! Even my top infantry could not withstand the evils of the Lost Halls!\",\"en\"],[\"stringlist.LH_Lost_Sentry.killed.2\",\"{KILLER}, your fate was sealed the moment you laid hands on the Lost Sentry!\",\"en\"],[\"stringlist.LH_Lost_Sentry.death.0\",\"The Spectral Sentry has been repressed... for now.\",\"en\"],[\"stringlist.LH_Lost_Sentry.death.1\",\"The Lost Sentry has crumbled!\",\"en\"],[\"stringlist.LH_Lost_Sentry.death.2\",\"Do not enter those vile halls! You cannot possibly comprehend the wicked acts that once took place within them!\",\"en\"],[\"stringlist.AI_Alien_Taunt.new.0\",\"Invaders in my realm?! Perhaps these could serve as fresh minions!\",\"en\"],[\"stringlist.AI_Alien_Taunt.new.1\",\"A possible ally from far away has arrived to eradicate you vexatious brutes!\",\"en\"],[\"stringlist.AI_Alien_Taunt.one.0\",\"Your pathetic surrender is inevitable with these aliens on my side!\",\"en\"],[\"stringlist.AI_Alien_Taunt.one.1\",\"Retreat back to your deplorable home, peasants! You cannot hope to overcome such otherworldly technology!\",\"en\"],[\"stringlist.AI_Alien_Taunt.death.0\",\"Only a coward like Commander Calbrik would flee from such trivial pests!\",\"en\"],[\"stringlist.AI_Alien_Taunt.death.1\",\"Those extraterrestrial pushovers were a disappointment anyway. You have only aided me by disposing of them!\",\"en\"],[\"stringlist.AI_Alien_Taunt.death.2\",\"Run away, you sorry swines! Only my own might is fit to crush these insects!\",\"en\"],[\"stringlist.GC_Encounter_Gauntlet_Controller.new.0\",\"That pathetic dwarf dares intrude in my realm once again?!\",\"en\"],[\"stringlist.GC_Encounter_Gauntlet_Controller.new.1\",\"The Steamhammer’s Mining Co. has no right to be in my realm!\",\"en\"],[\"stringlist.GC_Encounter_Gauntlet_Controller.one.0\",\"Try digging through my realm, the only thing you will find is my wrath!\",\"en\"],[\"stringlist.GC_Encounter_Gauntlet_Controller.one.1\",\"I will crush Steamhammer’s motley crew of cowards into rubble!\",\"en\"],[\"stringlist.GC_Encounter_Gauntlet_Controller.death.0\",\"That cavern holds nothing but certain death, you barbaric fools!\",\"en\"],[\"stringlist.GC_Encounter_Gauntlet_Controller.death.1\",\"Worthless reprobates! Your greed will be your undoing at the hands of the natives beneath!\",\"en\"],[\"tutorial_old.Enter_the_portal\",\"Enter the portal\",\"en\"],[\"tutorial_old.Stand_on|the_portalBANG\",\"Stand on|the portal!\",\"en\"],[\"tutorial_old.Space_bar|activates_your|special_power\",\"Space bar|activates your|special power\",\"en\"],[\"tutorial_old.Drag_the_ring|to_your_ring_slotBANG\",\"Drag the ring|to your ring slot!\",\"en\"],[\"tutorial_old.Stand_on_the|loot_bagBANG\",\"Stand on the|loot bag!\",\"en\"],[\"tutorial_old.This_is_your|equipment\",\"This is your|equipment\",\"en\"],[\"tutorial_old.AwesomeBANG\",\"Awesome!\",\"en\"],[\"tutorial_old.Slay_the|Evil_Chicken_GodBANG\",\"Slay the|Evil Chicken God!\",\"en\"],[\"tutorial_old.The_red_arrow|is_a_questBANG\",\"The red arrow|is a quest!\",\"en\"],[\"tutorial_old.Shoot_the|evil_chickensBANG\",\"Shoot the|evil chickens!\",\"en\"],[\"tutorial_old.Shoot_the|weak_blocks\",\"Shoot the|weak blocks\",\"en\"],[\"tutorial_old.Aim_with_mouse\",\"Aim with mouse\",\"en\"],[\"tutorial_old.Click_to|shootBANG\",\"Click to|shoot!\",\"en\"],[\"tutorial_old.Made_itBANG\",\"Made it!\",\"en\"],[\"tutorial_old.Dodge|the_ballsBANG\",\"Dodge|the balls!\",\"en\"],[\"tutorial_old.The_red_bar|shows_your|health.\",\"The red bar|shows your|health.\",\"en\"],[\"tutorial_old.Check_out_the|minimap.\",\"Check out the|minimap.\",\"en\"],[\"tutorial_old.This_wayBANG\",\"This way!\",\"en\"],[\"tutorial_old.Doing_greatBANG\",\"Doing great!\",\"en\"],[\"tutorial_old.Use_W-A-S-D|to_move.\",\"Use W-A-S-D|to move.\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_JournalAccess\",\"Kitchen_JournalAccess\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_Journal\",\"Kitchen_Journal\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_NexusFeatures\",\"Kitchen_NexusFeatures\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_NexusPortal\",\"Kitchen_NexusPortal\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_Success\",\"Kitchen_Success\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_Potions\",\"Kitchen_Potions\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_Minimap\",\"Kitchen_Minimap\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_Scroll\",\"Kitchen_Scroll\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_Encouragement\",\"Kitchen_Encouragement\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_QuestPortrait\",\"Kitchen_QuestPortrait\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_Quest\",\"Kitchen_Quest\",\"en\"],[\"exaltedKitchenTutorial.Kitchen_Intro\",\"Kitchen_Intro\",\"en\"],[\"exaltedTutorial2.Enter_the_portalBANG\",\"Enter the portal!\",\"en\"],[\"exaltedTutorial2.Stand_on|the_portal.\",\"Stand on|the portal.\",\"en\"],[\"exaltedTutorial2.Drag_the_ring|to_your_ring_slotBANG\",\"Drag the ring|to your ring slot!\",\"en\"],[\"exaltedTutorial2.Stand_on_the|loot_bagBANG\",\"Stand on the|loot bag!\",\"en\"],[\"exaltedTutorial2.This_is_your|equipment.\",\"This is your|equipment.\",\"en\"],[\"exaltedTutorial2.RighteousBANG\",\"Righteous!\",\"en\"],[\"exaltedTutorial2.Space_bar|activates_your|special_power.\",\"Space bar|activates your|special power.\",\"en\"],[\"exaltedTutorial2.Slay_the|Evil_Chicken_GodBANG\",\"Slay the|Evil Chicken God!\",\"en\"],[\"exaltedTutorial2.AwesomeBANG\",\"Awesome!\",\"en\"],[\"exaltedTutorial2.Shoot_the|evil_chickensBANG\",\"Shoot the|evil chickens!\",\"en\"],[\"exaltedTutorial2.Shoot_the|weak_blocks.\",\"Shoot the|weak blocks.\",\"en\"],[\"exaltedTutorial2.Aim_with|your_mouse.\",\"Aim with|your mouse.\",\"en\"],[\"exaltedTutorial2.Click_to|shootBANG\",\"Click to|shoot!\",\"en\"],[\"exaltedTutorial2.Made_itBANG\",\"Made it!\",\"en\"],[\"exaltedTutorial2.Time_to_test|your_movement...||Dodge|the_ballsBA\",\"Time to test|your movement...||Dodge|the balls!\",\"en\"],[\"exaltedTutorial2.By_pressing_R|or_the_Nexus_icon.\",\"By pressing R|or the Nexus icon.\",\"en\"],[\"exaltedTutorial2.You_can_instantly|escape_to_the|Nexus_at_any_tim\",\"You can instantly|escape to the|Nexus at any time!\",\"en\"],[\"exaltedTutorial2.But_not_to_worryBANG\",\"But not to worry!\",\"en\"],[\"exaltedTutorial2.When_you_die,_you_lose|your_character_and|everyt\",\"When you die, you lose|your character and|everything on it forever.\",\"en\"],[\"exaltedTutorial2.Death_in_this_game|is_permanentBANG\",\"Death in this game|is permanent!\",\"en\"],[\"exaltedTutorial2.If_your_health_hits_0,|you_die.\",\"If your health hits 0,|you die.\",\"en\"],[\"exaltedTutorial2.The_green_bar|shows_your|health.\",\"The green bar|shows your|health.\",\"en\"],[\"exaltedTutorial2.Press_O_for_options.|You_can_set_your|own_hotkey\",\"Press O for options.|You can set your|own hotkeys!\",\"en\"],[\"exaltedTutorial2.Now_you_can_seeBANG\",\"Now you can see!\",\"en\"],[\"exaltedTutorial2.Rotate_to_see_the|text_to_the_east|across_the_wa\",\"Rotate to see the|text to the east|across the water.\",\"en\"],[\"exaltedTutorial2.Good_jobBANG\",\"Good job!\",\"en\"],[\"exaltedTutorial2.Rotate_the_camera|with_Q_and_E.\",\"Rotate the camera|with Q and E.\",\"en\"],[\"exaltedTutorial2.Off-center_your|character_with_X_to|see_further_\",\"Off-center your|character with X to|see further ahead.\",\"en\"],[\"exaltedTutorial2.Doing_greatBANG\",\"Doing great!\",\"en\"],[\"exaltedTutorial2.This_wayBANG\",\"This way!\",\"en\"],[\"exaltedTutorial2.Use_W-A-S-D|to_move.\",\"Use W-A-S-D|to move.\",\"en\"],[\"exaltedKitchenTutorial2.You_can_find_the_journal|in_the_options_m\",\"You can find the journal|in the options menu.||Good luck!\",\"en\"],[\"exaltedKitchenTutorial2.These_features|and_many_more_are_explaine\",\"These features|and many more are explained|in the journal.\",\"en\"],[\"exaltedKitchenTutorial2.The_Nexus_hub|contains_many_features|that\",\"The Nexus hub|contains many features|that help you on your quests.\",\"en\"],[\"exaltedKitchenTutorial2.This_portal_leads|to_the_Nexus,|you_are_s\",\"This portal leads|to the Nexus,|you are safe there!\",\"en\"],[\"exaltedKitchenTutorial2.You_have_defeated|your_first_minion_of_Or\",\"You have defeated|your first minion of Oryx!\",\"en\"],[\"exaltedKitchenTutorial2.Never_hesitate_to|use_health_and_magic_po\",\"Never hesitate to|use health and magic potions|when you\'re in danger!\",\"en\"],[\"exaltedKitchenTutorial2.Use_the_minimap|to_navigate.\",\"Use the minimap|to navigate.\",\"en\"],[\"exaltedKitchenTutorial2.You_can_scroll|to_zoom_the_map.\",\"You can scroll|to zoom the map.\",\"en\"],[\"exaltedKitchenTutorial2.Break_through_the_wall|and_show_them_what\",\"Break through the wall|and show them what|you\'re made of!\",\"en\"],[\"exaltedKitchenTutorial2.You_can_identify|your_current_Quest_by|th\",\"You can identify|your current Quest by|the red portrait.\",\"en\"],[\"exaltedKitchenTutorial2.This_minion_has_been_|marked_as_your_curr\",\"This minion has been |marked as your current Quest.\",\"en\"],[\"exaltedKitchenTutorial2.It_is_time_to_take_on|your_first_true_min\",\"It is time to take on|your first true minion of Oryx.\",\"en\"],[\"exaltedTutorial.Main_PortalEnter\",\"Main_PortalEnter\",\"en\"],[\"exaltedTutorial.Main_Portal\",\"Main_Portal\",\"en\"],[\"exaltedTutorial.Main_Ring\",\"Main_Ring\",\"en\"],[\"exaltedTutorial.Main_Lootbag\",\"Main_Lootbag\",\"en\"],[\"exaltedTutorial.Main_Equipment\",\"Main_Equipment\",\"en\"],[\"exaltedTutorial.Main_Righteous\",\"Main_Righteous\",\"en\"],[\"exaltedTutorial.Main_Ability\",\"Main_Ability\",\"en\"],[\"exaltedTutorial.Main_ChickenGod\",\"Main_ChickenGod\",\"en\"],[\"exaltedTutorial.Main_Awesome\",\"Main_Awesome\",\"en\"],[\"exaltedTutorial.Main_KillChickens\",\"Main_KillChickens\",\"en\"],[\"exaltedTutorial.Main_Blocks\",\"Main_Blocks\",\"en\"],[\"exaltedTutorial.Main_Aim\",\"Main_Aim\",\"en\"],[\"exaltedTutorial.Main_Shooting\",\"Main_Shooting\",\"en\"],[\"exaltedTutorial.Main_BallsComplete\",\"Main_BallsComplete\",\"en\"],[\"exaltedTutorial.Main_DodgeBalls\",\"Main_DodgeBalls\",\"en\"],[\"exaltedTutorial.Main_NexusButton\",\"Main_NexusButton\",\"en\"],[\"exaltedTutorial.Main_NexusEscape\",\"Main_NexusEscape\",\"en\"],[\"exaltedTutorial.Main_PermaRelief\",\"Main_PermaRelief\",\"en\"],[\"exaltedTutorial.Main_PermaLoss\",\"Main_PermaLoss\",\"en\"],[\"exaltedTutorial.Main_Permadeath\",\"Main_Permadeath\",\"en\"],[\"exaltedTutorial.Main_Death\",\"Main_Death\",\"en\"],[\"exaltedTutorial.Main_Health\",\"Main_Health\",\"en\"],[\"exaltedTutorial.Main_Options\",\"Main_Options\",\"en\"],[\"exaltedTutorial.Main_CameraWest\",\"Main_CameraWest\",\"en\"],[\"exaltedTutorial.Main_CameraTest\",\"Main_CameraTest\",\"en\"],[\"exaltedTutorial.Main_CameraEast\",\"Main_CameraEast\",\"en\"],[\"exaltedTutorial.Main_MovementCamera\",\"Main_MovementCamera\",\"en\"],[\"exaltedTutorial.Main_MovementCentering\",\"Main_MovementCentering\",\"en\"],[\"exaltedTutorial.Main_Encouragement\",\"Main_Encouragement\",\"en\"],[\"exaltedTutorial.Main_Direction\",\"Main_Direction\",\"en\"],[\"exaltedTutorial.Main_MovementBasic\",\"Main_MovementBasic\",\"en\"],[\"nexusTutorial.The_Nexus|connects_all_of|OryxAPOSs_realms\",\"The Nexus|connects all of|Oryx\'s realms\",\"en\"],[\"nexusTutorial.ItAPOSs_a_place_to|heal,_equip_and_plan\",\"It\'s a place to|heal, equip and plan\",\"en\"],[\"nexusTutorial.OryxAPOSs_power|cannot_reach_there\",\"Oryx\'s power|cannot reach there\",\"en\"],[\"nexusTutorial.You_are_heading|to_the_Nexus\",\"You are heading|to the Nexus\",\"en\"],[\"hallwayEnd.End\",\"End\",\"en\"],[\"hallwayStart.Start\",\"Start\",\"en\"],[\"hallwayBranchEnd.Branch_End\",\"Branch End\",\"en\"],[\"tutorial_original.Enter_the_portal\",\"Enter the portal\",\"en\"],[\"tutorial_original.Stand_on|the_portalBANG\",\"Stand on|the portal!\",\"en\"],[\"tutorial_original.Give_it_a_try\",\"Give it a try\",\"en\"],[\"tutorial_original.Use_[Enter]|to_chat\",\"Use [Enter]|to chat\",\"en\"],[\"tutorial_original.Space_bar|activates_your|special_power\",\"Space bar|activates your|special power\",\"en\"],[\"tutorial_original.Drag_the_ring|to_your_ring_slotBANG\",\"Drag the ring|to your ring slot!\",\"en\"],[\"tutorial_original.Stand_on_the|loot_bagBANG\",\"Stand on the|loot bag!\",\"en\"],[\"tutorial_original.This_is_your|equipment\",\"This is your|equipment\",\"en\"],[\"tutorial_original.AwesomeBANG\",\"Awesome!\",\"en\"],[\"tutorial_original.Slay_the|Evil_Chicken_GodBANG\",\"Slay the|Evil Chicken God!\",\"en\"],[\"tutorial_original.The_red_arrow|is_a_questBANG\",\"The red arrow|is a quest!\",\"en\"],[\"tutorial_original.Shoot_the|evil_chickensBANG\",\"Shoot the|evil chickens!\",\"en\"],[\"tutorial_original.Shoot_the|weak_blocks\",\"Shoot the|weak blocks\",\"en\"],[\"tutorial_original.Aim_with_mouse\",\"Aim with mouse\",\"en\"],[\"tutorial_original.Click_to|shootBANG\",\"Click to|shoot!\",\"en\"],[\"tutorial_original.Keep|dodgingBANG\",\"Keep|dodging!\",\"en\"],[\"tutorial_original.Made_itBANG\",\"Made it!\",\"en\"],[\"tutorial_original.Dodge|the_ballsBANG\",\"Dodge|the balls!\",\"en\"],[\"tutorial_original.The_red_bar|shows_your|health.\",\"The red bar|shows your|health.\",\"en\"],[\"tutorial_original.Check_out_the|minimap.\",\"Check out the|minimap.\",\"en\"],[\"tutorial_original.This_wayBANG\",\"This way!\",\"en\"],[\"tutorial_original.Doing_greatBANG\",\"Doing great!\",\"en\"],[\"tutorial_original.Use_W-A-S-D|to_move.\",\"Use W-A-S-D|to move.\",\"en\"],[\"kitchen.Start_on_the_beachBANG|Forests_are_dangerous|for_the_inex\",\"Start on the beach!|Forests are dangerous|for the inexperienced!\",\"en\"],[\"kitchen.To_take_on_OryxAPOSs_forces_in_a_Realm,|head_to_the_upper\",\"To take on Oryx\'s forces in a Realm,|head to the upper section|of the Nexus building.\",\"en\"],[\"kitchen.This_portal_leads|to_the_NexusBANG\",\"This portal leads|to the Nexus!\",\"en\"],[\"kitchen.Your_progress_is|saved_automatically\",\"Your progress is|saved automatically\",\"en\"],[\"kitchen.You_have_defeated|your_first_minion_of_OryxBANG\",\"You have defeated|your first minion of Oryx!\",\"en\"],[\"kitchen.Break_through_the_wall|and_show_them_what|youAPOSre_made_\",\"Break through the wall|and show them what|you\'re made of!\",\"en\"],[\"kitchen.It_is_time_to_take_on|your_first_true_minion_of_Oryx\",\"It is time to take on|your first true minion of Oryx\",\"en\"],[\"kitchen_original.Start_on_the_beachBANG|Forests_are_dangerous|for\",\"Start on the beach!|Forests are dangerous|for the inexperienced!\",\"en\"],[\"kitchen_original.This_portal_leads|to_OryxAPOSs_RealmBANG\",\"This portal leads|to Oryx\'s Realm!\",\"en\"],[\"kitchen_original.Your_progress_is|saved_automatically\",\"Your progress is|saved automatically\",\"en\"],[\"kitchen_original.You_have_escaped|OryxAPOSs_kitchensBANG\",\"You have escaped|Oryx\'s kitchens!\",\"en\"],[\"kitchen_original.You_must_find|a_way_to_escapeBANG\",\"You must find|a way to escape!\",\"en\"],[\"kitchen_original.He_wants_to_use|you_as_food_for|his_vile_minions\",\"He wants to use|you as food for|his vile minions!\",\"en\"],[\"kitchen_original.Oh_noBANG_YouAPOSve_been|captured_by_OryxBANG\",\"Oh no! You\'ve been|captured by Oryx!\",\"en\"],[\"nexus_explanation.Choose_a_Name\",\"Choose a Name\",\"en\"],[\"nexus_explanation.Change_Characters\",\"Change Characters\",\"en\"],[\"nexus_explanation.Guild\",\"Guild\",\"en\"],[\"nexus_explanation.Vault\",\"Vault\",\"en\"],[\"nexus_explanation2.Choose_a_Name\",\"Choose a Name\",\"en\"],[\"nexus_explanation2.Change_Characters|(next_time_youAPOSre_here)\",\"Change Characters|(next time you\'re here)\",\"en\"],[\"nexus_explanation2.Guild\",\"Guild\",\"en\"],[\"nexus_explanation2.Vault\",\"Vault\",\"en\"],[\"guild_tutorial.Join_a_Guild_and_go|adventuring_with_friendsBANG|G\",\"Join a Guild and go|adventuring with friends!|Guilds start small, but grow|with the fame you earn.\",\"en\"],[\"vault_tutorial.This_chest_is_where_youAPOSll|find_gifts_that_are_\",\"This chest is where you\'ll|find gifts that are given to you|in-game.\",\"en\"],[\"vault_tutorial.This_is_your_vault.|Standing_on_an_open_chest|allo\",\"This is your vault.|Standing on an open chest|allows you to store items for later.\",\"en\"],[\"nexus_full_tutorial.Enter_here_to_take_on|your_first_real_minion_\",\"Enter here to take on|your first real minion of Oryx!\",\"en\"],[\"nexus_full_tutorial.Next_time_you_come_here|it_will_be_much_more_\",\"Next time you come here|it will be much more crowded\",\"en\"],[\"nexus_full_tutorial.Check_back_soon.|The_items_found_here|change_\",\"Check back soon.|The items found here|change constantly!\",\"en\"],[\"nexus_full_tutorial.This_is_the_Store.|You_can_buy_fun_and|useful\",\"This is the Store.|You can buy fun and|useful items here!\",\"en\"],[\"nexus_how_mixed4.Enter_here_to_take_on|your_first_real_minion_of_\",\"Enter here to take on|your first real minion of Oryx!\",\"en\"],[\"nexus_how_mixed4.Next_time_you_come_here|it_will_be_much_more_cro\",\"Next time you come here|it will be much more crowded\",\"en\"],[\"nexus_how_mixed4.Check_back_soon.|The_items_found_here|change_con\",\"Check back soon.|The items found here|change constatly!\",\"en\"],[\"nexus_how_mixed4.This_is_the_Store.|You_can_buy_fun_and|useful_it\",\"This is the Store.|You can buy fun and|useful items here!\",\"en\"],[\"nexus_how_mixed3.Enter_to_take_on_your_first|real_minion_of_OryxB\",\"Enter to take on your first|real minion of Oryx!\",\"en\"],[\"nexus_how_mixed3.Next_time_you_come_here|it_will_be_much_more_cro\",\"Next time you come here|it will be much more crowded\",\"en\"],[\"nexus_how_mixed3.Check_back_soon.|Availible_items_change_constatl\",\"Check back soon.|Availible items change constatly!\",\"en\"],[\"nexus_how_mixed3.This_is_the_Store|You_can_buy_fun_and|usefull_it\",\"This is the Store|You can buy fun and|usefull items here!\",\"en\"],[\"nexusMarket_fullTutorial.Enter_here_to_take_on|your_first_real_mi\",\"Enter here to take on|your first real minion of Oryx.\",\"en\"],[\"nexusMarket_fullTutorial.Next_time_you_come_here|it_will_be_more_\",\"Next time you come here|it will be more crowded.\",\"en\"],[\"nexusMarket_fullTutorial.Check_the_shops|found_in_this_plaza_for|\",\"Check the shops|found in this plaza for|fun and useful items.\",\"en\"],[\"nexusMarket_fullTutorial.Check_back_soonBANG|The_items_found_here\",\"Check back soon!|The items found here|change constantly.\",\"en\"],[\"nexusMarket_fullTutorial_challenger.Enter_here_to_take_on|your_fi\",\"Enter here to take on|your first real minion of Oryx.\",\"en\"],[\"nexusMarket_fullTutorial_challenger.Next_time_you_come_here|it_wi\",\"Next time you come here|it will be more crowded.\",\"en\"],[\"nexusMarket_fullTutorial_challenger.Check_the_shops|found_in_this\",\"Check the shops|found in this plaza for|fun and useful items.\",\"en\"],[\"nexusMarket_fullTutorial_challenger.Check_back_soonBANG|The_items\",\"Check back soon!|The items found here|change constantly.\",\"en\"],[\"nexus_explanation.Change_Characters|(in_the_real_Nexus_only)\",\"Change Characters|(in the real Nexus only)\",\"en\"],[\"tutorial.Enter_the_portalBANG\",\"Enter the portal!\",\"en\"],[\"tutorial.Stand_on|the_portal.\",\"Stand on|the portal.\",\"en\"],[\"tutorial.Press_O_for_options.|You_can_set_your|own_hotkeysBANG\",\"Press O for options.|You can set your|own hotkeys!\",\"en\"],[\"tutorial.Now_you_can_seeBANG\",\"Now you can see!\",\"en\"],[\"tutorial.Rotate_to_see_the|text_to_the_east|across_the_water.\",\"Rotate to see the|text to the east|across the water.\",\"en\"],[\"tutorial.Good_jobBANG\",\"Good job!\",\"en\"],[\"tutorial.Rotate_the_camera|with_Q_and_E.\",\"Rotate the camera|with Q and E.\",\"en\"],[\"tutorial.Off-center_your|character_with_X_to|see_further_ahead.\",\"Off-center your|character with X to|see further ahead.\",\"en\"],[\"tutorial.The_amount_depends|on_your_characterAPOSs|achievements.\",\"The amount depends|on your character\'s|achievements.\",\"en\"],[\"tutorial.You_earn_fame|by_dyingBANG\",\"You earn fame|by dying!\",\"en\"],[\"tutorial.You_can_spend|fame_and_items|to_level_them.\",\"You can spend|fame and items|to level them.\",\"en\"],[\"tutorial.They_are_helpful|companions_that_canAPOSt|be_hurt_by_ene\",\"They are helpful|companions that can\'t|be hurt by enemies.\",\"en\"],[\"tutorial.PetsBANG|They_stay_forever.\",\"Pets!|They stay forever.\",\"en\"],[\"tutorial.There_is_an|exception_to_the|permadeath_rule.\",\"There is an|exception to the|permadeath rule.\",\"en\"],[\"tutorial.By_pressing_R|or_the_Nexus_icon.\",\"By pressing R|or the Nexus icon.\",\"en\"],[\"tutorial.You_can_quickly|escape_to_the|Nexus_at_any_timeBANG\",\"You can quickly|escape to the|Nexus at any time!\",\"en\"],[\"tutorial.But_not_to_worryBANG\",\"But not to worry!\",\"en\"],[\"tutorial.When_you_die,_you_lose|your_character_and|everything_on_\",\"When you die, you lose|your character and|everything on it forever.\",\"en\"],[\"tutorial.Death_in_this_game|is_permanentBANG\",\"Death in this game|is permanent!\",\"en\"],[\"tutorial.Space_bar|activates_your|special_power.\",\"Space bar|activates your|special power.\",\"en\"],[\"tutorial.Drag_the_ring|to_your_ring_slotBANG\",\"Drag the ring|to your ring slot!\",\"en\"],[\"tutorial.Stand_on_the|loot_bagBANG\",\"Stand on the|loot bag!\",\"en\"],[\"tutorial.This_is_your|equipment.\",\"This is your|equipment.\",\"en\"],[\"tutorial.AwesomeBANG\",\"Awesome!\",\"en\"],[\"tutorial.Slay_the|Evil_Chicken_GodBANG\",\"Slay the|Evil Chicken God!\",\"en\"],[\"tutorial.The_red_arrow|is_a_questBANG\",\"The red arrow|is a quest!\",\"en\"],[\"tutorial.Shoot_the|evil_chickensBANG\",\"Shoot the|evil chickens!\",\"en\"],[\"tutorial.Shoot_the|weak_blocks.\",\"Shoot the|weak blocks.\",\"en\"],[\"tutorial.Aim_with|your_mouse.\",\"Aim with|your mouse.\",\"en\"],[\"tutorial.Click_to|shootBANG\",\"Click to|shoot!\",\"en\"],[\"tutorial.Made_itBANG\",\"Made it!\",\"en\"],[\"tutorial.Dodge|the_ballsBANG\",\"Dodge|the balls!\",\"en\"],[\"tutorial.The_red_bar|shows_your|health.\",\"The red bar|shows your|health.\",\"en\"],[\"tutorial.Check_out_the|minimap.\",\"Check out the|minimap.\",\"en\"],[\"tutorial.This_wayBANG\",\"This way!\",\"en\"],[\"tutorial.Doing_greatBANG\",\"Doing great!\",\"en\"],[\"tutorial.Use_W-A-S-D|to_move.\",\"Use W-A-S-D|to move.\",\"en\"],[\"WebRegister.check_box_text\",\"Sign me up to receive special offers, updates, and important announcements\",\"en\"],[\"WebRegister.tos_text\",\"By clicking \'Register\', you are indicating that you have read and agreed to the {tou}Terms of Use{_tou} and {policy}Privacy Policy{_policy}\",\"en\"],[\"WebRegister.sign_in_text\",\"Already registered? {signIn}here{_signIn} to sign in!\",\"en\"],[\"WebRegister.register_imperative\",\"Register in order to save your progress\",\"en\"],[\"WebRegister.multiple_errors_message\",\"Please fix the errors below\",\"en\"],[\"WebRegister.passwords_dont_match\",\"The password did not match\",\"en\"],[\"WebRegister.password_too_short\",\"The password is too short\",\"en\"],[\"WebRegister.invalid_email_address\",\"Not a valid email address\",\"en\"],[\"WebRegister.ineligible_age\",\"You must be at least 16 years old to create an account.\",\"en\"],[\"WebRegister.invalid_birthdate\",\"Birthdate is not a valid date.\",\"en\"],[\"WebRegister.birthday\",\"Birthday\",\"en\"],[\"Credits.developed\",\"Developed by:\",\"en\"],[\"AccountInfo.register\",\"register\",\"en\"],[\"AccountInfo.loggedIn\",\"logged in as {userName}\",\"en\"],[\"AccountInfo.guest\",\"guest account\",\"en\"],[\"AccountInfo.log_in\",\"log in\",\"en\"],[\"AccountInfo.log_out\",\"log out\",\"en\"],[\"RankToolTip.earned\",\"You have earned {numStars}\",\"en\"],[\"RankToolTip.completing_class_quests\",\"You can earn more by completing Class Quests.\",\"en\"],[\"RankToolTip.completed_all_class_quests\",\"You have completed all Class Quests!\",\"en\"],[\"activeEffect.Armored\",\"Armored\",\"en\"],[\"activeEffect.ArmorBroken\",\"Armor Broken\",\"en\"],[\"activeEffect.Berserk\",\"Berserk\",\"en\"],[\"activeEffect.Damaging\",\"Damaging\",\"en\"],[\"activeEffect.Drunk\",\"Drunk\",\"en\"],[\"activeEffect.Hallucinating\",\"Hallucinating\",\"en\"],[\"activeEffect.Healing\",\"Healing\",\"en\"],[\"activeEffect.Hexed\",\"Hexed\",\"en\"],[\"activeEffect.Invisible\",\"Invisible\",\"en\"],[\"activeEffect.Invulnerable\",\"Invulnerable\",\"en\"],[\"activeEffect.Speedy\",\"Speedy\",\"en\"],[\"behavior.Paralyzed\",\"Paralyzed\",\"en\"],[\"behavior.Slowed\",\"Slowed\",\"en\"],[\"behavior.Stasis\",\"Stasis\",\"en\"],[\"behaviorEffect.Armor\",\"Armor\",\"en\"],[\"behaviorEffect.Armored\",\"Armored\",\"en\"],[\"behaviorEffect.Drunk\",\"Drunk\",\"en\"],[\"behaviorEffect.Invincible\",\"Invincible\",\"en\"],[\"behaviorEffect.Invisible\",\"Invisible\",\"en\"],[\"behaviorEffect.Invulnerable\",\"Invulnerable\",\"en\"],[\"behaviorEffect.Stasis\",\"Stasis\",\"en\"],[\"conditionEffect.ArmorBroken\",\"Armor Broken\",\"en\"],[\"conditionEffect.Bleeding\",\"Bleeding\",\"en\"],[\"conditionEffect.Blind\",\"Blind\",\"en\"],[\"conditionEffect.Confused\",\"Confused\",\"en\"],[\"conditionEffect.Dazed\",\"Dazed\",\"en\"],[\"conditionEffect.Drunk\",\"Drunk\",\"en\"],[\"conditionEffect.Hallucinating\",\"Hallucinating\",\"en\"],[\"conditionEffect.Hexed\",\"Hexed\",\"en\"],[\"conditionEffect.Paralyzed\",\"Paralyzed\",\"en\"],[\"conditionEffect.Quiet\",\"Quiet\",\"en\"],[\"conditionEffect.Sick\",\"Sick\",\"en\"],[\"conditionEffect.Slowed\",\"Slowed\",\"en\"],[\"conditionEffect.Stunned\",\"Stunned\",\"en\"],[\"conditionEffect.Weak\",\"Weak\",\"en\"],[\"conditionEffect.DazedImmune\",\"Dazed Immune\",\"en\"],[\"conditionEffect.ParalyzedImmune\",\"Paralyzed Immune\",\"en\"],[\"conditionEffect.Petrify\",\"Petrify\",\"en\"],[\"conditionEffect.PetrifyImmune\",\"Petrify Immune\",\"en\"],[\"conditionEffect.Curse\",\"Curse\",\"en\"],[\"conditionEffect.CurseImmune\",\"Curse Immune\",\"en\"],[\"MoneyFrame.title\",\"Support the game and buy Realm\",\"en\"],[\"MoneyFrame.rightButton\",\"Cancel\",\"en\"],[\"MoneyFrame.payment\",\"Payment Method\",\"en\"],[\"MoneyFrame.gold\",\"Gold Amount\",\"en\"],[\"MoneyFrame.buy\",\"Buy Now\",\"en\"],[\"KabamAccountDetailDialog.title\",\"Current Account\",\"en\"],[\"KabamAccountDetailDialog.rightButton\",\"Continue\",\"en\"],[\"KongregateAccountDetailDialog.title\",\"Kongregate user:\",\"en\"],[\"KongregateAccountDetailDialog.rightButton\",\"Continue\",\"en\"],[\"KongregateAccountDetailDialog.linkWeb\",\"Linked with the web account:\",\"en\"],[\"KongregateAccountDetailDialog.register\",\"Register this account as a web account\",\"en\"],[\"KongregateAccountDetailDialog.replaceWeb\",\"Replace this account with an existing web account\",\"en\"],[\"SteamAccountDetailDialog.user\",\"Steamworks user:\",\"en\"],[\"SteamAccountDetailDialog.rightButton\",\"Continue\",\"en\"],[\"SteamAccountDetailDialog.linkWeb\",\"Linked with the web account:\",\"en\"],[\"SteamAccountDetailDialog.register\",\"Register this account to play in a web browser\",\"en\"],[\"SteamAccountDetailDialog.replaceWeb\",\"Replace this account with an existing web account\",\"en\"],[\"CreateGuildFrame.title\",\"Create a new Guild\",\"en\"],[\"Frame.cancel\",\"Cancel\",\"en\"],[\"Frame.replace\",\"Replace\",\"en\"],[\"CreateGuildFrame.rightButton\",\"Create\",\"en\"],[\"CreateGuildFrame.name\",\"Guild Name\",\"en\"],[\"Frame.maxChar\",\"Maximum {maxChars} characters\",\"en\"],[\"Frame.restrictChar\",\"No numbers, spaces or punctuation\",\"en\"],[\"CreateGuildFrame.warning\",\"Racism or profanity gets your guild banned\",\"en\"],[\"NewChooseNameFrame.title\",\"Choose a unique account name\",\"en\"],[\"NewChooseNameFrame.rightButton\",\"Choose\",\"en\"],[\"NewChooseNameFrame.name\",\"Name\",\"en\"],[\"NewChooseNameFrame.warning\",\"Racism or profanity gets you banned\",\"en\"],[\"LinkWebAccountDialog.title\",\"Replace with an existing web account\",\"en\"],[\"LinkWebAccountDialog.leftButton\",\"Cancel\",\"en\"],[\"LinkWebAccountDialog.rightButton\",\"Replace\",\"en\"],[\"LinkWebAccountDialog.repeatError\",\"Password must not repeat characters.\",\"en\"],[\"LinkWebAccountDialog.alphaNumError\",\"Password must contain both letters and numbers.\",\"en\"],[\"LinkWebAccountDialog.matchErrorSame\",\"Password must be different than old.\",\"en\"],[\"LinkWebAccountDialog.shortError\",\"Password must be at least 10 characters.\",\"en\"],[\"LinkWebAccountDialog.matchError\",\"New passwords must match\",\"en\"],[\"LinkWebAccountDialog.text\",\"{warn}ALL PROGRESS, GOLD, ETC.{/warn} on this account will be replaced with your realmofthemadgod.com account. This process {warn}CAN NOT BE REVERSED{/warn}. Think carefully before hitting Replace.\",\"en\"],[\"RegisterWebAccountDialog.title\",\"Register a web account in order to play anywhere\",\"en\"],[\"RegisterWebAccountDialog.leftButton\",\"Cancel\",\"en\"],[\"RegisterWebAccountDialog.rightButton\",\"Register\",\"en\"],[\"RegisterWebAccountDialog.email\",\"Email\",\"en\"],[\"RegisterWebAccountDialog.emailError\",\"Not a valid email address\",\"en\"],[\"RegisterWebAccountDialog.password\",\"Password\",\"en\"],[\"RegisterWebAccountDialog.retypePassword\",\"Retype Password\",\"en\"],[\"RegisterWebAccountDialog.checkbox\",\"I agree to the {link}Terms of Use{_link}.\",\"en\"],[\"RegisterWebAccountDialog.shortError\",\"Password must be at least 10 characters\",\"en\"],[\"RegisterWebAccountDialog.matchError\",\"Password does not match\",\"en\"],[\"RegisterWebAccountDialog.checkboxError\",\"Must agree to register\",\"en\"],[\"WebAccountDetailDialog.title\",\"Current account\",\"en\"],[\"WebAccountDetailDialog.rightButton\",\"Continue\",\"en\"],[\"WebAccountDetailDialog.verify\",\"Email not verified. Click here to resend email.\",\"en\"],[\"WebAccountDetailDialog.changePassword\",\"Click here to change password\",\"en\"],[\"WebAccountDetailDialog.logout\",\"Not you? Click here\",\"en\"],[\"WebAccountDetailDialog.sent\",\"Sent...\",\"en\"],[\"WebAccountDetailDialog.loginText\",\"Currently logged in as:\",\"en\"],[\"WebChangePasswordDialog.title\",\"Change your password\",\"en\"],[\"WebChangePasswordDialog.leftButton\",\"Cancel\",\"en\"],[\"WebChangePasswordDialog.rightButton\",\"Submit\",\"en\"],[\"WebChangePasswordDialog.password\",\"Password\",\"en\"],[\"WebChangePasswordDialog.passwordError\",\"Incorrect Password\",\"en\"],[\"WebChangePasswordDialog.newPassword\",\"New Password\",\"en\"],[\"WebChangePasswordDialog.retypePassword\",\"Retype New Password\",\"en\"],[\"WebChangePasswordDialog.shortError\",\"Password too short\",\"en\"],[\"WebChangePasswordDialog.matchError\",\"Password does not match\",\"en\"],[\"WebForgotPasswordDialog.title\",\"Forgot your password? We\'ll email it.\",\"en\"],[\"WebForgotPasswordDialog.leftButton\",\"Cancel\",\"en\"],[\"WebForgotPasswordDialog.rightButton\",\"Submit\",\"en\"],[\"WebForgotPasswordDialog.email\",\"Email\",\"en\"],[\"WebForgotPasswordDialog.emailError\",\"Not a valid email address\",\"en\"],[\"WebForgotPasswordDialog.register\",\"New user? Click here to Register\",\"en\"],[\"WebLoginDialog.title\",\"Sign in\",\"en\"],[\"WebLoginDialog.leftButton\",\"Cancel\",\"en\"],[\"WebLoginDialog.rightButton\",\"Sign in\",\"en\"],[\"WebLoginDialog.email\",\"Email\",\"en\"],[\"WebLoginDialog.emailError\",\"Not a valid email address\",\"en\"],[\"WebLoginDialog.emailMatchError\",\"Email does not match current session\",\"en\"],[\"WebLoginDialog.password\",\"Password\",\"en\"],[\"WebLoginDialog.passwordError\",\"Password too short\",\"en\"],[\"WebLoginDialog.forgot\",\"Forgot your password? Click here\",\"en\"],[\"WebLoginDialog.register\",\"New user? Click here to Register\",\"en\"],[\"WebLoginDialig.passwordResetBlock\",\"Blocked. Play the game for access.\",\"en\"],[\"WebLoginDialig.emailPasswordResetBlock\",\"Please login with your new password (emailed).\",\"en\"],[\"AgeVerificationDialog.tooYoung\",\"You must be at least 16 years of age\",\"en\"],[\"AgeVerificationDialog.invalidBirthDate\",\"Birthdate is not a valid date.\",\"en\"],[\"WebLoginDialog.INVALID_BIRTHDATE\",\"Birthdate is not a valid date.\",\"en\"],[\"TransferAccountView.kabamemail\",\"Your Kabam.com email\",\"en\"],[\"TransferAccountView.kabampwd\",\"Your Kabam.com password\",\"en\"],[\"TransferAccountView.newemail\",\"New Email\",\"en\"],[\"TransferAccountView.newpwd\",\"New Password\",\"en\"],[\"TransferAccountView.rightButton\",\"Migrate Account\",\"en\"],[\"Screens.done\",\"done\",\"en\"],[\"Screens.play\",\"play\",\"en\"],[\"Screens.servers\",\"servers\",\"en\"],[\"Screens.legends\",\"legends\",\"en\"],[\"Screens.credits\",\"credits\",\"en\"],[\"Screens.account\",\"account\",\"en\"],[\"Screens.editor\",\"editor\",\"en\"],[\"Screens.quit\",\"quit\",\"en\"],[\"Screens.classes\",\"classes\",\"en\"],[\"Screens.main\",\"main\",\"en\"],[\"Screens.back\",\"back\",\"en\"],[\"Screens.languages\",\"languages\",\"en\"],[\"Screens.support\",\"support\",\"en\"],[\"Screens.migrate\",\"migrate\",\"en\"],[\"Loading.text\",\"Loading...\",\"en\"],[\"Close.text\",\"close\",\"en\"],[\"Done.text\",\"done\",\"en\"],[\"Servers.select\",\"Select Server\",\"en\"],[\"ServerBox.best\",\"Best Server\",\"en\"],[\"ServerBox.normal\",\"Normal\",\"en\"],[\"ServerBox.crowded\",\"Crowded\",\"en\"],[\"ServerBox.full\",\"Full\",\"en\"],[\"CurrentCharacter.tagline\",\"Class Quest: {fame} of {nextStarFame} Fame\",\"en\"],[\"CurrentCharacter.tagline_noquest\",\"{fame} Fame\",\"en\"],[\"TestingNoServersDialogFactory.tile\",\"No Testing Servers\",\"en\"],[\"TestingNoServersDialogFactory.body\",\"There are currently no testing servers available. Please play on {production_link}.\",\"en\"],[\"ProductionNoServersDialogFactory.tile\",\"Oryx Sleeping\",\"en\"],[\"ProductionNoServersDialogFactory.body\",\"Realm of the Mad God is currently offline.\\\\n\\\\nGo here for more information: {forums_link}.\",\"en\"],[\"TabStripModel.inventory\",\"Main Inventory\",\"en\"],[\"TabStripModel.stats\",\"Stats\",\"en\"],[\"TabStripModel.backpack\",\"Backpack\",\"en\"],[\"PaymentType.paypal\",\"PayPal\",\"en\"],[\"PaymentType.creditCard\",\"Credit Cards, etc.\",\"en\"],[\"PaymentType.google\",\"Google Checkout\",\"en\"],[\"BeginnersPackageOfferDialog.daysLeft\",\"{days} days left!\",\"en\"],[\"BeginnersPackageOfferDialog.dayLeft\",\"{days} day left!\",\"en\"],[\"PackageButton.day\",\"1 day\",\"en\"],[\"PackageButton.days\",\"{number} days\",\"en\"],[\"PackageOfferDialog.buyNow\",\"Buy Now\",\"en\"],[\"BuyBeginnersPackageCommand.registerDialog\",\"In order to buy the Beginners package, you must be a registered user.\",\"en\"],[\"GetAppEngineNewsTask.error\",\"Unable to get news data\",\"en\"],[\"Timespan.week\",\"Week\",\"en\"],[\"Timespan.month\",\"Month\",\"en\"],[\"Timespan.all\",\"All Time\",\"en\"],[\"StatModel.attack.short\",\"ATT\",\"en\"],[\"StatModel.attack.long\",\"Attack\",\"en\"],[\"StatModel.attack.description\",\"This stat increases the amount of damage done.\",\"en\"],[\"StatModel.defense.short\",\"DEF\",\"en\"],[\"StatModel.defense.long\",\"Defense\",\"en\"],[\"StatModel.defense.description\",\"This stat decreases the amount of damage taken.\",\"en\"],[\"StatModel.speed.short\",\"SPD\",\"en\"],[\"StatModel.speed.long\",\"Speed\",\"en\"],[\"StatModel.speed.description\",\"This stat increases the speed at which the character moves.\",\"en\"],[\"StatModel.dexterity.short\",\"DEX\",\"en\"],[\"StatModel.dexterity.long\",\"Dexterity\",\"en\"],[\"StatModel.dexterity.description\",\"This stat increases the speed at which the character attacks.\",\"en\"],[\"StatModel.vitality.short\",\"VIT\",\"en\"],[\"StatModel.vitality.long\",\"Vitality\",\"en\"],[\"StatModel.vitality.description\",\"This stat increases the speed at which hit points are recovered.\",\"en\"],[\"StatModel.wisdom.short\",\"WIS\",\"en\"],[\"StatModel.wisdom.long\",\"Wisdom\",\"en\"],[\"StatModel.wisdom.description\",\"This stat increases the speed at which magic points are recovered.\",\"en\"],[\"SellableObjectPanelMediator.text\",\"In order to use {type} you must be a registered user.\",\"en\"],[\"SellableObjectPanel.text\",\"Thing for Sale\",\"en\"],[\"SellableObjectPanel.buy\",\"Buy for {cost}\",\"en\"],[\"SellableObjectPanel.requireRank\",\"{amount} Rank Required\",\"en\"],[\"SellableObjectPanel.requireRankSprite\",\"Rank Required:\",\"en\"],[\"NameChangerPanelMediator.text\",\"In order to choose an account name, you must be registered\",\"en\"],[\"NameChangerPanel.text\",\"Choose Account Name\",\"en\"],[\"NameChangerPanel.change\",\"Change {cost}\",\"en\"],[\"NameChangerPanel.choose\",\"Choose\",\"en\"],[\"NameChangerPanel.requireRank\",\"Rank Required\",\"en\"],[\"NameChangerPanel.yourName\",\"Your name is:\\\\n{name}\",\"en\"],[\"MoneyChangerPanelMediator.text\",\"In order to buy Gold you must be a registered user.\",\"en\"],[\"MoneyChangerPanel.title\",\"Buy Realm Gold\",\"en\"],[\"MoneyChangerPanel.button\",\"Buy\",\"en\"],[\"GiftStatusDisplay.text\",\"New Gift\",\"en\"],[\"GiftStatusDisplay.vaultText\",\"New Gift in Vault\",\"en\"],[\"RequestCharaterFameTask.dateFormat\",\"MMMM D, YYYY\",\"en\"],[\"ZombifyDialog.title\",\"You have died.\",\"en\"],[\"ZombifyDialog.body\",\"Your cursed amulet has reanimated you into a zombie that will wander the realm attacking other adventurers.\",\"en\"],[\"ZombifyDialog.button\",\"Accept Death\",\"en\"],[\"ResurrectionView.text0\",\"Realm of the Mad God is a perma-death game.\",\"en\"],[\"ResurrectionView.text1\",\"If you die, you\'ll lose your character and any items in your inventory, but you\'ll gain fame based on your deeds.\",\"en\"],[\"ResurrectionView.text2\",\"You\'ve just been saved from death. \",\"en\"],[\"ResurrectionView.text3\",\"This won\'t happen again, so be careful adventurer!\",\"en\"],[\"BadDomainView.text\",\"Play at {link}\",\"en\"],[\"PurchaseCharacterCommand.registerPrompt\",\"In order to unlock a class type you must be a registered user.\",\"en\"],[\"PurchaseCharacterCommand.notEnoughGold\",\"This character class costs {costs}\",\"en\"],[\"ClassDetailView.questCompleted\",\"Class Quests Completed\",\"en\"],[\"ClassDetailView.levelTitle\",\"Highest Level Achieved\",\"en\"],[\"ClassDetailView.fameTitle\",\"Most Fame Achieved\",\"en\"],[\"ClassDetailView.nextGoal\",\"Next Goal:\",\"en\"],[\"ClassDetailView.nextGoalDetail\",\"Earn {goal} Fame with {quest}\",\"en\"],[\"Purchase.buyFor\",\"Buy for {cost}\",\"en\"],[\"CharacterSkinListItem.unlock\",\"Unlock at Level {level}\",\"en\"],[\"CharacterSkinListItem.purchasing\",\"Purchasing...\",\"en\"],[\"CharacterSkinListItem.limited\",\"Limited!\",\"en\"],[\"BuyCharacterSkinCommand.register\",\"In order to use Gold you must be a registered user.\",\"en\"],[\"DeletingCharacterView.text\",\"Deleting Character...\",\"en\"],[\"ConfirmDeleteCharacterDialog\",\"Are you really sure you want to delete {name} the {displayID}?\",\"en\"],[\"DeleteCharacterCommand.text\",\"Unable to delete character\",\"en\"],[\"AppEngineRetryLoader.text\",\"Unable to contact server\",\"en\"],[\"SteamSessionRequestErrorDialog.text\",\"Failed to retrieve valid Steam Credentials! Click to retry.\",\"en\"],[\"SteamAccountInfoView.accountInfo\",\"logged in as {userName}\",\"en\"],[\"KongregateAccountInfoView.register\",\"register\",\"en\"],[\"KongregateAccountInfoView.loggedIn\",\"logged in as {userName}\",\"en\"],[\"KongregateAccountInfoView.guest\",\"guest account -\",\"en\"],[\"KongregateAccountDetailDialog.login\",\"Replace this account with an existing web account\",\"en\"],[\"KongregateAccountDetailDialog.webLogin\",\"Linked with the web account: {account}\",\"en\"],[\"KongregateRelayAPILoginTask.alreadyRegistered\",\"Kongregate account already registered\",\"en\"],[\"KabamAccountInfoView.accountInfo\",\"logged in as {userName} on Kabam.com\",\"en\"],[\"KabamAccountDetailDialog.loginText\",\"Currently logged on Kabam.com as:\",\"en\"],[\"AccountLoadErrorDialog.message\",\"Failed to retrieve valid Kabam request! Click to reload.\",\"en\"],[\"MoneyFrame.buyNow\",\"Buy Now\",\"en\"],[\"ErrorDialog.ok\",\"OK\",\"en\"],[\"BuyingDialog\",\"Buying Character Slot...\",\"en\"],[\"VerifyAgeCommand\",\"Unable to verify age\",\"en\"],[\"TimeWriter.days\",\"{days}d\",\"en\"],[\"TimeWriter.day\",\"{days}d\",\"en\"],[\"TimeWriter.hours\",\"{hours}h\",\"en\"],[\"TimeWriter.hour\",\"{hours}h\",\"en\"],[\"TimeWriter.minutes\",\"{minutes}m\",\"en\"],[\"TimeWriter.minute\",\"{minutes}d\",\"en\"],[\"TimeWriter.seconds\",\"{seconds}s\",\"en\"],[\"TimeWriter.second\",\"{second}s\",\"en\"],[\"Offers.bestDeal\",\"Best Deal\",\"en\"],[\"Offers.mostPopular\",\"Most popular\",\"en\"],[\"Offers.currency\",\"Currency\",\"en\"],[\"GuildUtil.initiate\",\"Initiate\",\"en\"],[\"GuildUtil.member\",\"Member\",\"en\"],[\"GuildUtil.officer\",\"Officer\",\"en\"],[\"GuildUtil.leader\",\"Leader\",\"en\"],[\"GuildUtil.founder\",\"Founder\",\"en\"],[\"GuildUtil.unkown\",\"Unknown\",\"en\"],[\"Currency.gold\",\"Gold\",\"en\"],[\"Currency.fame\",\"Fame\",\"en\"],[\"Currency.guildFame\",\"Guild Fame\",\"en\"],[\"GeneralProjectileComparison.multiHit\",\"Shots hit multiple targets\",\"en\"],[\"GeneralProjectileComparison.passesCover\",\"Shots pass through obstacles\",\"en\"],[\"GeneralProjectileComparison.armorPiercing\",\"Ignores defense of target\",\"en\"],[\"OrbComparison.statisOutput\",\"Stasis on group: {stasis}\",\"en\"],[\"PoisonComparison.data\",\"{damage} HP over {duration} secs within {radius} sqrs\",\"en\"],[\"PoisonComparison.output\",\"Poison Grenade: {data}\",\"en\"],[\"PrismComparison.output\",\"Decoy: {data}\",\"en\"],[\"SpellComparison.range\",\"{range} Range\",\"en\"],[\"TomeComparison.clears\",\"Removes negative conditions\",\"en\"],[\"TrapComparison.output\",\"Trap: {data}\",\"en\"],[\"unlockText_.toUnlock\",\"To Unlock:\",\"en\"],[\"unlockText_.reachLevel\",\"Reach Level {unlockLevel} with {typeToDisplay}\",\"en\"],[\"costText_.text\",\"or buy now for {unlockCost}\",\"en\"],[\"ClientUpdate.title\",\"Client Update Needed\",\"en\"],[\"ClientUpdate.description\",\"Client version: {client}\\\\nServer version: {server}\",\"en\"],[\"ClientUpdate.leftButton\",\"Ok\",\"en\"],[\"AgeVerificationDialog.title\",\"Terms and Privacy Update\",\"en\"],[\"AgeVerificationDialog.text\",\"The {tou}Terms of Use{_tou} and {policy}Privacy Policy{_policy} have been updated. Please provide the information below, and then read and agree to the update.\",\"en\"],[\"AgeVerificationDialog.left\",\"No way\",\"en\"],[\"AgeVerificationDialog.right\",\"I agree\",\"en\"],[\"bestLevel_.stats\",\"{numStars} of 5 Class Quests Completed\\\\nBest Level Achieved: {bestLevel}\\\\nBest Fame Achieved: {fame}\",\"en\"],[\"nextClassQuest_.text\",\"Next Goal: Earn {nextStarFame} Fame with {typeToDisplay}\",\"en\"],[\"CharacterSelection.news\",\"News\",\"en\"],[\"CharacterSelection.characters\",\"Characters\",\"en\"],[\"CharacterSelection.graveyard\",\"Graveyard\",\"en\"],[\"CurrentCharacter.description\",\"{className} {level}\",\"en\"],[\"CreateNewCharacterRect.newCharacter\",\"New Character\",\"en\"],[\"CreateNewCharacterRect.tagline\",\"{remainingStars} Class quests not yet completed\",\"en\"],[\"CharacterBox.locked\",\"Locked\",\"en\"],[\"CharacterBox.percentOff\",\"{percent}% OFF\",\"en\"],[\"CharacterBox.classUnlocked\",\"New class unlocked!\",\"en\"],[\"PlayerToolTip.clickMessage\",\"(Click to open menu)\",\"en\"],[\"PortalPanel.locked\",\"Locked\",\"en\"],[\"PortalPanel.full\",\"Full\",\"en\"],[\"Panel.enter\",\"Enter\",\"en\"],[\"RankText.rank\",\"Rank: \",\"en\"],[\"ExpBar.level\",\"Lvl {level}\",\"en\"],[\"StatusBar.HealthPoints\",\"HP\",\"en\"],[\"StatusBar.ManaPoints\",\"MP\",\"en\"],[\"MyPlayerToolTip.NextClassQuest\",\"Next Goal: Earn {nextStarFame} Fame\\\\n with a {character}\",\"en\"],[\"CharacterSelectionAndNewsScreen.chooseName\",\"choose name\",\"en\"],[\"BuyCharacterRect.classNameText\",\"Buy Character Slot {nth}\",\"en\"],[\"BuyCharacterRect.taglineText\",\"Normally 1000 gold. Save {percentage}%!\",\"en\"],[\"BuyCharSlotDialog.title\",\"Do you wish to purchase a new character slot for {price} Gold?\",\"en\"],[\"BuyCharSlotDialog.text\",\"New Character Slot?\",\"en\"],[\"BuyCharSlotDialog.leftButton\",\"Cancel\",\"en\"],[\"BuyCharSlotDialog.rightButton\",\"Buy Slot\",\"en\"],[\"Options.homeButton\",\"back to home\",\"en\"],[\"Options.resetToDefaultsButton\",\"reset to defaults\",\"en\"],[\"Options.title\",\"Options\",\"en\"],[\"Options.continueButton\",\"continue\",\"en\"],[\"Options.MoveUp\",\"Move Up\",\"en\"],[\"Options.MoveUpDesc\",\"Key to move character up\",\"en\"],[\"Options.MoveLeft\",\"Move Left\",\"en\"],[\"Options.MoveLeftDesc\",\"Key to move character to the left\",\"en\"],[\"Options.MoveDown\",\"Move Down\",\"en\"],[\"Options.MoveDownDesc\",\"Key to move character down\",\"en\"],[\"Options.MoveRight\",\"Move Right\",\"en\"],[\"Options.MoveRightDesc\",\"Key to move character to the right\",\"en\"],[\"Options.AllowRotation\",\"Allow Camera Rotation\",\"en\"],[\"Options.AllowRotationDesc\",\"Toggles whether to allow for camera rotation\",\"en\"],[\"Options.AllowMiniMapRotation\",\"Allow mini map rotation\",\"en\"],[\"Options.AllowMiniMapRotationDesc\",\"Toggles whether to allow for mini map rotation\",\"en\"],[\"Options.RotateLeft\",\"Rotate Left\",\"en\"],[\"Options.RotateLeftDesc\",\"Key to rotate the camera to the left\",\"en\"],[\"Options.RotateRight\",\"Rotate Right\",\"en\"],[\"Options.RotateRightDesc\",\"Key to rotate the camera to the right\",\"en\"],[\"Options.UseSpecialAbility\",\"Use Special Ability\",\"en\"],[\"Options.UseSpecialAbilityDesc\",\"This key will activate your special ability\",\"en\"],[\"Options.ToggleHPBar\",\"Toggle HP Bars\",\"en\"],[\"Options.ToggleHPBarDesc\",\"This key will toggle player and enemy HP bars\",\"en\"],[\"Options.HPBar\",\"HP Bars\",\"en\"],[\"Options.HPBarDesc\",\"Toggle player and enemy HP bars\",\"en\"],[\"Options.AutofireToggle\",\"Autofire Toggle\",\"en\"],[\"Options.AutofireToggleDesc\",\"This key will toggle autofire\",\"en\"],[\"Options.ResetCamera\",\"Reset To Default Camera Angle\",\"en\"],[\"Options.ResetCameraDesc\",\"This key will reset the camera angle to the default angle\",\"en\"],[\"Options.TogglePerformanceStats\",\"Toggle Performance Stats\",\"en\"],[\"Options.TogglePerformanceStatsDesc\",\"This key will toggle a display of fps and memory usage\",\"en\"],[\"Options.ToggleCentering\",\"Toggle Centering of Player\",\"en\"],[\"Options.ToggleCenteringDesc\",\"This key will toggle the position between centered and offset\",\"en\"],[\"Options.InteractOrBuy\",\"Interact/Buy\",\"en\"],[\"Options.InteractOrBuyDesc\",\"This key will allow you to enter a portal or buy an item\",\"en\"],[\"Options.ContextualClick\",\"Contextual Click\",\"en\"],[\"Options.ContextualClickDesc\",\"Toggle the contextual click functionality\",\"en\"],[\"Options.ClickForGold\",\"Double Click for Gold\",\"en\"],[\"Options.ClickForGoldDesc\",\"Double clicking on gold/fame while in a Realm will open the payments screen\",\"en\"],[\"Options.ContextualPotionBuy\",\"Potion Purchases\",\"en\"],[\"Options.ContextualPotionBuyDesc\",\"Toggle the ability to purchase potions with gold\",\"en\"],[\"Options.UseBuyHealth\",\"Use/Buy Health Potion\",\"en\"],[\"Options.UseBuyHealthDesc\",\"This key will use health potions if available, buy if unavailable\",\"en\"],[\"Options.UseBuyMagic\",\"Use/Buy Magic Potion\",\"en\"],[\"Options.UseBuyMagicDesc\",\"This key will use magic potions if available, buy if unavailable\",\"en\"],[\"Options.InventorySlotN\",\"Use Inventory Slot {n}\",\"en\"],[\"Options.InventorySlotNDesc\",\"Use item in inventory slot {n}\",\"en\"],[\"Options.MiniMapZoomIn\",\"Mini-Map Zoom In\",\"en\"],[\"Options.MiniMapZoomInDesc\",\"This key will zoom in the minimap\",\"en\"],[\"Options.MiniMapZoomOut\",\"Mini-Map Zoom Out\",\"en\"],[\"Options.MiniMapZoomOutDesc\",\"This key will zoom out the minimap\",\"en\"],[\"Options.EscapeToNexus\",\"Escape To Nexus\",\"en\"],[\"Options.EscapeToNexusDesc\",\"This key will instantly escape you to the Nexus\",\"en\"],[\"Options.ShowOptions\",\"Show Options\",\"en\"],[\"Options.ShowOptionsDesc\",\"This key will bring up the options screen\",\"en\"],[\"Options.On\",\"On\",\"en\"],[\"Options.Off\",\"Off\",\"en\"],[\"Options.SwitchItemInBackpack\",\"Switch item to/from backpack.\",\"en\"],[\"Options.SwitchItemInBackpackDesc\",\"Hold the {key} key and click on an item to swap it between your inventory and your backpack.\",\"en\"],[\"Options.ToggleFullscreen\",\"Toggle Fullscreen Mode\",\"en\"],[\"Options.ToggleFullscreenDesc\",\"Toggle whether the game is run in a window or fullscreen\",\"en\"],[\"PackageOfferDialog.BuyNow\",\"Buy Now\",\"en\"],[\"Options.Controls\",\"Controls\",\"en\"],[\"Options.HotKeys\",\"Hot Keys\",\"en\"],[\"Options.Chat\",\"Chat\",\"en\"],[\"Options.Graphics\",\"Graphics\",\"en\"],[\"Options.Sound\",\"Sound\",\"en\"],[\"Options.Friend\",\"Friends\",\"en\"],[\"Options.SwitchTabs\",\"Switch Tabs\",\"en\"],[\"Options.SwitchTabsDesc\",\"This key will flip through your tabs.\",\"en\"],[\"Options.ToggleBarText\",\"Toggle HP/MP Text\",\"en\"],[\"Options.ToggleBarTextDesc\",\"Always show text value for remaining HP/MP\",\"en\"],[\"Options.ToggleToMaxText\",\"Toggle Pots to Max Text\",\"en\"],[\"Options.ToggleToMaxTextDesc\",\"Experimental: Display how many potions of a certain stat are still needed to max it (after the | symbol). Applies to the stats panel and character selection.\",\"en\"],[\"Options.ToggleNewMiniMapColorsText\",\"Toggle New Mini Map Colors\",\"en\"],[\"Options.ToggleNewMiniMapColorsTextDesc\",\"Experimental: slightly different colors to indicate locked, unlocked and unnamed players.\",\"en\"],[\"Options.ToggleParticleEffect\",\"Particle Effect\",\"en\"],[\"Options.ToggleParticleEffectDesc\",\"Reduce particle to help performance\",\"en\"],[\"TitleView.Copyright\",\"© 2020 DECA Live Operations GmbH\",\"en\"],[\"CharacterDetailsView.Nexus\",\"Nexus\",\"en\"],[\"CharacterDetailsView.Options\",\"Options\",\"en\"],[\"IconButton.hotKey\",\"Hotkey: {hotkey}\",\"en\"],[\"NexusPortal.Pirate\",\"Pirate\",\"en\"],[\"NexusPortal.Deathmage\",\"Deathmage\",\"en\"],[\"NexusPortal.Spectre\",\"Spectre\",\"en\"],[\"NexusPortal.Titan\",\"Titan\",\"en\"],[\"NexusPortal.Gorgon\",\"Gorgon\",\"en\"],[\"NexusPortal.Kraken\",\"Kraken\",\"en\"],[\"NexusPortal.Satyr\",\"Satyr\",\"en\"],[\"NexusPortal.Drake\",\"Drake\",\"en\"],[\"NexusPortal.Chimera\",\"Chimera\",\"en\"],[\"NexusPortal.Dragon\",\"Dragon\",\"en\"],[\"NexusPortal.Wyrm\",\"Wyrm\",\"en\"],[\"NexusPortal.Hydra\",\"Hydra\",\"en\"],[\"NexusPortal.Leviathan\",\"Leviathan\",\"en\"],[\"NexusPortal.Minotaur\",\"Minotaur\",\"en\"],[\"NexusPortal.Mummy\",\"Mummy\",\"en\"],[\"NexusPortal.Reaper\",\"Reaper\",\"en\"],[\"NexusPortal.Phoenix\",\"Phoenix\",\"en\"],[\"NexusPortal.Giant\",\"Giant\",\"en\"],[\"NexusPortal.Unicorn\",\"Unicorn\",\"en\"],[\"NexusPortal.Harpy\",\"Harpy\",\"en\"],[\"NexusPortal.Gargoyle\",\"Gargoyle\",\"en\"],[\"NexusPortal.Snake\",\"Snake\",\"en\"],[\"NexusPortal.Cube\",\"Cube\",\"en\"],[\"NexusPortal.Goblin\",\"Goblin\",\"en\"],[\"NexusPortal.Hobbit\",\"Hobbit\",\"en\"],[\"NexusPortal.Skeleton\",\"Skeleton\",\"en\"],[\"NexusPortal.Scorpion\",\"Scorpion\",\"en\"],[\"NexusPortal.Bat\",\"Bat\",\"en\"],[\"NexusPortal.Ghost\",\"Ghost\",\"en\"],[\"NexusPortal.Slime\",\"Slime\",\"en\"],[\"NexusPortal.Lich\",\"Lich\",\"en\"],[\"NexusPortal.Orc\",\"Orc\",\"en\"],[\"NexusPortal.Imp\",\"Imp\",\"en\"],[\"NexusPortal.Spider\",\"Spider\",\"en\"],[\"NexusPortal.Demon\",\"Demon\",\"en\"],[\"NexusPortal.Blob\",\"Blob\",\"en\"],[\"NexusPortal.Golem\",\"Golem\",\"en\"],[\"NexusPortal.Sprite\",\"Sprite\",\"en\"],[\"NexusPortal.Flayer\",\"Flayer\",\"en\"],[\"NexusPortal.Ogre\",\"Ogre\",\"en\"],[\"NexusPortal.Djinn\",\"Djinn\",\"en\"],[\"NexusPortal.Cyclops\",\"Cyclops\",\"en\"],[\"NexusPortal.Beholder\",\"Beholder\",\"en\"],[\"NexusPortal.Medusa\",\"Medusa\",\"en\"],[\"Payments.GoogleCheckout\",\"Google Checkout\",\"en\"],[\"Payments.Paypal\",\"Paypal\",\"en\"],[\"Payments.CreditCards\",\"Credit Cards, etc.\",\"en\"],[\"Payments.WebCost\",\"${cost}\",\"en\"],[\"Payments.KongregateCost\",\"{cost} Kreds\",\"en\"],[\"Payments.SteamCost\",\"{cost} {currency}\",\"en\"],[\"Payments.GoldAmount\",\"{amount} Gold\",\"en\"],[\"Payments.GoldBonus\",\"{percent}% Bonus\",\"en\"],[\"CharacterChangerPanel.title\",\"Change Characters\",\"en\"],[\"CharacterChangerPanel.button\",\"Change\",\"en\"],[\"GuildBoardPanel.title\",\"Guild Board\",\"en\"],[\"Panel.viewButton\",\"View\",\"en\"],[\"GuildChroniclePanel.title\",\"Guild Chronicle\",\"en\"],[\"GuildHallPortalPanel.title\",\"Guild Hall\",\"en\"],[\"GuildHallPortalPanel.noGuild\",\"Not In Guild\",\"en\"],[\"Guild.invitation\",\"{playerName} invited you to:\",\"en\"],[\"Guild.rejection\",\"Reject\",\"en\"],[\"Guild.accept\",\"Accept\",\"en\"],[\"GuildRegisterPanel.renounce\",\"Renounce\",\"en\"],[\"GuildRegisterPanel.rankOfGuild\",\"{rank} of \\\\n{guildName}\",\"en\"],[\"GuildRegisterPanel.createAGuild\",\"Create a Guild\",\"en\"],[\"GuildRegisterPanel.buyButton\",\"Create {cost}\",\"en\"],[\"RenounceDialog.title\",\"Are you sure you want to quit:\\\\n{guildName}\",\"en\"],[\"RenounceDialog.subTitle\",\"Renounce Guild\",\"en\"],[\"RenounceDialog.accept\",\"No, I\'ll stay\",\"en\"],[\"RenounceDialog.cancel\",\"Yes, I\'ll quit\",\"en\"],[\"Options.ActivateChat\",\"Activate Chat\",\"en\"],[\"Options.ActivateChatDesc\",\"This key will bring up the chat input box\",\"en\"],[\"Options.StartCommand\",\"Start Chat Command\",\"en\"],[\"Options.StartCommandDesc\",\"This key will bring up the chat with a \'/\' prepended to allow for commands such as /who, /ignore, etc.\",\"en\"],[\"Options.BeginTell\",\"Begin Tell\",\"en\"],[\"Options.BeginTellDesc\",\"This key will bring up a tell (private message) in the chat input box\",\"en\"],[\"Options.BeginGuildChat\",\"Begin Guild Chat\",\"en\"],[\"Options.BeginGuildChatDesc\",\"This key will bring up a guild chat in the chat input box\",\"en\"],[\"Options.FilterOffensiveLanguage\",\"Filter Offensive Language\",\"en\"],[\"Options.FilterOffensiveLanguageDesc\",\"This toggles whether offensive language filtering will be attempted\",\"en\"],[\"Options.ScrollChatUp\",\"Scroll Chat Up\",\"en\"],[\"Options.ScrollChatUpDesc\",\"This key will scroll up to older messages in the chat buffer\",\"en\"],[\"Options.ScrollChatDown\",\"Scroll Chat Down\",\"en\"],[\"Options.ScrollChatDownDesc\",\"This key will scroll down to newer messages in the chat buffer\",\"en\"],[\"Options.DefaultCameraAngle\",\"Default Camera Angle\",\"en\"],[\"Options.DefaultCameraAngleDesc\",\"This toggles the default camera angle\",\"en\"],[\"Options.CenterOnPlayer\",\"Center On Player\",\"en\"],[\"Options.CenterOnPlayerDesc\",\"This toggles whether the player is centered or offset\",\"en\"],[\"Options.ShowQuestPortraits\",\"Show Quest Portraits\",\"en\"],[\"Options.ShowQuestPortraitsDesc\",\"This toggles whether quest portraits are displayed\",\"en\"],[\"Options.ShowTips\",\"Show Tips\",\"en\"],[\"Options.ShowTipsDesc\",\"This toggles whether a tip is displayed when you join a new game\",\"en\"],[\"Options.DrawShadows\",\"Draw Shadows\",\"en\"],[\"Options.DrawShadowsDesc\",\"This toggles whether to draw shadows\",\"en\"],[\"Options.HardwareAcc\",\"Hardware Acceleration\",\"en\"],[\"Options.HardwareAccDesc\",\"Enables hardware acceleration. This reduces load on the CPU and may increase performance.\",\"en\"],[\"Options.HardwareAccDescError\",\"Hardware Acceleration could not be enabled. Please check flash player settings (right click on title screen).\",\"en\"],[\"Options.HardwareAccHotkey\",\"Hardware Acc. Hotkey\",\"en\"],[\"Options.HardwareAccHotkeyDesc\",\"Quickly enable or disable hardware acceleration.\",\"en\"],[\"Options.DrawTextBubbles\",\"Draw Text Bubbles\",\"en\"],[\"Options.DrawTextBubblesDesc\",\"This toggles whether to draw text bubbles\",\"en\"],[\"Options.ShowTradeRequestPanel\",\"Show Trade Request Panel\",\"en\"],[\"Options.ShowTradeRequestPanelDesc\",\"This toggles whether to show trade requests in the lower-right panel or just in chat.\",\"en\"],[\"Options.ShowGuildInvitePanel\",\"Show Guild Invite Panel\",\"en\"],[\"Options.ShowGuildInvitePanelDesc\",\"This toggles whether to show guild invites in the lower-right panel or just in chat.\",\"en\"],[\"Options.FullScreenMode\",\"Fullscreen Mode\",\"en\"],[\"Options.FullScreenModeDesc\",\"This toggles whether the game is run in fullscreen mode.\",\"en\"],[\"Options.PlayMusic\",\"Play Music\",\"en\"],[\"Options.PlayMusicDesc\",\"This toggles whether music is played\",\"en\"],[\"Options.PlaySoundEffects\",\"Play Sound Effects\",\"en\"],[\"Options.PlaySoundEffectsDesc\",\"This toggles whether sound effects are played\",\"en\"],[\"Options.PlayWeaponSounds\",\"Play Weapon Sounds\",\"en\"],[\"Options.PlayWeaponSoundsDesc\",\"This toggles whether weapon sounds are played\",\"en\"],[\"Options.FriendList\",\"Show Friend List\",\"en\"],[\"Options.FriendListDesc\",\"Quickly show or hide the friend list panel.\",\"en\"],[\"Options.FriendsStarReqDesc\",\"Only see friend invitations from players who have earned at least this amount of stars.\",\"en\"],[\"Options.TradeWithFriends\",\"Trade Requests From Friends Only\",\"en\"],[\"Options.TradeWithFriendsDesc\",\"Only allow friends send you trade request. You can still initiate Trades with other players.\",\"en\"],[\"Options.ChatFriend\",\"Friends Whisper Only\",\"en\"],[\"Options.ChatFriendDesc\",\"Turn this ON to only display whisper messages from your friends.\",\"en\"],[\"client.buy_char_special_offer\",\"Normally {cost} gold. Save {save}%!\",\"en\"],[\"DateField.Days\",\"DD\",\"en\"],[\"DateField.Months\",\"MM\",\"en\"],[\"DateField.Years\",\"YYYY\",\"en\"],[\"label.email\",\"Email\",\"en\"],[\"label.password\",\"Password\",\"en\"],[\"linkwebaccount.warning\",\"{red}WARNING{/red} You will {red}LOSE ALL PROGRESS, GOLD, ETC.{/red} in your current Kongregate account. This process {red}CAN NOT BE REVERSED{/red}. Think carefully before hitting Replace.\",\"en\"],[\"RegisterPrompt.notRegistered\",\"Not Registered\",\"en\"],[\"RegisterPrompt.left\",\"Cancel\",\"en\"],[\"RegisterPrompt.right\",\"Register\",\"en\"],[\"NotEnoughFameDialog.text\",\"You do not have enough Fame for this item. You gain Fame when your character dies after having accomplished great things.\",\"en\"],[\"NotEnoughFameDialog.title\",\"Not Enough Fame\",\"en\"],[\"NotEnoughFameDialog.leftButton\",\"Ok\",\"en\"],[\"ResurrectionView.YouDied\",\"YOU HAVE DIED!\",\"en\"],[\"ResurrectionView.SaveMe\",\"Save Me\",\"en\"],[\"ResurrectionView.deathText\",\"Realm of the Mad God is a perma-death game. If you die, you\'ll lose your character and any items in your inventory, but you\'ll gain fame based on your deeds. You\'ve just been saved from death. This won\'t happen again, so be careful adventurer!\",\"en\"],[\"GuildChronicle.left\",\"Error\",\"en\"],[\"GuildChronicle.right\",\"Ok\",\"en\"],[\"Guild.PromoteText\",\"Are you sure you want to promote {name} to {rank} ?\",\"en\"],[\"Guild.PromoteTitle\",\"Promote {name}\",\"en\"],[\"Guild.PromoteLeftButton\",\"Cancel\",\"en\"],[\"Guild.PromoteRightButton\",\"Promote\",\"en\"],[\"Guild.DemoteText\",\"Are you sure you want to demote {name} to {rank} ?\",\"en\"],[\"Guild.DemoteTitle\",\"Demote {name}\",\"en\"],[\"Guild.DemoteLeft\",\"Cancel\",\"en\"],[\"Guild.DemoteRight\",\"Demote\",\"en\"],[\"Guild.RemoveText\",\"Are you sure you want to remove {name} from the guild?\",\"en\"],[\"Guild.RemoveTitle\",\"Remove {name}\",\"en\"],[\"Guild.RemoveLeft\",\"Cancel\",\"en\"],[\"Guild.RemoveRight\",\"Remove\",\"en\"],[\"GuildPlayerList.openSlots\",\"{openSlots} open slots\",\"en\"],[\"Friend.AddTitle\",\"Enter Name\",\"en\"],[\"Friend.AddButton\",\"Invite\",\"en\"],[\"Friend.RemoveTitle\",\"Remove Friend\",\"en\"],[\"Friend.RemoveText\",\"Are you sure you want to remove {name} from your friend list?\",\"en\"],[\"Friend.RemoveRight\",\"Remove friend\",\"en\"],[\"Friend.RemoveRightDesc\",\"Remove this friend from your friend list.\",\"en\"],[\"Friend.BlockTitle\",\"Block this person\",\"en\"],[\"Friend.BlockText\",\"Are you sure you want to block this person forever?\",\"en\"],[\"Friend.BlockRight\",\"Block\",\"en\"],[\"Friend.BlockRightDesc\",\"Invitations and messages from this player are now blocked.\",\"en\"],[\"Friend.SentInvitationText\",\"Friend invitation sent to {name}.\",\"en\"],[\"Friend.ReachCapacity\",\"You have reached the maximum number of friends.\",\"en\"],[\"Friend.TeleportTitle\",\"Join Server\",\"en\"],[\"Friend.TeleportDesc\",\"Your friend is playing somewhere in this server. Clicking this will take you to the Nexus.\",\"en\"],[\"Friend.FriendDefaultText\",\"No friends. Invite people to your friends list!\",\"en\"],[\"Friend.FriendInvitationDefaultText\",\"No invitations.\",\"en\"],[\"Friend.TotalFriend\",\"Total Friends: {total}\",\"en\"],[\"FameView.CharacterInfo\",\"{name}, Level {level} {type}\",\"en\"],[\"FameView.deathInfoLong\",\"killed on {date} by {killer}\",\"en\"],[\"FameView.deathInfoShort\",\"died {date}\",\"en\"],[\"FameView.totalFameEarned\",\"Total Fame Earned\",\"en\"],[\"FameView.Shots\",\"Shots\",\"en\"],[\"FameView.Accuracy\",\"Accuracy\",\"en\"],[\"FameView.TilesSeen\",\"Tiles Seen\",\"en\"],[\"FameView.MonsterKills\",\"Monster Kills\",\"en\"],[\"FameView.GodKills\",\"God Kills\",\"en\"],[\"FameView.OryxKills\",\"Oryx Kills\",\"en\"],[\"FameView.QuestsCompleted\",\"Quests Completed\",\"en\"],[\"FameView.DungeonsCompleted\",\"Dungeons Completed\",\"en\"],[\"FameView.PartyMemberLevelUps\",\"Party Member Level Ups\",\"en\"],[\"FameView.BaseFameEarned\",\"Base Fame Earned\",\"en\"],[\"BuyPackageTask.newGifts\",\"New Gifts in Vault\",\"en\"],[\"TextPanel.giftChestIsEmpty\",\"Gift Chest Is Empty\",\"en\"],[\"ClosedGiftChest.title\",\"Gift Chest\",\"en\"],[\"JitterWatcher.desc\",\"net jitter: {jitter}\",\"en\"],[\"ReskinCharacterView.title\",\"Select a Skin\",\"en\"],[\"ReskinCharacterView.cancel\",\"Cancel\",\"en\"],[\"ReskinCharacterView.select\",\"Select\",\"en\"],[\"ReskinPanel.changeSkin\",\"Change Skin\",\"en\"],[\"ReskinPanel.choose\",\"Choose\",\"en\"],[\"ProTipText.text\",\"Tip: {tip}\",\"en\"],[\"KeyCodeBox.hitKey\",\"[Hit Key]\",\"en\"],[\"GameObject.immune\",\"Immune\",\"en\"],[\"Player.exp\",\"+{exp}XP\",\"en\"],[\"Player.levelUp\",\"Level Up!\",\"en\"],[\"Player.NewClassUnlocked\",\"New Class Unlocked!\",\"en\"],[\"ConfirmDelete.verifyDeletion\",\"Verify Deletion\",\"en\"],[\"ConfirmDelete.cancel\",\"Cancel\",\"en\"],[\"ConfirmDelete.delete\",\"Delete\",\"en\"],[\"EquipmentToolTip.tierAbbr\",\"T{tier}\",\"en\"],[\"EquipmentToolTip.untieredAbbr\",\"UT\",\"en\"],[\"EquipmentToolTip.doubleClickEquip\",\"Double-Click to equip\",\"en\"],[\"EquipmentToolTip.doubleClickTake\",\"Double-Click to take\",\"en\"],[\"EquipmentToolTip.equippedToUse\",\"Must be equipped to use\",\"en\"],[\"EquipmentToolTip.keyCodeToUse\",\"Press [{keyCode}] in world to use\",\"en\"],[\"EquipmentToolTip.consumedWithUse\",\"Consumed with use\",\"en\"],[\"EquipmentToolTip.storeVaultItem\",\"Store this item in your Vault to avoid losing it!\",\"en\"],[\"EquipmentToolTip.notUsableBy\",\"Not usable by {unUsableClass}\",\"en\"],[\"EquipmentToolTip.usableBy\",\"Usable by: {usableClasses}\",\"en\"],[\"Item.Soulbound\",\"Soulbound\",\"en\"],[\"EquipmentToolTip.doubleClickOrShiftClickToUse\",\"Double-Click or Shift-Click on item to use\",\"en\"],[\"EquipmentToolTip.doubleClickTakeShiftClickUse\",\"Double-Click to take & Shift-Click to use\",\"en\"],[\"EquipmentToolTip.usedMultipleTimes\",\"Can be used multiple times\",\"en\"],[\"EquipmentToolTip.partyEffect\",\"Party Effect: {effect}\",\"en\"],[\"EquipmentToolTip.enemyEffect\",\"Enemy Effect: {effect}\",\"en\"],[\"EquipmentToolTip.partyGenericActivate\",\"Within {range} sqrs {effect} for {duration} seconds\",\"en\"],[\"EquipmentToolTip.effectOnSelf\",\"Effect on Self: {effect}\",\"en\"],[\"EquipmentToolTip.partyHeal\",\"Party Heal: {effect}\",\"en\"],[\"EquipmentToolTip.partyHealAmount\",\"{amount} HP within {range} sqrs\",\"en\"],[\"EquipmentToolTip.partyFill\",\"Party Fill: {effect}\",\"en\"],[\"EquipmentToolTip.partyFillAmount\",\"{amount} MP within {range} sqrs\",\"en\"],[\"EquipmentToolTip.teleportToTarget\",\"Teleport to Target\",\"en\"],[\"EquipmentToolTip.steal\",\"Steal: {effect}\",\"en\"],[\"EquipmentToolTip.shots\",\"Shots: {numShots}\",\"en\"],[\"EquipmentToolTip.fameBonus\",\"Fame Bonus: {percent}\",\"en\"],[\"EquipmentToolTip.mpCost\",\"MP Cost: {cost}\",\"en\"],[\"EquipmentToolTip.effectForDuration\",\"{effect} for {duration} seconds\",\"en\"],[\"EquipmentToolTip.doses\",\"Doses {dose}\",\"en\"],[\"EquipmentToolTip.damage\",\"Damage: {damage}\",\"en\"],[\"EquipmentToolTip.range\",\"Range: {range}\",\"en\"],[\"EquipmentToolTip.shotEffect\",\"Shot Effect: {effect}\",\"en\"],[\"EquipmentToolTip.withinSqrs\",\"Within {range} sqrs\",\"en\"],[\"EquipmentToolTip.removesNegative\",\"Removes negative conditions\",\"en\"],[\"EquipmentToolTip.stasisGroup\",\"Stasis on group: {stasis}\",\"en\"],[\"EquipmentToolTip.secsCount\",\"{duration} seconds\",\"en\"],[\"EquipmentToolTip.trap\",\"Trap: {data}\",\"en\"],[\"EquipmentToolTip.decoy\",\"Decoy: {data}\",\"en\"],[\"EquipmentToolTip.lightning\",\"Lightning: {data}\",\"en\"],[\"EquipmentToolTip.damageNumberTargets\",\"{damage} to {targets} targets\",\"en\"],[\"EquipmentToolTip.rateOfFire\",\"Rate of Fire: {data}\",\"en\"],[\"EquipmentToolTip.onEquip\",\"On Equip:\",\"en\"],[\"EquipmentToolTip.incrementStat\",\"{statAmount}{statName}\",\"en\"],[\"EquipmentToolTip.permanentlyIncreases\",\"Permanently increases {statName}\",\"en\"],[\"blank\",\"{data}\",\"en\"],[\"StatData.Size\",\"Size\",\"en\"],[\"StatData.MaxHP\",\"Maximum HP\",\"en\"],[\"StatData.MaxMP\",\"Maximum MP\",\"en\"],[\"StatData.XP\",\"XP\",\"en\"],[\"StatData.Level\",\"Level\",\"en\"],[\"StatData.UnknownStat\",\"Unknown Stat\",\"en\"],[\"ChooseNameRegisterDialog.text\",\"In order to select a unique name you must be a registered user.\",\"en\"],[\"BoostPanel.activeBoosts\",\"Active Boosts\",\"en\"],[\"QuestToolTip.quest\",\"Quest!\",\"en\"],[\"BoostPanel.dropRate\",\"{rate} drop rate\",\"en\"],[\"BoostPanel.tierLevelIncreased\",\"Tier level increased\",\"en\"],[\"TeleportMenuOption.title\",\"Teleport\",\"en\"],[\"PlayerMenu.Invite\",\"Invite\",\"en\"],[\"PlayerMenu.Lock\",\"Lock\",\"en\"],[\"PlayerMenu.UnLock\",\"Unlock\",\"en\"],[\"PlayerMenu.Trade\",\"Trade\",\"en\"],[\"PlayerMenu.Ignore\",\"Ignore\",\"en\"],[\"PlayerMenu.Unignore\",\"Unignore\",\"en\"],[\"PlayerMenu.Waiting\",\"Waiting\",\"en\"],[\"PlayerMenu.Mute\",\"Mute\",\"en\"],[\"PlayerMenu.UnMute\",\"UnMute\",\"en\"],[\"PlayerMenu.Kick\",\"Kick\",\"en\"],[\"PlayerMenu.PM\",\"Whisper\",\"en\"],[\"PlayerMenu.GuildChat\",\"Guild Chat\",\"en\"],[\"Player.noTeleportWhilePaused\",\"Can not teleport while paused\",\"en\"],[\"TradeRequestPanel.wantsTrade\",\"{name} wants to trade with you\",\"en\"],[\"Trade.Accept\",\"Accept\",\"en\"],[\"Trade.Reject\",\"Reject\",\"en\"],[\"EditGuildBoard.save\",\"Save\",\"en\"],[\"ViewGuildBoard.close\",\"Close\",\"en\"],[\"ViewGuildBoard.edit\",\"Edit\",\"en\"],[\"TradeInventory.clickItemsToTrade\",\"Click items you want to trade\",\"en\"],[\"TradeInventory.notEnoughSpace\",\"Not enough space for trade!\",\"en\"],[\"TradeInventory.tradeAccepted\",\"Trade accepted!\",\"en\"],[\"TradeInventory.playerIsSelectingItems\",\"Player is selecting items\",\"en\"],[\"LanguagesScreen.title\",\"Languages\",\"en\"],[\"LanguagesScreen.option\",\"Choose Language\",\"en\"],[\"Languages.English\",\"English\",\"en\"],[\"Languages.French\",\"French\",\"en\"],[\"Languages.Spanish\",\"Spanish\",\"en\"],[\"Languages.Italian\",\"Italian\",\"en\"],[\"Languages.German\",\"German\",\"en\"],[\"Languages.Turkish\",\"Turkish\",\"en\"],[\"Languages.Russian\",\"Russian\",\"en\"],[\"Vault.chest\",\"Vault Chest\",\"en\"],[\"Vault.chestDescription\",\"A chest that will safely store 8 items and is accessible by all of your characters.\",\"en\"],[\"Player.teleportCoolDown\",\"You can not teleport for another {seconds} seconds.\",\"en\"],[\"TermsView.description\",\"Do you agree to the {tou}Terms of Use{_tou}?\",\"en\"],[\"TermsView.title\",\"Terms of Use\",\"en\"],[\"TermsView.yes\",\"I agree\",\"en\"],[\"TermsView.no\",\"No way\",\"en\"],[\"TermsView.text\",\"Ummm... Ok. This is awkward. No hard feelings or anything. We\'re cool, right?\",\"en\"],[\"TermsView.YeaWeAreCool\",\"Yea, we\'re cool\",\"en\"],[\"TermsView.PeaceOut\",\"Great. Peace out.\",\"en\"],[\"Skins.Classic\",\"Classic\",\"en\"],[\"conditionEffect.Nothing\",\"Nothing\",\"en\"],[\"conditionEffect.Dead\",\"Dead\",\"en\"],[\"conditionEffect.StunImmune\",\"Stun Immune\",\"en\"],[\"conditionEffect.Invisible\",\"Invisible\",\"en\"],[\"conditionEffect.Speedy\",\"Speedy\",\"en\"],[\"conditionEffect.NotUsed\",\"Not Used\",\"en\"],[\"conditionEffect.Healing\",\"Healing\",\"en\"],[\"conditionEffect.Damaging\",\"Damaging\",\"en\"],[\"conditionEffect.Berserk\",\"Berserk\",\"en\"],[\"conditionEffect.Paused\",\"Paused\",\"en\"],[\"conditionEffect.Stasis\",\"Stasis\",\"en\"],[\"conditionEffect.SlowImmune\",\"Slow Immune\",\"en\"],[\"conditionEffect.StasisImmune\",\"Stasis Immune\",\"en\"],[\"conditionEffect.Invincible\",\"Invincible\",\"en\"],[\"conditionEffect.Invulnerable\",\"Invulnerable\",\"en\"],[\"conditionEffect.Armored\",\"Armored\",\"en\"],[\"conditionEffect.NinjaSpeedy\",\"Ninja Speedy\",\"en\"],[\"conditionEffect.Unstable\",\"Unstable\",\"en\"],[\"conditionEffect.Darkness\",\"Darkness\",\"en\"],[\"Money.goldNeedsRegistration\",\"In order to buy Gold you must be a registered user.\",\"en\"],[\"Gold.NotEnough\",\"Not Enough Gold\",\"en\"],[\"CharacterSlotNeedGoldDialog.price\",\"Another character slot costs {price} Gold. Would you like to buy Gold?\",\"en\"],[\"Gold.Buy\",\"Buy Gold\",\"en\"],[\"chat.registertoChat\",\"Please REGISTER to see in-game player chat.\",\"en\"],[\"chat.connected\",\"Connected!\",\"en\"],[\"chat.connectingTo\",\"Connecting to {serverName}\",\"en\"],[\"player.cannotTeleportTo\",\"Can not teleport to {player}\",\"en\"],[\"player.noWeaponEquipped\",\"You do not have a weapon equipped!\",\"en\"],[\"helpCommand\",\"Help: \\\\n[/pause]: pause the game (until you [/pause] again) \\\\n[/who]: list players online \\\\n[/tutorial]: enter the tutorial \\\\n[/yell <message>]: send message to all players in Nexus \\\\n[/tell <player name> <message>]: send a private message to a player \\\\n[/guild <message>]: send a message to your guild \\\\n[/block <player name>]: don\'t show chat messages from player \\\\n[/unignore <player name>]: stop ignoring a player \\\\n[/teleport <player name>]: teleport to a player \\\\n[/trade <player name>]: request a trade with a player \\\\n[/invite <player name>]: invite a player to your guild \\\\n[/join <guild name>]: join a guild (invite necessary) \\\\n[/lock <player name>]: lock a player to the player grid \\\\n[/unlock <player name>]: unlock a player from the player grid \\\\n[/help]: this message \\\\n\",\"en\"],[\"item.emptySlot\",\"Empty {itemType} Slot\",\"en\"],[\"item.toolTip\",\"item\",\"en\"],[\"Gold.notEnoughForItem\",\"You do not have enough Gold for this item. Would you like to buy Gold?\",\"en\"],[\"PurchaseCharacter.characterCost\",\"This character class costs {cost} Gold. Would you like to buy Gold?\",\"en\"],[\"FameBonus.Legacy\",\"Legacy Builder\",\"en\"],[\"FameBonus.LegacyDescription\",\"Beat previous best level for this class.\",\"en\"],[\"FameBonus.Thirsty\",\"Thirsty\",\"en\"],[\"FameBonus.ThirstyDescription\",\"Never drank a potion.\",\"en\"],[\"FameBonus.Pacifist\",\"Pacifist\",\"en\"],[\"FameBonus.PacifistDescription\",\"Never dealt any damage with shots.\",\"en\"],[\"FameBonus.Mundane\",\"Mundane\",\"en\"],[\"FameBonus.MundaneDescription\",\"Never used special ability.\",\"en\"],[\"FameBonus.BootsOnGround\",\"Boots on the Ground\",\"en\"],[\"FameBonus.BootsOnGroundDescription\",\"Never teleported.\",\"en\"],[\"FameBonus.TunnelRat\",\"Tunnel Rat\",\"en\"],[\"FameBonus.TunnelRatDescription\",\"Completed the Pirate Cave, Spider Den, Forbidden Jungle, Snake Pit, Sprite World, Undead Lair, Abyss of Demons, Tomb of The Ancients, Ocean Trench and Manor of the Immortals.\",\"en\"],[\"FameBonus.GodEnemy\",\"Enemy of the Gods\",\"en\"],[\"FameBonus.GodEnemyDescription\",\"More than 10% of kills are gods.\",\"en\"],[\"FameBonus.GodSlayer\",\"Slayer of the Gods\",\"en\"],[\"FameBonus.GodSlayerDescription\",\"More than 50% of kills are gods.\",\"en\"],[\"FameBonus.OryxSlayer\",\"Oryx Slayer\",\"en\"],[\"FameBonus.OryxSlayerDescription\",\"Dealt the killing blow to Oryx.\",\"en\"],[\"FameBonus.Accurate\",\"Accurate\",\"en\"],[\"FameBonus.AccurateDescription\",\"Accuracy of better than 25%.\",\"en\"],[\"FameBonus.SharpShooter\",\"Sharpshooter\",\"en\"],[\"FameBonus.SharpShooterDescription\",\"Accuracy of better than 50%.\",\"en\"],[\"FameBonus.Sniper\",\"Sniper\",\"en\"],[\"FameBonus.SniperDescription\",\"Accuracy of better than 75%.\",\"en\"],[\"FameBonus.Explorer\",\"Explorer\",\"en\"],[\"FameBonus.ExplorerDescription\",\"More than 1 million tiles uncovered.\",\"en\"],[\"FameBonus.Cartographer\",\"Cartographer\",\"en\"],[\"FameBonus.CartographerDescription\",\"More than 4 million tiles uncovered.\",\"en\"],[\"FameBonus.CubeFriend\",\"Friend of the Cubes\",\"en\"],[\"FameBonus.CubeFriendDescription\",\"Never killed a cube.\",\"en\"],[\"FameBonus.TravelingLight\",\"Traveling Light\",\"en\"],[\"FameBonus.TravelingLightDescription\",\"Not carrying equipment you couldn\'t use.\",\"en\"],[\"FameBonus.FirstBorn\",\"First Born\",\"en\"],[\"FameBonus.FirstBornDescription\",\"Best fame of any of your previous incarnations.\",\"en\"],[\"FameBonus.KingOfRealm\",\"King of the Realm\",\"en\"],[\"FameBonus.KingOfRealmDescription\",\"Best fame yet achieved in Realm.\",\"en\"],[\"FameBonus.TeamPlayer\",\"Team Player\",\"en\"],[\"FameBonus.TeamPlayerDescription\",\"More than 100 party member level ups.\",\"en\"],[\"FameBonus.LeaderOfMen\",\"Leader of Men\",\"en\"],[\"FameBonus.LeaderOfMenDescription\",\"More than 1000 party member level ups.\",\"en\"],[\"FameBonus.Ancestor\",\"Ancestor\",\"en\"],[\"FameBonus.AncestorDescription\",\"The first in a long line of heroes.\",\"en\"],[\"FameBonus.DoerOfDeeds\",\"Doer of Deeds\",\"en\"],[\"FameBonus.DoerOfDeedsDescription\",\"More than 1000 quests completed.\",\"en\"],[\"FameBonus.WellEquipped\",\"Well Equipped\",\"en\"],[\"FameBonus.WellEquippedDescription\",\"Combined Fame Bonus of all worn equipment.\",\"en\"],[\"FameBonus.LevelRequirement\",\"Requires level {level}\",\"en\"],[\"Merchant.new\",\"New!\",\"en\"],[\"Merchant.goingSoon\",\"Going soon!\",\"en\"],[\"Merchant.goingInOneMinute\",\"Going in 1 min!\",\"en\"],[\"Merchant.goingInNMinutes\",\"Going in {minutes} mins!\",\"en\"],[\"Merchant.limitedStock\",\"{count} left!\",\"en\"],[\"Merchant.discount\",\"{discount}% off!\",\"en\"],[\"Dialog.registerToUseGold\",\"In order to use Gold you must be a registered user.\",\"en\"],[\"Dialog.registerToBuyPackage\",\"In order to buy packages you must be a registered user.\",\"en\"],[\"LoginError.tooManyFails\",\"Too many failed logins, try again later\",\"en\"],[\"EquipmentType.Any\",\"Any\",\"en\"],[\"EquipmentType.Sword\",\"Sword\",\"en\"],[\"EquipmentType.Dagger\",\"Dagger\",\"en\"],[\"EquipmentType.Bow\",\"Bow\",\"en\"],[\"EquipmentType.Tome\",\"Tome\",\"en\"],[\"EquipmentType.Shield\",\"Shield\",\"en\"],[\"EquipmentType.LeatherArmor\",\"Leather Armor\",\"en\"],[\"EquipmentType.Armor\",\"Armor\",\"en\"],[\"EquipmentType.Wand\",\"Wand\",\"en\"],[\"EquipmentType.Accessory\",\"Accessory\",\"en\"],[\"EquipmentType.Potion\",\"Potion\",\"en\"],[\"EquipmentType.Spell\",\"Spell\",\"en\"],[\"EquipmentType.HolySeal\",\"Holy Seal\",\"en\"],[\"EquipmentType.Cloak\",\"Cloak\",\"en\"],[\"EquipmentType.Robe\",\"Robe\",\"en\"],[\"EquipmentType.Quiver\",\"Quiver\",\"en\"],[\"EquipmentType.Helm\",\"Helm\",\"en\"],[\"EquipmentType.Staff\",\"Staff\",\"en\"],[\"EquipmentType.Poison\",\"Poison\",\"en\"],[\"EquipmentType.Skull\",\"Skull\",\"en\"],[\"EquipmentType.Trap\",\"Trap\",\"en\"],[\"EquipmentType.Orb\",\"Orb\",\"en\"],[\"EquipmentType.Prism\",\"Prism\",\"en\"],[\"EquipmentType.Scepter\",\"Scepter\",\"en\"],[\"EquipmentType.Katana\",\"Katana\",\"en\"],[\"EquipmentType.Shuriken\",\"Shuriken\",\"en\"],[\"EquipmentType.InvalidType\",\"Invalid Type!\",\"en\"],[\"Legends.EmptyList\",\"No Legends Yet!\",\"en\"],[\"Error.incorrectPassword\",\"Incorrect password\",\"en\"],[\"Error.incorrectEmailOrPassword\",\"Incorrect email or password\",\"en\"],[\"Error.accountNotFound\",\"Account not found\",\"en\"],[\"Error.targetAccountNotFound\",\"Target account not found\",\"en\"],[\"Error.invalidAccount\",\"Invalid account\",\"en\"],[\"Error.noSuchEmail\",\"No such email\",\"en\"],[\"Error.emailAlreadyVerified\",\"Email already verified\",\"en\"],[\"Error.invalidEmail\",\"Invalid email\",\"en\"],[\"Error.invalidPassword\",\"Invalid password\",\"en\"],[\"Error.emailAlreadyUsed\",\"Email already used\",\"en\"],[\"Error.invalidAccountToRegister\",\"Invalid account to register\",\"en\"],[\"Error.emailNotRecognized\",\"Email not recognized\",\"en\"],[\"Error.notEnoughGold\",\"Not enough Gold\",\"en\"],[\"Error.nameTooShort\",\"Name too short\",\"en\"],[\"Error.nameTooLong\",\"Name too long\",\"en\"],[\"Error.nameIsNotAlpha\",\"Name is not alpha\",\"en\"],[\"Error.nameAlreadyInUse\",\"Name is already in use\",\"en\"],[\"Error.noAccountCannotPurchaseSkin\",\"No account found. Cannot purchase skin.\",\"en\"],[\"Error.skinTypeIsNotAnItem\",\"Skin type is not an item.\",\"en\"],[\"Error.skinTypeIsNotASkin\",\"Skin type is not a skin\",\"en\"],[\"Error.alreadyOwnsSkin\",\"Skin purchase failed. Player already owns skin.\",\"en\"],[\"Error.skinClassRequirementUnmet\",\"Player does not meet the skin\\\\\'s class level requirement.\",\"en\"],[\"Error.priceNotFoundForSkin\",\"Price data of indicated skin not found. Cannot purchase.\",\"en\"],[\"Error.skinNotPurcasable\",\"This skin is not currently purchasable.\",\"en\"],[\"Error.databaseTransactionError\",\"DB transaction aborted.\",\"en\"],[\"Error.AccountAlreadyExistsForGUID\",\"Account already exists for new GUID\",\"en\"],[\"Error.invalidCurrency\",\"Invalid currency\",\"en\"],[\"PackagePurchased.title\",\"Package Purchased\",\"en\"],[\"PackagePurchased.message\",\"Your purchase was successful\",\"en\"],[\"PackagePurchased.body\",\"Check your vault for any items purchased\",\"en\"],[\"Pets.RarityDivine\",\"Divine\",\"en\"],[\"Pets.SpeciesFeline\",\"Feline\",\"en\"],[\"NewAbility.text\",\"You unlocked a new ability!\",\"en\"],[\"NewAbility.gratz\",\"New Ability\",\"en\"],[\"NewAbility.righteous\",\"Righteous!\",\"en\"],[\"LeavePetYardDialog.title\",\"Please leave the pet yard\",\"en\"],[\"LeavePetYardDialog.text\",\"The Caretaker needs a minute\\\\n to upgrade your yard.\\\\n\\\\nPlease leave so we can begin construction!\",\"en\"],[\"PetPicker.text\",\"You can only fuse a pet of the same rarity and family\",\"en\"],[\"PetPicker.title\",\"Choose a Pet\",\"en\"],[\"PetFeeder.buttonBarPrefix\",\"Feed\",\"en\"],[\"PetFeeder.title\",\"Feed Pet\",\"en\"],[\"PetFuser.title\",\"Fuse Pets\",\"en\"],[\"PetFuser.description\",\"The second pet must share your first pet\'s Family type and Rarity level.\",\"en\"],[\"PetFuser.buttonBarPrefix\",\"Fuse\",\"en\"],[\"ButtonBar.or\",\"or\",\"en\"],[\"AbilityBar.levelLabel\",\"Lvl. {level}\",\"en\"],[\"PetOrFoodSlot.itemPower\",\"Item Power\",\"en\"],[\"PetOrFoodSlot.placeItemHere\",\"Place item here to feed\",\"en\"],[\"PetOrFoodSlot.fusePetTitle\",\"Click to select a pet\",\"en\"],[\"Pet.selectAPet\",\"Select a Pet\",\"en\"],[\"FusionStrength.text\",\"Fusion Strength\",\"en\"],[\"FusionStrength.Low\",\"LOW\",\"en\"],[\"FusionStrength.Bad\",\"BAD\",\"en\"],[\"FusionStrength.Good\",\"GOOD\",\"en\"],[\"FusionStrength.Great\",\"GREAT\",\"en\"],[\"FusionStrength.Fantastic\",\"FANTASTIC\",\"en\"],[\"FusionStrength.Maxed\",\"MAXED\",\"en\"],[\"FusionStrength.None\",\"NONE\",\"en\"],[\"CaretakerQueryDialog.title\",\"Yard Caretaker\",\"en\"],[\"CaretakerQueryDialog.query\",\"How can I help?\",\"en\"],[\"CaretakerQueryDialog.category_petYard\",\"Pet Yard\",\"en\"],[\"CaretakerQueryDialog.category_pets\",\"Pets\",\"en\"],[\"CaretakerQueryDialog.category_abilities\",\"Abilities\",\"en\"],[\"CaretakerQueryDialog.category_feedingPets\",\"Feeding Pets\",\"en\"],[\"CaretakerQueryDialog.category_fusingPets\",\"Fusing Pets\",\"en\"],[\"CaretakerQueryDialog.category_evolution\",\"Evolution\",\"en\"],[\"CaretakerQueryDialog.info_petYard\",\"Welcome to your Pet Yard! You can hatch new pet eggs, feed items to your pets to make them stronger, and fuse two of your pets in the same family to a higher rarity level in your Pet Yard. You must upgrade your Pet Yard to fuse higher level rarity pets by clicking the arrow button right under the Pet Yard title at the top of the Pets interface. You can also change the appearance of your pets by accessing the computer terminal right over there!\",\"en\"],[\"CaretakerQueryDialog.info_pets\",\"Hatching a pet egg will provide you with a loyal pet that will follow you into battle. Pets start out with some special abilities that will help you to take on Oryx, and they can learn additional abilities as they grow and evolve. Level up your pets by feeding them items, and then fuse two pets from the same family and rarity level to further strengthen them into mighty fighting companions!\",\"en\"],[\"CaretakerQueryDialog.info_abilities\",\"Each of your pets can have up to three abilities. Pets start out with one ability at the Common rarity level, gain a second ability after fusing to the Uncommon rarity level, and then gain a third ability after fusing into the Legendary rarity level. A pet’s first ability is determined by its pet family and type, but the second and third abilities are determined at random. Fusing pets will increase the max ability levels for each of the abilities. Common pets have a max ability level of 30, Uncommon pets have 50, Rare pets have 70, Legendary pets have 90, and Divine pets have 100. Feed your pets any items that you find in the Realm to strengthen their abilities, and try to max out your pets’ abilities before fusing them to get the greatest benefit!\",\"en\"],[\"CaretakerQueryDialog.info_feedingPets\",\"Feed items from your inventory to your pets to make them stronger! In the Pets menu, select the pet that you want to feed and the items from your inventory that you want to feed them, and then pay a small amount in gold or fame to increase the ability level of your pets! Once two of your pets reach their max level at their current rarity, it will be time to fuse them!\",\"en\"],[\"CaretakerQueryDialog.info_fusingPets\",\"With some of the technology we stole from the Mad Lab, we can fuse pets together to unlock new abilities, achieve higher max stats, and get your pets to evolve into stronger and more beautiful creatures! Fusing two pets from the Common rarity level produce an Uncommon pet. Do the same with Uncommon to get a Rare pet, then a Legendary pet, and finally a Divine pet! You can fuse any two pets that are the same family and rarity at any time for a small fee in gold or fame. However, pets will only have the highest possible ability levels if you fuse them after they have been fed enough items to reach their max ability levels prior to fusing. Try to get the fusion screen to say MAX Fusion when selecting two pets in order to get the largest ability benefit when fusing!\",\"en\"],[\"CaretakerQueryDialog.info_evolution\",\"As you fuse your pets from Uncommon to Rare and Legendary to Divine, they will evolve to get a new name and look! You can change your pets’ skins and families for a small fee through the nearby computer terminal. Happy feeding, fusing, and evolving!\",\"en\"],[\"Pets.common\",\"Common\",\"en\"],[\"Pets.uncommon\",\"Uncommon\",\"en\"],[\"Pets.rare\",\"Rare\",\"en\"],[\"Pets.legendary\",\"Legendary\",\"en\"],[\"Pets.divine\",\"Divine\",\"en\"],[\"PetAbilityMeter.max\",\"Max\",\"en\"],[\"EvolveDialog.title\",\"Your pet is evolving!\",\"en\"],[\"Pets.caretakerPanelTitle\",\"Yard Caretaker\",\"en\"],[\"Pets.caretakerPanelButtonInfo\",\"Info\",\"en\"],[\"Pets.caretakerPanelButtonUpgrade\",\"Upgrade\",\"en\"],[\"Pets.follow\",\"Follow\",\"en\"],[\"Pets.unfollow\",\"Unfollow\",\"en\"],[\"Pets.petInteractionPanelTitle\",\"Upgrade Pet\",\"en\"],[\"Pets.petInteractionPanelFusePetButton\",\"Fuse Pet\",\"en\"],[\"Pets.petInteractionPanelFeedPetButton\",\"Feed Pet\",\"en\"],[\"PetsDialog.leave\",\"Leave\",\"en\"],[\"PetsDialog.remain\",\"Stay\",\"en\"],[\"Pets.humanoid\",\"Humanoid\",\"en\"],[\"Pets.feline\",\"Feline\",\"en\"],[\"Pets.canine\",\"Canine\",\"en\"],[\"Pets.avian\",\"Avian\",\"en\"],[\"Pets.exotic\",\"Exotic\",\"en\"],[\"Pets.farm\",\"Farm\",\"en\"],[\"Pets.woodland\",\"Woodland\",\"en\"],[\"Pets.reptile\",\"Reptile\",\"en\"],[\"Pets.insect\",\"Insect\",\"en\"],[\"Pets.penguin\",\"Penguin\",\"en\"],[\"Pets.aquatic\",\"Aquatic\",\"en\"],[\"Pets.spooky\",\"Spooky\",\"en\"],[\"Pets.automaton\",\"Automaton\",\"en\"],[\"Pets.miscellaneous\",\"? ? ? ?\",\"en\"],[\"Pets.fuseError\",\"You must have two pets selected in order to fuse\",\"en\"],[\"Pets.notFollowing\",\"Your pet is no longer following you.\",\"en\"],[\"Pets.following\",\"{petName} is now following you.\",\"en\"],[\"Pets.sendToYard\",\"Send to yard\",\"en\"],[\"BuyingDialog.info\",\"Buying Character Slot...\",\"en\"],[\"YardUpgraderView.title\",\"Upgrade Pet Yard\",\"en\"],[\"YardUpgraderView.info\",\"Upgrading your yard allows you to fuse pets up to\",\"en\"],[\"YardUpgraderView.currentMax\",\"Current Max\",\"en\"],[\"YardUpgraderView.upgrade\",\"Upgrade\",\"en\"],[\"Pets.abilityLevel\",\"Lvl {level}\",\"en\"],[\"Pets.abilityLevelMax\",\"Max {level}\",\"en\"],[\"error.loadError\",\"Load error, retrying\",\"en\"],[\"Pets.registerToAllowEntry\",\"You must be registered to upgrade your pet yard\",\"en\"],[\"dye.clothing_description\",\"A vial of dye for coloring clothing\",\"en\"],[\"MoneyError.testing\",\"You cannot purchase gold on the testing server\",\"en\"],[\"MoneyError.register\",\"You must be registered to buy gold\",\"en\"],[\"ErrorWindow.buttonOK\",\"OK\",\"en\"],[\"Pets.fullyMaxed\",\"Fully Maxed\",\"en\"],[\"Pets.eggHatched\",\"Egg hatched!\",\"en\"],[\"Editor.Search\",\"Search\",\"en\"],[\"Editor.Previous\",\"Previous\",\"en\"],[\"Editor.Next\",\"Next\",\"en\"],[\"Editor.download\",\"Download\",\"en\"],[\"Options.forceChatQuality\",\"Force High Quality Chat Text\",\"en\"],[\"Options.forceChatQualityDesc\",\"Even when Flash Player is set to low quality, force chat text to be in high quality.\",\"en\"],[\"Options.hidePlayerChat\",\"Hide Chat Window\",\"en\"],[\"Options.hidePlayerChatDesc\",\"Hides the chat window when turned ON.\",\"en\"],[\"Options.chatAll\",\"Player Chat\",\"en\"],[\"Options.chatAllDesc\",\"Toggle Player chat ON / OFF. Does not hide System messages. NOTE: This also affects Whisper and Guild Chat options.\",\"en\"],[\"Options.chatWhisper\",\"Whisper Chat\",\"en\"],[\"Options.chatWhisperDesc\",\"Toggle Whisper chat ON or OFF. Turn this ON, Player Chat OFF, and Guild Chat OFF to only display Whispers. May help with chat spam.\",\"en\"],[\"Options.chatGuild\",\"Guild Chat\",\"en\"],[\"Options.chatGuildDesc\",\"Toggle Guild chat ON or OFF. Turn this ON, Player Chat OFF, and Whisper Chat OFF to only display chats from Guild members.\",\"en\"],[\"Options.chatTrade\",\"Trade Requests\",\"en\"],[\"Options.chatTradeDesc\",\"When turned OFF you will not see any incoming Trade requests. You can still initiate Trades with other players.\",\"en\"],[\"Options.starReq\",\"Star Requirement\",\"en\"],[\"Options.chatStarReqDesc\",\"Only see chat from players who have earned at least this amount of stars. May help with chat spam.\",\"en\"],[\"SaveTextureDialog.Save\",\"Save\",\"en\"],[\"SaveTextureDialog.Cancel\",\"Cancel\",\"en\"],[\"PetPanel.release\",\"Release\",\"en\"],[\"PetPanelConfirm.title\",\"Are you sure you want to release this pet?\",\"en\"],[\"PetPanelConfirm.subtext\",\"Once released, you will not be able to get your pet back.\",\"en\"],[\"DeletePictureDialog.title\",\"Delete Picture\",\"en\"],[\"DeletePictureDialog.description\",\"Are you sure you want to delete \\\\{name}\\\\? This can not be undone.\",\"en\"],[\"ArenaPortalPanel.title\",\"Enter the Arena\",\"en\"],[\"ArenaQueryPanel.title\",\"Arena Guard\",\"en\"],[\"ArenaQueryPanel.leaderboard\",\"Leaderboard\",\"en\"],[\"ContinueOrQuitDialog.exit\",\"Exit Arena\",\"en\"],[\"ContinueOrQuitDialog.title\",\"The monsters overcame you!\",\"en\"],[\"ContinueOrQuitDialog.quitSubtitle\",\"Quit Fighting\",\"en\"],[\"ContinueOrQuitDialog.continueSubtitle\",\"Restart Wave {waveNumber}\",\"en\"],[\"ArenaLeaderboardListItem.waveNumber\",\"wave {waveNumber}\",\"en\"],[\"LeaderboardWeeklyResetTime.label\",\"{time} Until Leaderboard Resets\",\"en\"],[\"ArenaLeaderboard.title\",\"Arena Leaderboard\",\"en\"],[\"ArenaLeaderboard.weekly\",\"Weekly\",\"en\"],[\"ArenaLeaderboard.allTime\",\"All Time\",\"en\"],[\"ArenaLeaderbaord.yourRank\",\"Your Rank\",\"en\"],[\"ArenaLeaderboardButton.label\",\"Arena\",\"en\"],[\"ArenaCountdownClock.wave\",\"Wave\",\"en\"],[\"ArenaCountdownClock.start\",\"START\",\"en\"],[\"ArenaCountdownClock.nextWave\",\"Next wave in\",\"en\"],[\"BattleSummaryDialog.close\",\"Close\",\"en\"],[\"BattleSummaryDialog.title\",\"Your Arena Summary\",\"en\"],[\"BattleSummaryDialog.currentSubtitle\",\"This Battle\",\"en\"],[\"BattleSummaryDialog.bestSubtitle\",\"All Time\",\"en\"],[\"BattleSummaryText.waveNumber\",\"{waveNumber} waves\",\"en\"],[\"ArenaQueryDialog.info\",\"Are you the most powerful fighter in the Realm? The Arena will put your skills to the ultimate test. Fear not, if you fall in the Arena you’ll be transported back to the Nexus just as you were before. Enter now and show your true strength.\",\"en\"],[\"MustBeNamed.title\",\"Named Character Required\",\"en\"],[\"MustBeNamed.desc\",\"You must name your character to enter the arena.\",\"en\"],[\"ConfirmBuyModal.title\",\"Confirm Purchase\",\"en\"],[\"ConfirmBuyModal.desc\",\"Are you sure that you want to buy this item?\",\"en\"],[\"ConfirmBuyModal.amount\",\"Amount: \",\"en\"],[\"VerifyWebAccountDialog.title\",\"Please verify your email address\",\"en\"],[\"VerifyWebAccountDialog.button\",\"Send Verification Email\",\"en\"],[\"MysteryBoxPanel.open\",\"Open\",\"en\"],[\"MysteryBoxPanel.checkBackLater\",\"Check Back Later\",\"en\"],[\"MysteryBoxPanel.mysteryBoxShop\",\"Mystery Box Shop\",\"en\"],[\"MysteryBoxSelectModal.titleString\",\"Mystery Boxes!\",\"en\"],[\"MysteryBoxSelectEntry.newString\",\"New!\",\"en\"],[\"MysteryBoxSelectEntry.onSaleString\",\"On Sale\",\"en\"],[\"MysteryBoxSelectEntry.was\",\"Was\",\"en\"],[\"MysteryBoxSelectEntry.left\",\"left\",\"en\"],[\"MysteryBoxInfo.saleEndStringDays\",\"Ends in {amount} days\",\"en\"],[\"MysteryBoxInfo.saleEndStringHours\",\"Ends in {amount} hours\",\"en\"],[\"MysteryBoxInfo.saleEndStringMinutes\",\"Ends in {amount} minutes\",\"en\"],[\"MysteryBoxRollModal.playAgainString\",\"Play Again for {cost}\",\"en\"],[\"MysteryBoxRollModal.playAgainXTimesString\",\"Play {repeat} Times for {cost}\",\"en\"],[\"MysteryBoxRollModal.youWonString\",\"You Won!\",\"en\"],[\"MysteryBoxRollModal.rewardsInVaultString\",\"Rewards will be placed in your Vault!\",\"en\"],[\"MysteryBoxRollModal.purchaseFailedString\",\"Purchase Failed\",\"en\"],[\"MysteryBoxRollModal.pleaseTryAgainString\",\"Please Try Again\",\"en\"],[\"MysteryBoxRollModal.okString\",\"OK\",\"en\"],[\"MysteryBoxError.outdated\",\"Outdated Mystery Box information\",\"en\"],[\"MysteryBoxError.maxPurchase\",\"You have reached the maximum purchase number of this box.\",\"en\"],[\"MysteryBoxError.maxPurchaseLeft\",\"You can purchase only {left} more of this box.\",\"en\"],[\"MysteryBoxError.noGold\",\"Not enough Gold\",\"en\"],[\"MysteryBoxError.noFame\",\"Not enough Fame\",\"en\"],[\"MysteryBoxError.soldOutAll\",\"Sorry, sold out\",\"en\"],[\"MysteryBoxError.box\",\"box\",\"en\"],[\"MysteryBoxError.boxes\",\"boxes\",\"en\"],[\"MysteryBoxError.soldOutLeft\",\"Only {left} {box} left.\",\"en\"],[\"MysteryBoxError.soldOutButton\",\"Sold out\",\"en\"],[\"MysteryBoxError.blockedForUser\",\"Sorry, your account is not eligible for this purchase only accounts created before {date} can purchase this offer\",\"en\"],[\"FortuneGroundPanel.play\",\"Play\",\"en\"],[\"FortuneGroundPanel.alchemist\",\"The Alchemist\",\"en\"],[\"Options.legal1\",\"Privacy Policy\",\"en\"],[\"Options.legal1Desc\",\"Privacy Policy for Realm of the Mad God\",\"en\"],[\"Options.legal2\",\"Terms of Service & EULA\",\"en\"],[\"Options.legal2Desc\",\"Terms of Service and End User License Agreement for Realm of the Mad God\",\"en\"],[\"Options.legalView\",\"View\",\"en\"],[\"Legal.tos1\",\"Our Privacy Policy, Terms of Service, and End User License Agreement have changed.\\\\n\\\\n\\\\nView changes:\",\"en\"],[\"Legal.tos2\",\"{policy}Privacy Policy{_policy}\\\\n\\\\n{tou}Terms of Service & EULA{_tou}\",\"en\"],[\"Options.Misc\",\"Misc\",\"en\"],[\"Options.ToggleUIQuality\",\"UI Quality\",\"en\"],[\"Options.ToggleUIQualityDesc\",\"Reduce UI quality to help performance\",\"en\"],[\"SecurityQuestionsDialog.title\",\"Set your security questions\",\"en\"],[\"SecurityQuestionsDialog.save\",\"Save\",\"en\"],[\"SecurityQuestionsDialog.tooShort\",\"Answer is too short (Min. {min}).\",\"en\"],[\"SecurityQuestionsDialog.tooLong\",\"Answer is too long\",\"en\"],[\"SecurityQuestionsDialog.wrongInputFormat\",\"Answer has invalid characters\",\"en\"],[\"SecurityQuestionsDialog.savingInProgress\",\"Saving in progress...\",\"en\"],[\"SecurityQuestionsDialog.wrongAnswersAmount\",\"Write answer for all questions\",\"en\"],[\"SecurityQuestionsDialog.question1\",\"Where did you go the first time you flew on a plane?\",\"en\"],[\"SecurityQuestionsDialog.question2\",\"What is your favorite sports team?\",\"en\"],[\"SecurityQuestionsDialog.question3\",\"What was your favorite childhood cartoon?\",\"en\"],[\"SecurityQuestionsInfoDialog.title\",\"New Account Security Feature - Read carefully\",\"en\"],[\"SecurityQuestionsInfoDialog.rightButton\",\"Continue\",\"en\"],[\"SecurityQuestionsInfoDialog.text\",\"To better protect your account, please answer the following security questions in the next screen.\\\\n\\\\nThese questions will be used to verify your account ownership in case there is a dispute or you lose access to your email.\\\\n\\\\n<font color=\\\\#7777EE\\\\>Note:</font> Once set, you will not be able to change your answers. Be sure to make the answers easy to remember but hard to guess. You will need to remember the answers for all questions.\",\"en\"],[\"SecurityQuestionsConfirmDialog.title\",\"Review your answers - then confirm\",\"en\"],[\"SecurityQuestionsConfirmDialog.text\",\"You will not be able to change these answers in the future.\",\"en\"],[\"SecurityQuestionsConfirmDialog.leftButton\",\"Back\",\"en\"],[\"SecurityQuestionsConfirmDialog.rightButton\",\"Confirm\",\"en\"],[\"server.unlocked_by\",\"Unlocked by {player}\",\"en\"],[\"server.dungeon_unlocked_by\",\"{dungeon} unlocked by {name}\",\"en\"],[\"server.opened_by\",\"Opened by {player}\",\"en\"],[\"server.dungeon_opened_by\",\"{dungeon} opened by {name}\",\"en\"],[\"server.immune\",\"Immune\",\"en\"],[\"server.slowed\",\"Slowed\",\"en\"],[\"server.only_named_accounts\",\"Only named accounts may use chat\",\"en\"],[\"server.cannot_tell_yourself\",\"You cannot tell yourself!\",\"en\"],[\"server.welcome\",\"Welcome to Realm of the Mad God\",\"en\"],[\"server.minion_food\",\"You are food for my minions!\",\"en\"],[\"server.keys_instruction\",\"Use [WASDQE] to move; click to shoot!\",\"en\"],[\"server.help_instruction\",\"Type /help for more help\",\"en\"],[\"server.must_be_named\",\"Only named accounts may use chat\",\"en\"],[\"server.chat_too_long\",\"Chat message is too long\",\"en\"],[\"server.invalid_chars\",\"Chat message contains invalid character\",\"en\"],[\"server.muted\",\"You have been muted\",\"en\"],[\"server.unknown_command\",\"Unrecognized command: {command}\",\"en\"],[\"server.not_admin\",\"You are not an admin\",\"en\"],[\"server.need_player\",\"Need a player object\",\"en\"],[\"server.no_self_ignore\",\"You can\'t ignore yourself!\",\"en\"],[\"server.no_self_unignore\",\"You can\'t unignore yourself!\",\"en\"],[\"server.player_not_found\",\"Unable to find player: {player}\",\"en\"],[\"server.added_to_ignore\",\"Added {player} to ignore list\",\"en\"],[\"server.removed_from_ignore\",\"Removed {player} from ignore list\",\"en\"],[\"server.teleport_needs_name\",\"You can only teleport to players who have selected a unique name.\",\"en\"],[\"server.teleport_to_self\",\"You are already at yourself and always will be.\",\"en\"],[\"server.resumed\",\"Game Resumed\",\"en\"],[\"server.not_safe_to_pause\",\"Not safe enough to pause!\",\"en\"],[\"server.paused\",\"Game Paused\",\"en\"],[\"server.admin_set\",\"Admin set\",\"en\"],[\"server.admin_cleared\",\"You are no longer an admin\",\"en\"],[\"server.unknown_object\",\"Unknown Object: {name}\",\"en\"],[\"server.moved_to\",\"Moved to {x},{y}\",\"en\"],[\"server.no_moved_to\",\"Cannot move to {x},{y}\",\"en\"],[\"server.numeric_price\",\"Price must be numeric\",\"en\"],[\"server.invalid_id\",\"Not a valid id: {id}\",\"en\"],[\"server.purchasing\",\"Purchasing {item} for {cost}\",\"en\"],[\"server.nexus_portal_restriction\",\"Must be in nexus to enter a nexus portal\",\"en\"],[\"server.nexus_portal_notfound\",\"Nexus portal not found: {realm}\",\"en\"],[\"server.entering_realm\",\"Entering {realm}\",\"en\"],[\"server.not_in_guild\",\"You are not in a guild.\",\"en\"],[\"server.trading_disabled\",\"Trading is currently disabled\",\"en\"],[\"server.you_already_trading\",\"You are already trading\",\"en\"],[\"server.unable_to_find_player\",\"Unable to find player {player}\",\"en\"],[\"server.self_trade\",\"Trading with yourself is too pointless to attempt.\",\"en\"],[\"server.they_already_trading\",\"{player} is already trading.\",\"en\"],[\"server.trade_needs_own_name\",\"You can only trade if you have selected a unique name.\",\"en\"],[\"server.trade_needs_their_name\",\"You can only trade with players who have selected a unique name.\",\"en\"],[\"server.trade_too_far\",\"{player} is too far away to trade with.\",\"en\"],[\"server.trade_requested\",\"You have requested a trade with {player}\",\"en\"],[\"server.cancelled_trade\",\"{player} cancelled the trade.\",\"en\"],[\"server.no_teleport_paused\",\"Can not teleport while paused\",\"en\"],[\"server.no_teleport_in_realm\",\"You cannot teleport while in {realm}\",\"en\"],[\"server.no_teleport_new_connect\",\"You need to wait at least {duration} seconds before a non guild member teleport.\",\"en\"],[\"server.teleport_cooldown\",\"You need to wait at least 10 seconds between teleports\",\"en\"],[\"server.no_teleport_to_paused\",\"Cannot teleport to paused player\",\"en\"],[\"server.no_teleport_to_invisible\",\"Can not teleport to {player} while they are invisible\",\"en\"],[\"server.potion_cooldown_active\",\"You cannot buy another potion yet\",\"en\"],[\"server.cooldown_info\",\"You cannot do that again for {duration} seconds\",\"en\"],[\"server.realm_full\",\"Realm is full\",\"en\"],[\"server.dungeon_full\",\"Dungeon is full\",\"en\"],[\"server.nosale_invalid_char\",\"Unable to buy: Invalid character\",\"en\"],[\"server.nosale_invalid_object\",\"Unable to buy: Invalid object\",\"en\"],[\"server.nosale_low_rank\",\"Unable to buy: Rank too low\",\"en\"],[\"server.nosale_out_of_sync\",\"Unable to buy: Fame price multiplier is out sync\",\"en\"],[\"server.nosale_invalid_price\",\"Unable to buy: Invalid price\",\"en\"],[\"server.break_item\",\"{player}\'s {item} breaks and he disappears\",\"en\"],[\"server.death\",\"{player} died at level {level}, killed by {enemy}\",\"en\"],[\"server.trade_timeout\",\"Your trade request has timed out.\",\"en\"],[\"server.self_invite\",\"Inviting yourself?\",\"en\"],[\"server.invite_notfound\",\"Cannot find {player}, player must have a unique name and be nearby to invite\",\"en\"],[\"server.invite_onestar\",\"Player must have at least one star to join a guild\",\"en\"],[\"server.invite_hasguild\",\"{player} is already a member of a guild\",\"en\"],[\"server.invite_succeed\",\"{player} has been invited to join {guild}\",\"en\"],[\"server.guild_join_fail\",\"Unable to join: {error}\",\"en\"],[\"server.guild_join\",\"{name} has joined {guild}\",\"en\"],[\"server.guild_not_invited\",\"You were not invited to join {guild}\",\"en\"],[\"server.inventory_full\",\"You cannot purchase when your inventory is full\",\"en\"],[\"server.not_enough_gold\",\"Not enough Gold for purchase.\",\"en\"],[\"server.not_enough_fame\",\"Not enough Fame for purchase.\",\"en\"],[\"server.buy_success\",\"Purchase Successful\",\"en\"],[\"server.nosale_invalid\",\"Unable to buy: Invalid character\",\"en\"],[\"server.nosale_gold\",\"Not enough Gold for purchase.\",\"en\"],[\"server.nosale_fame\",\"Not enough Fame for purchase.\",\"en\"],[\"server.sale_succeeds\",\"Purchase Successful\",\"en\"],[\"server.nosale_character\",\"Unable to buy: Invalid character\",\"en\"],[\"server.update_client\",\"Reload your browser to update client\",\"en\"],[\"server.nosale_status\",\"Unable to buy: Invalid status\",\"en\"],[\"server.rank_too_low\",\"Rank not high enough\",\"en\"],[\"server.offensive_name\",\"The chosen name contains an innappropriate word\",\"en\"],[\"server.duped_name\",\"Your account must have a unique name\",\"en\"],[\"server.already_nexus\",\"You are already in the nexus\",\"en\"],[\"server.new_gift\",\"New Gift in Vault\",\"en\"],[\"server.quest_complete\",\"Quest Complete!\",\"en\"],[\"server.level_up\",\"{name} achieved level {level}\",\"en\"],[\"server.chest_purchased\",\"Chest Purchased\",\"en\"],[\"server.oryx_impudence\",\"I WILL SUFFER NO MORE OF YOUR IMPUDENCE!\",\"en\"],[\"server.oryx_closed_realm\",\"I HAVE CLOSED THIS REALM! YOU WILL NOT LIVE TO SEE THE LIGHT OF DAY!\",\"en\"],[\"server.oryx_minions_failed\",\"MY MINIONS HAVE FAILED ME!\",\"en\"],[\"server.oryx_wrath\",\"BUT NOW YOU SHALL FEEL MY WRATH\",\"en\"],[\"server.oryx_castle\",\"COME MEET YOUR DOOM AT THE WALLS OF MY CASTLE\",\"en\"],[\"server.nexus\",\"Nexus\",\"en\"],[\"server.realm_of_the_mad_god\",\"Realm of the Mad God\",\"en\"],[\"server.vault\",\"Vault\",\"en\"],[\"server.vault_explanation\",\"Vault Explanation\",\"en\"],[\"server.tutorial\",\"Tutorial\",\"en\"],[\"server.nexus_explanation\",\"Nexus Explanation\",\"en\"],[\"server.nexus_tutorial\",\"Nexus Tutorial\",\"en\"],[\"server.oryx_s_castle\",\"Oryx\'s Castle\",\"en\"],[\"server.zombification\",\"{player}\'s {item} breaks and he turns into a zombie\",\"en\"],[\"server.kill_reason_decayed\",\"decayed\",\"en\"],[\"server.kill_reason_metamorphosed\",\"metamorphosed\",\"en\"],[\"server.kill_reason_exploded\",\"exploded\",\"en\"],[\"server.kill_reason_empty\",\"became empty\",\"en\"],[\"server.kill_reason_protectors_dead\",\"all protectors dead\",\"en\"],[\"server.kill_reason_detonated\",\"detonated\",\"en\"],[\"server.kill_reason_blewup\",\"blew up\",\"en\"],[\"server.kill_reason_eradicate\",\"eradicate\",\"en\"],[\"server.kill_reason_smite\",\"smite\",\"en\"],[\"server.kill_reason_genocide\",\"genocide\",\"en\"],[\"server.kill_reason_kill\",\"kill\",\"en\"],[\"server.kill_reason_portal_removed\",\"portal removed\",\"en\"],[\"server.damage_lightning\",\"lightning\",\"en\"],[\"server.damage_vampiric_blast\",\"vampiric blast\",\"en\"],[\"server.damage_daze_blast\",\"daze blast\",\"en\"],[\"server.damage_poison\",\"poison\",\"en\"],[\"server.damage_trap\",\"trap\",\"en\"],[\"server.damage_suffocation\",\"suffocation\",\"en\"],[\"server.damage_suicide\",\"suicide\",\"en\"],[\"server.damage_smite\",\"smite\",\"en\"],[\"server.guildhall\",\"Guild Hall\",\"en\"],[\"server.class_quest_complete\",\"Class Quest Completed!\",\"en\"],[\"server.no_effect\",\"No Effect\",\"en\"],[\"server.plus_symbol\",\"+ {amount}\",\"en\"],[\"server.petyard\",\"Pet Yard\",\"en\"],[\"server.fuse_successed\",\"You have successfully fused your pet\",\"en\"],[\"server.use_in_petyard\",\"You have to be in the pet yard to use this item\",\"en\"],[\"server.no_more_pets\",\"You cannot hatch more pets!\",\"en\"],[\"server.upgrade_petyard_first\",\"Upgrade your pet yard first!\",\"en\"],[\"server.fuse_need_two\",\"You need two pets to fuse!\",\"en\"],[\"server.no_pet_fuse\",\"You don\'t have the pet to fuse!\",\"en\"],[\"server.no_pet_sacrifice\",\"You don\'t have the pet to sacrifice!\",\"en\"],[\"server.fuse_different_rarity\",\"Two pets have to be in the same rarity in order to fuse!\",\"en\"],[\"server.pet_rarity_maxed\",\"Your pet is already at the top level\",\"en\"],[\"server.invalid_pet_id\",\"Invalid pet instanceId!\",\"en\"],[\"server.pet_abilities_maxed\",\"Your pet\'s abilities have already been Maxed, you cannot feed anymore without fusing your pet\",\"en\"],[\"server.petyard_maxed\",\"Your pet yard is already at the highest level!\",\"en\"],[\"server.yardupgrader_not_found\",\"The Pet yard Upgrader not found!\",\"en\"],[\"server.mysterious_condition\",\"Mysterious Condition\",\"en\"],[\"server.quiet\",\"Quiet\",\"en\"],[\"server.weak\",\"Weak\",\"en\"],[\"server.sick\",\"Sick\",\"en\"],[\"server.dazed\",\"Dazed\",\"en\"],[\"server.paralyzed\",\"Paralyzed\",\"en\"],[\"server.bleeding\",\"Bleeding\",\"en\"],[\"server.enter_the_portal\",\"Enter the Portal\",\"en\"],[\"server.kitchen\",\"Oryx\'s Kitchen\",\"en\"],[\"server.create_guild_error\",\"Guild Creation Error: {error}\",\"en\"],[\"server.trade_successful\",\"Trade Successful\",\"en\"],[\"server.trade_error\",\"Trade Error\",\"en\"],[\"server.trade_other_left\",\"Other player left the trade.\",\"en\"],[\"server.wine_cellar\",\"Wine Cellar\",\"en\"]]"); } private function onLanguageResponse(param1:String) : void { var _loc3_:* = null; this.strings.clear(); var _loc2_:Object = JSON.parse(param1); var _loc5_:int = 0; var _loc4_:* = _loc2_; for each(_loc3_ in _loc2_) { this.strings.setValue(_loc3_[0],_loc3_[1],_loc3_[2]); } PetRarityEnum.parseNames(); completeTask(true); } } }
package away3d.materials.methods { import away3d.arcane; import away3d.core.managers.Stage3DProxy; import away3d.materials.utils.ShaderRegisterCache; import away3d.materials.utils.ShaderRegisterElement; import flash.display3D.Context3D; import flash.display3D.Context3DProgramType; import flash.filters.ColorMatrixFilter; use namespace arcane; /** * ColorMatrixMethod provides a shading method that changes the colour of a material according to a ColorMatrixFilter * object. */ public class ColorMatrixMethod extends EffectMethodBase { private var _data:Vector.<Number>; private var _matrix : Array; /** * Creates a new ColorTransformMethod. */ public function ColorMatrixMethod(matrix : Array) { super(); if (matrix.length != 20) throw new Error("Matrix length must be 20!"); _matrix = matrix; } /** * The ColorMatrixFilter object to transform the color of the material. */ public function get colorMatrix():Array { return _matrix; } public function set colorMatrix(value:Array):void { _matrix = value; } /** * @inheritDoc */ override arcane function getFragmentCode(vo : MethodVO, regCache : ShaderRegisterCache, targetReg : ShaderRegisterElement) : String { var code : String = ""; var colorMultReg : ShaderRegisterElement = regCache.getFreeFragmentConstant(); regCache.getFreeFragmentConstant(); regCache.getFreeFragmentConstant(); regCache.getFreeFragmentConstant(); var colorOffsetReg : ShaderRegisterElement = regCache.getFreeFragmentConstant(); vo.fragmentConstantsIndex = colorMultReg.index*4; code += "m44 " + targetReg + ", " + targetReg + ", " + colorMultReg + "\n" + "add " + targetReg + ", " + targetReg + ", " + colorOffsetReg + "\n"; return code; } /** * @inheritDoc */ override arcane function activate(vo : MethodVO, stage3DProxy : Stage3DProxy) : void { var matrix:Array = _matrix; var index : int = vo.fragmentConstantsIndex; var data : Vector.<Number> = vo.fragmentData; // r data[index] = matrix[0]; data[index+1] = matrix[1]; data[index+2] = matrix[2]; data[index+3] = matrix[3]; // g data[index+4] = matrix[5]; data[index+5] = matrix[6]; data[index+6] = matrix[7]; data[index+7] = matrix[8]; // b data[index+8] = matrix[10]; data[index+9] = matrix[11]; data[index+10] = matrix[12]; data[index+11] = matrix[13]; // a data[index+12] = matrix[15]; data[index+13] = matrix[16]; data[index+14] = matrix[17]; data[index+15] = matrix[18]; // rgba offset data[index+16] = matrix[4]; data[index+17] = matrix[9]; data[index+18] = matrix[14]; data[index+19] = matrix[19]; } } }
package { import laya.display.Sprite; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class PerformanceTest_Cartoon { private var colAmount:int = 100; private var extraSpace:int = 50; private var moveSpeed:int = 2; private var rotateSpeed:int = 2; private var characterGroup:Array; public function PerformanceTest_Cartoon() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load("../../res/cartoonCharacters/cartoonCharactors.json", Handler.create(this, createCharacters), null, Loader.ATLAS); } private function createCharacters(e:*=null):void { characterGroup = []; for(var i:int = 0; i < colAmount; ++i) { var tx:int = (Laya.stage.width + extraSpace * 2) / colAmount * i - extraSpace; var tr:int = 360 / colAmount * i; var startY:int = (Laya.stage.height - 500) / 2; createCharacter("cartoonCharactors/1.png", 46, 50, tr).pos(tx, 50 + startY); createCharacter("cartoonCharactors/2.png", 34, 50, tr).pos(tx, 150 + startY); createCharacter("cartoonCharactors/3.png", 42, 50, tr).pos(tx, 250 + startY); createCharacter("cartoonCharactors/4.png", 48, 50, tr).pos(tx, 350 + startY); createCharacter("cartoonCharactors/5.png", 36, 50, tr).pos(tx, 450 + startY); } Laya.timer.frameLoop(1, this, animate); } private function createCharacter(skin:String, pivotX:int, pivotY:int, rotation:int):Sprite { var charactor:Sprite = new Sprite(); charactor.loadImage(skin); charactor.rotation = rotation; charactor.pivot(pivotX, pivotY); Laya.stage.addChild(charactor); characterGroup.push(charactor); return charactor; } private function animate():void { for(var i:int = characterGroup.length - 1; i >= 0; --i) { animateCharactor(characterGroup[i]); } } private function animateCharactor(charactor:Sprite):void { charactor.x += moveSpeed; charactor.rotation += rotateSpeed; if(charactor.x > Laya.stage.width + extraSpace) { charactor.x = -extraSpace; } } } }
/* * Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software * in a product, an acknowledgment in the product documentation would be * appreciated but is not required. * 2. Altered source versions must be plainly marked as such, and must not be * misrepresented as being the original software. * 3. This notice may not be removed or altered from any source distribution. */ package Box2D.Common.Math{ import Box2D.Common.*; /** * A 3-by-3 matrix. Stored in column-major order. */ public class b2Mat33 { public function b2Mat33(c1:b2Vec3=null, c2:b2Vec3=null, c3:b2Vec3=null) { if (!c1 && !c2 && !c3) { col1.SetZero(); col2.SetZero(); col3.SetZero(); } else { col1.SetV(c1); col2.SetV(c2); col3.SetV(c3); } } public function SetVVV(c1:b2Vec3, c2:b2Vec3, c3:b2Vec3) : void { col1.SetV(c1); col2.SetV(c2); col3.SetV(c3); } public function Copy():b2Mat33{ return new b2Mat33(col1, col2, col3); } public function SetM(m:b2Mat33) : void { col1.SetV(m.col1); col2.SetV(m.col2); col3.SetV(m.col3); } public function AddM(m:b2Mat33) : void { col1.x += m.col1.x; col1.y += m.col1.y; col1.z += m.col1.z; col2.x += m.col2.x; col2.y += m.col2.y; col2.z += m.col2.z; col3.x += m.col3.x; col3.y += m.col3.y; col3.z += m.col3.z; } public function SetIdentity() : void { col1.x = 1.0; col2.x = 0.0; col3.x = 0.0; col1.y = 0.0; col2.y = 1.0; col3.y = 0.0; col1.z = 0.0; col2.z = 0.0; col3.z = 1.0; } public function SetZero() : void { col1.x = 0.0; col2.x = 0.0; col3.x = 0.0; col1.y = 0.0; col2.y = 0.0; col3.y = 0.0; col1.z = 0.0; col2.z = 0.0; col3.z = 0.0; } // Solve A * x = b public function Solve22(out:b2Vec2, bX:Number, bY:Number):b2Vec2 { //float32 a11 = col1.x, a12 = col2.x, a21 = col1.y, a22 = col2.y; var a11:Number = col1.x; var a12:Number = col2.x; var a21:Number = col1.y; var a22:Number = col2.y; //float32 det = a11 * a22 - a12 * a21; var det:Number = a11 * a22 - a12 * a21; if (det != 0.0) { det = 1.0 / det; } out.x = det * (a22 * bX - a12 * bY); out.y = det * (a11 * bY - a21 * bX); return out; } // Solve A * x = b public function Solve33(out:b2Vec3, bX:Number, bY:Number, bZ:Number):b2Vec3 { var a11:Number = col1.x; var a21:Number = col1.y; var a31:Number = col1.z; var a12:Number = col2.x; var a22:Number = col2.y; var a32:Number = col2.z; var a13:Number = col3.x; var a23:Number = col3.y; var a33:Number = col3.z; //float32 det = b2Dot(col1, b2Cross(col2, col3)); var det:Number = a11 * (a22 * a33 - a32 * a23) + a21 * (a32 * a13 - a12 * a33) + a31 * (a12 * a23 - a22 * a13); if (det != 0.0) { det = 1.0 / det; } //out.x = det * b2Dot(b, b2Cross(col2, col3)); out.x = det * ( bX * (a22 * a33 - a32 * a23) + bY * (a32 * a13 - a12 * a33) + bZ * (a12 * a23 - a22 * a13) ); //out.y = det * b2Dot(col1, b2Cross(b, col3)); out.y = det * ( a11 * (bY * a33 - bZ * a23) + a21 * (bZ * a13 - bX * a33) + a31 * (bX * a23 - bY * a13)); //out.z = det * b2Dot(col1, b2Cross(col2, b)); out.z = det * ( a11 * (a22 * bZ - a32 * bY) + a21 * (a32 * bX - a12 * bZ) + a31 * (a12 * bY - a22 * bX)); return out; } public var col1:b2Vec3 = new b2Vec3(); public var col2:b2Vec3 = new b2Vec3(); public var col3:b2Vec3 = new b2Vec3(); }; }