home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 June / Chip_06_2000.iso / games / WheelofTime / WoTDemo.exe / System / Legend.u / GoalAbstracterInterf_LegendPawnNotification_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-11-02  |  9.0 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 4b 90 01 2f 2f 3d 3d 3d |........|K..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 4c |========|==..// L|
|00000060| 65 67 65 6e 64 50 61 77 | 6e 4e 6f 74 69 66 69 63 |egendPaw|nNotific|
|00000070| 61 74 69 6f 6e 2e 0d 0a | 2f 2f 20 24 41 75 74 68 |ation...|// $Auth|
|00000080| 6f 72 3a 20 4d 66 6f 78 | 20 24 0d 0a 2f 2f 20 24 |or: Mfox| $..// $|
|00000090| 44 61 74 65 3a 20 31 30 | 2f 32 36 2f 39 39 20 35 |Date: 10|/26/99 5|
|000000a0| 3a 33 38 70 20 24 0d 0a | 2f 2f 20 24 52 65 76 69 |:38p $..|// $Revi|
|000000b0| 73 69 6f 6e 3a 20 31 20 | 24 0d 0a 2f 2f 3d 3d 3d |sion: 1 |$..//===|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000100| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 0d 0a 0d 0a |========|==......|
|00000110| 2f 2f 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |//======|========|
|00000120| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000130| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000140| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000150| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0d |========|=======.|
|00000160| 0a 2f 2a 0d 0a 48 6f 77 | 20 74 6f 20 75 73 65 20 |./*..How| to use |
|00000170| 4c 50 4e 54 5f 46 6f 72 | 63 65 53 74 61 74 69 6f |LPNT_For|ceStatio|
|00000180| 6e 61 72 79 20 61 6e 64 | 20 4c 50 4e 54 5f 55 6e |nary and| LPNT_Un|
|00000190| 66 6f 72 63 65 53 74 61 | 74 69 6f 6e 61 72 79 3a |forceSta|tionary:|
|000001a0| 0d 0a 53 65 74 20 74 68 | 65 20 4e 49 5f 4e 6f 74 |..Set th|e NI_Not|
|000001b0| 69 66 69 63 61 74 69 6f | 6e 54 79 70 65 20 74 6f |ificatio|nType to|
|000001c0| 20 4c 50 4e 54 5f 46 6f | 72 63 65 53 74 61 74 69 | LPNT_Fo|rceStati|
|000001d0| 6f 6e 61 72 79 20 6f 72 | 20 4c 50 4e 54 5f 55 6e |onary or| LPNT_Un|
|000001e0| 66 6f 72 63 65 53 74 61 | 74 69 6f 6e 61 72 79 2e |forceSta|tionary.|
|000001f0| 0d 0a 4c 65 61 76 65 20 | 74 68 65 20 4e 49 5f 4e |..Leave |the NI_N|
|00000200| 6f 74 69 66 69 63 61 74 | 69 6f 6e 50 61 72 61 6d |otificat|ionParam|
|00000210| 73 49 6e 64 65 78 20 70 | 72 6f 70 65 72 74 79 20 |sIndex p|roperty |
|00000220| 76 61 6c 75 65 20 61 74 | 20 2d 31 2e 0d 0a 44 6f |value at| -1...Do|
|00000230| 6e 27 74 20 73 65 74 20 | 61 6e 79 74 68 69 6e 67 |n't set |anything|
|00000240| 20 69 6e 20 74 68 65 20 | 4e 6f 74 69 66 69 63 61 | in the |Notifica|
|00000250| 74 69 6f 6e 50 61 72 61 | 6d 73 20 61 72 72 61 79 |tionPara|ms array|
|00000260| 2e 0d 0a 0d 0a 48 6f 77 | 20 74 6f 20 75 73 65 20 |.....How| to use |
|00000270| 4c 50 4e 54 5f 47 6f 61 | 6c 4d 6f 64 69 66 79 3a |LPNT_Goa|lModify:|
|00000280| 0d 0a 0d 0a 53 65 6c 65 | 63 74 20 61 6e 20 69 74 |....Sele|ct an it|
|00000290| 65 6d 20 69 6e 20 74 68 | 65 20 4e 6f 74 69 66 69 |em in th|e Notifi|
|000002a0| 63 61 74 69 6f 6e 49 6e | 66 6f 73 20 61 72 72 61 |cationIn|fos arra|
|000002b0| 79 2e 0d 0a 53 65 74 20 | 74 68 65 20 4e 49 5f 4e |y...Set |the NI_N|
|000002c0| 6f 74 69 66 69 63 61 74 | 69 6f 6e 54 79 70 65 20 |otificat|ionType |
|000002d0| 74 6f 20 4c 50 4e 54 5f | 47 6f 61 6c 4d 6f 64 69 |to LPNT_|GoalModi|
|000002e0| 66 79 2e 0d 0a 53 65 74 | 20 74 68 65 20 4e 49 5f |fy...Set| the NI_|
|000002f0| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 50 61 72 61 |Notifica|tionPara|
|00000300| 6d 73 49 6e 64 65 78 20 | 74 6f 20 61 6e 20 75 6e |msIndex |to an un|
|00000310| 75 73 65 64 20 69 6e 64 | 65 78 20 69 6e 20 74 68 |used ind|ex in th|
|00000320| 65 20 4e 6f 74 69 66 69 | 63 61 74 69 6f 6e 50 61 |e Notifi|cationPa|
|00000330| 72 61 6d 73 20 61 72 72 | 61 79 2e 0d 0a 49 6e 20 |rams arr|ay...In |
|00000340| 74 68 65 20 61 73 73 6f | 63 69 61 74 65 64 20 69 |the asso|ciated i|
|00000350| 6e 64 65 78 20 69 6e 20 | 74 68 65 20 4e 6f 74 69 |ndex in |the Noti|
|00000360| 66 69 63 61 74 69 6f 6e | 50 61 72 61 6d 73 20 61 |fication|Params a|
|00000370| 72 72 61 79 20 73 65 74 | 20 75 70 20 74 68 65 20 |rray set| up the |
|00000380| 66 6f 6c 6c 6f 77 69 6e | 67 20 70 72 6f 70 65 72 |followin|g proper|
|00000390| 74 69 65 73 2e 0d 0a 0d | 0a 4e 50 5f 46 6c 6f 61 |ties....|.NP_Floa|
|000003a0| 74 30 20 6d 75 73 74 20 | 62 65 20 73 65 74 20 74 |t0 must |be set t|
|000003b0| 6f 20 30 2c 20 31 2c 20 | 32 2c 20 6f 72 20 33 2e |o 0, 1, |2, or 3.|
|000003c0| 20 54 68 65 73 65 20 76 | 61 6c 75 65 73 20 63 6f | These v|alues co|
|000003d0| 72 72 65 73 70 6f 6e 64 | 20 74 6f 20 74 68 65 0d |rrespond| to the.|
|000003e0| 0a 09 72 65 73 70 65 63 | 74 69 76 65 20 65 6c 65 |..respec|tive ele|
|000003f0| 6d 65 6e 74 73 20 6f 66 | 20 74 68 65 20 45 47 6f |ments of| the EGo|
|00000400| 61 6c 4d 6f 64 69 66 79 | 54 79 70 65 20 65 6e 75 |alModify|Type enu|
|00000410| 6d 65 72 61 74 69 6f 6e | 2e 0d 0a 4e 50 5f 46 6c |meration|...NP_Fl|
|00000420| 6f 61 74 31 20 63 61 6e | 20 62 65 20 73 65 74 20 |oat1 can| be set |
|00000430| 74 6f 20 61 6e 64 20 76 | 61 6c 75 65 20 74 68 61 |to and v|alue tha|
|00000440| 74 20 6d 61 6b 65 73 20 | 73 65 6e 73 65 20 66 6f |t makes |sense fo|
|00000450| 72 20 74 68 65 20 45 47 | 6f 61 6c 4d 6f 64 69 66 |r the EG|oalModif|
|00000460| 79 54 79 70 65 0d 0a 09 | 62 65 69 6e 67 20 75 73 |yType...|being us|
|00000470| 65 64 2e 0d 0a 4e 50 5f | 4e 61 6d 65 30 20 63 61 |ed...NP_|Name0 ca|
|00000480| 6e 20 62 65 20 73 65 74 | 20 74 6f 20 74 68 65 20 |n be set| to the |
|00000490| 6e 61 6d 65 20 6f 66 20 | 61 6e 79 20 67 6f 61 6c |name of |any goal|
|000004a0| 20 69 6e 20 74 68 65 20 | 6c 65 67 65 6e 64 20 70 | in the |legend p|
|000004b0| 61 77 6e 73 20 47 6f 61 | 6c 49 6e 66 6f 73 0d 0a |awns Goa|lInfos..|
|000004c0| 09 61 72 72 61 79 2e 20 | 54 68 65 73 65 20 6e 61 |.array. |These na|
|000004d0| 6d 65 73 20 63 61 6e 20 | 62 65 20 66 6f 75 6e 64 |mes can |be found|
|000004e0| 20 62 79 20 6c 6f 6f 6b | 69 6e 67 20 75 6e 64 65 | by look|ing unde|
|000004f0| 72 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 70 72 |r the de|fault pr|
|00000500| 6f 70 65 72 74 69 65 73 | 20 66 6f 72 0d 0a 09 74 |operties| for...t|
|00000510| 68 65 20 6e 70 63 20 75 | 6e 64 65 72 20 74 68 65 |he npc u|nder the|
|00000520| 20 67 72 6f 75 70 20 47 | 6f 61 6c 49 6e 66 6f 20 | group G|oalInfo |
|00000530| 69 6e 20 74 68 65 20 47 | 6f 61 6c 49 6e 66 6f 73 |in the G|oalInfos|
|00000540| 20 61 72 72 61 79 2e 20 | 54 68 65 20 63 75 72 72 | array. |The curr|
|00000550| 65 6e 74 20 76 61 6c 75 | 65 73 0d 0a 09 61 72 65 |ent valu|es...are|
|00000560| 20 54 68 72 65 61 74 2c | 20 45 78 74 65 72 6e 61 | Threat,| Externa|
|00000570| 6c 44 69 72 65 63 74 69 | 76 65 2c 20 52 65 66 75 |lDirecti|ve, Refu|
|00000580| 67 65 2c 20 47 75 61 72 | 64 69 6e 67 2c 20 43 6f |ge, Guar|ding, Co|
|00000590| 6c 6c 65 61 67 75 65 2c | 20 49 6e 74 65 72 6d 65 |lleague,| Interme|
|000005a0| 64 69 61 74 65 2c 0d 0a | 09 57 61 69 74 69 6e 67 |diate,..|.Waiting|
|000005b0| 2c 20 43 75 72 72 65 6e | 74 57 61 79 50 6f 69 6e |, Curren|tWayPoin|
|000005c0| 74 2c 20 43 75 72 72 65 | 6e 74 46 6f 63 75 73 2e |t, Curre|ntFocus.|
|000005d0| 20 49 74 20 69 73 20 70 | 6f 73 73 69 62 6c 65 20 | It is p|ossible |
|000005e0| 74 6f 20 61 74 74 65 6d | 70 74 20 74 6f 20 75 73 |to attem|pt to us|
|000005f0| 65 0d 0a 09 61 6e 79 20 | 6f 66 20 74 68 65 73 65 |e...any |of these|
|00000600| 20 6e 61 6d 65 20 62 75 | 74 20 6f 6e 6c 79 20 54 | name bu|t only T|
|00000610| 68 72 65 61 74 20 68 61 | 73 20 62 65 65 6e 20 74 |hreat ha|s been t|
|00000620| 65 73 74 65 64 20 61 6e | 64 20 63 6f 6e 66 69 72 |ested an|d confir|
|00000630| 6d 65 64 20 74 6f 20 77 | 6f 72 6b 2e 0d 0a 09 55 |med to w|ork....U|
|00000640| 73 65 20 6f 74 68 65 72 | 73 20 61 74 20 79 6f 75 |se other|s at you|
|00000650| 72 20 6f 77 6e 20 72 69 | 73 6b 2e 20 41 6c 73 6f |r own ri|sk. Also|
|00000660| 2c 20 74 68 65 20 45 78 | 74 65 72 6e 61 6c 44 69 |, the Ex|ternalDi|
|00000670| 72 65 63 74 69 76 65 20 | 6e 61 6d 65 20 69 73 20 |rective |name is |
|00000680| 6f 6e 6c 79 20 61 20 70 | 6c 61 63 65 0d 0a 09 68 |only a p|lace...h|
|00000690| 6f 6c 64 65 72 20 66 6f | 72 20 61 20 67 6c 6f 62 |older fo|r a glob|
|000006a0| 61 6c 6c 79 20 61 63 63 | 65 73 73 65 64 20 67 6f |ally acc|essed go|
|000006b0| 61 6c 20 28 70 6f 73 73 | 69 62 6c 79 20 66 72 6f |al (poss|ibly fro|
|000006c0| 6d 20 61 20 70 61 74 72 | 6f 6c 20 63 6f 6e 74 72 |m a patr|ol contr|
|000006d0| 6f 6c 6c 65 72 29 20 69 | 66 20 79 6f 75 0d 0a 09 |oller) i|f you...|
|000006e0| 6d 6f 64 69 66 79 20 74 | 68 69 73 20 67 6f 61 6c |modify t|his goal|
|000006f0| 20 74 68 65 20 63 68 61 | 6e 67 65 73 20 77 69 6c | the cha|nges wil|
|00000700| 6c 20 61 66 66 65 63 74 | 20 61 6c 6c 20 6e 70 63 |l affect| all npc|
|00000710| 73 20 75 73 69 6e 67 20 | 74 68 61 74 20 67 6f 61 |s using |that goa|
|00000720| 6c 2e 20 41 67 61 69 6e | 20 74 68 69 73 0d 0a 09 |l. Again| this...|
|00000730| 69 73 20 75 6e 74 65 73 | 74 65 64 20 73 6f 20 62 |is untes|ted so b|
|00000740| 65 20 61 66 72 61 69 64 | 21 0d 0a 0d 0a 45 78 61 |e afraid|!....Exa|
|00000750| 6d 70 6c 65 3a 20 4e 49 | 5f 4e 6f 74 69 66 69 63 |mple: NI|_Notific|
|00000760| 61 74 69 6f 6e 54 79 70 | 65 20 3d 3d 20 4c 50 4e |ationTyp|e == LPN|
|00000770| 54 5f 47 6f 61 6c 4d 6f | 64 69 66 79 0d 0a 09 09 |T_GoalMo|dify....|
|00000780| 20 4e 49 5f 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e | NI_Noti|fication|
|00000790| 50 61 72 61 6d 73 49 6e | 64 65 78 20 3d 3d 20 34 |ParamsIn|dex == 4|
|000007a0| 0d 0a 09 09 20 4e 6f 74 | 69 66 69 63 61 74 69 6f |.... Not|ificatio|
|000007b0| 6e 50 61 72 61 6d 73 5b | 20 34 20 5d 2e 4e 50 5f |nParams[| 4 ].NP_|
|000007c0| 46 6c 6f 61 74 30 20 3d | 3d 20 32 0d 0a 09 09 20 |Float0 =|= 2.... |
|000007d0| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 50 61 72 61 |Notifica|tionPara|
|000007e0| 6d 73 5b 20 34 20 5d 2e | 4e 50 5f 46 6c 6f 61 74 |ms[ 4 ].|NP_Float|
|000007f0| 31 20 3d 3d 20 35 0d 0a | 09 09 20 4e 6f 74 69 66 |1 == 5..|.. Notif|
|00000800| 69 63 61 74 69 6f 6e 50 | 61 72 61 6d 73 5b 20 34 |icationP|arams[ 4|
|00000810| 20 5d 2e 4e 50 5f 46 6c | 6f 61 74 33 20 28 75 6e | ].NP_Fl|oat3 (un|
|00000820| 75 73 65 64 29 0d 0a 09 | 09 20 4e 6f 74 69 66 69 |used)...|. Notifi|
|00000830| 63 61 74 69 6f 6e 50 61 | 72 61 6d 73 5b 20 34 20 |cationPa|rams[ 4 |
|00000840| 5d 2e 4e 50 5f 4e 61 6d | 65 30 20 3d 3d 20 54 68 |].NP_Nam|e0 == Th|
|00000850| 72 65 61 74 0d 0a 09 09 | 20 4e 6f 74 69 66 69 63 |reat....| Notific|
|00000860| 61 74 69 6f 6e 50 61 72 | 61 6d 73 5b 20 34 20 5d |ationPar|ams[ 4 ]|
|00000870| 2e 4e 50 5f 4e 61 6d 65 | 31 20 28 75 6e 75 73 65 |.NP_Name|1 (unuse|
|00000880| 64 29 0d 0a 09 09 20 4e | 6f 74 69 66 69 63 61 74 |d).... N|otificat|
|00000890| 69 6f 6e 50 61 72 61 6d | 73 5b 20 34 20 5d 2e 4e |ionParam|s[ 4 ].N|
|000008a0| 50 5f 53 74 72 69 6e 67 | 30 20 28 75 6e 75 73 65 |P_String|0 (unuse|
|000008b0| 64 29 0d 0a 09 09 20 0d | 0a 54 68 65 20 61 62 6f |d).... .|.The abo|
|000008c0| 76 65 20 77 69 6c 6c 20 | 72 65 73 75 6c 74 20 69 |ve will |result i|
|000008d0| 6e 20 74 68 65 20 4f 62 | 73 65 72 76 69 6e 67 20 |n the Ob|serving |
|000008e0| 6c 65 67 65 6e 64 20 70 | 61 77 6e 27 73 20 67 6f |legend p|awn's go|
|000008f0| 61 6c 20 77 69 74 68 20 | 74 68 65 20 6e 61 6d 65 |al with |the name|
|00000900| 20 6f 66 0d 0a 27 74 68 | 72 65 61 74 27 20 68 61 | of..'th|reat' ha|
|00000910| 76 69 6e 67 20 69 74 73 | 20 70 72 69 6f 72 69 74 |ving its| priorit|
|00000920| 79 20 69 6e 63 72 65 6d | 65 6e 74 65 64 20 62 79 |y increm|ented by|
|00000930| 20 74 68 65 20 76 61 6c | 75 65 20 35 2e 0d 0a 0d | the val|ue 5....|
|00000940| 0a 48 6f 77 20 74 6f 20 | 75 73 65 20 4c 50 4e 54 |.How to |use LPNT|
|00000950| 5f 48 61 6e 64 6c 65 48 | 69 6e 74 3a 20 44 4f 4e |_HandleH|int: DON|
|00000960| 54 21 21 21 20 49 74 20 | 69 73 20 73 74 69 6c 6c |T!!! It |is still|
|00000970| 20 75 6e 64 65 72 20 64 | 65 76 65 6c 6f 70 6d 65 | under d|evelopme|
|00000980| 6e 74 21 0d 0a 48 6f 77 | 20 74 6f 20 75 73 65 20 |nt!..How| to use |
|00000990| 4c 50 4e 54 5f 55 73 65 | 3a 20 44 4f 4e 54 21 21 |LPNT_Use|: DONT!!|
|000009a0| 21 20 49 74 20 69 73 20 | 73 74 69 6c 6c 20 75 6e |! It is |still un|
|000009b0| 64 65 72 20 64 65 76 65 | 6c 6f 70 6d 65 6e 74 21 |der deve|lopment!|
|000009c0| 0d 0a 2a 2f 0d 0a 2f 2f | 3d 3d 3d 3d 3d 3d 3d 3d |..*/..//|========|
|000009d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000009e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000009f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000a00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000a10| 3d 3d 3d 3d 3d 0d 0a 0d | 0a 63 6c 61 73 73 20 4c |=====...|.class L|
|00000a20| 65 67 65 6e 64 50 61 77 | 6e 4e 6f 74 69 66 69 63 |egendPaw|nNotific|
|00000a30| 61 74 69 6f 6e 20 65 78 | 70 61 6e 64 73 20 4f 62 |ation ex|pands Ob|
|00000a40| 73 65 72 76 61 62 6c 65 | 44 69 72 65 63 74 69 76 |servable|Directiv|
|00000a50| 65 3b 0d 0a 0d 0a 65 6e | 75 6d 20 45 4c 65 67 65 |e;....en|um ELege|
|00000a60| 6e 64 50 61 77 6e 4e 6f | 74 69 66 69 63 61 74 69 |ndPawnNo|tificati|
|00000a70| 6f 6e 54 79 70 65 0d 0a | 7b 0d 0a 09 4c 50 4e 54 |onType..|{...LPNT|
|00000a80| 5f 4e 6f 6e 65 2c 0d 0a | 09 4c 50 4e 54 5f 46 6f |_None,..|.LPNT_Fo|
|00000a90| 72 63 65 53 74 61 74 69 | 6f 6e 61 72 79 2c 0d 0a |rceStati|onary,..|
|00000aa0| 09 4c 50 4e 54 5f 55 6e | 66 6f 72 63 65 53 74 61 |.LPNT_Un|forceSta|
|00000ab0| 74 69 6f 6e 61 72 79 2c | 0d 0a 09 4c 50 4e 54 5f |tionary,|...LPNT_|
|00000ac0| 47 6f 61 6c 4d 6f 64 69 | 66 79 2c 0d 0a 09 4c 50 |GoalModi|fy,...LP|
|00000ad0| 4e 54 5f 48 61 6e 64 6c | 65 48 69 6e 74 2c 0d 0a |NT_Handl|eHint,..|
|00000ae0| 09 4c 50 4e 54 5f 55 73 | 65 2c 0d 0a 09 4c 50 4e |.LPNT_Us|e,...LPN|
|00000af0| 54 5f 46 6f 72 63 65 44 | 6f 72 6d 61 6e 74 2c 0d |T_ForceD|ormant,.|
|00000b00| 0a 09 4c 50 4e 54 5f 55 | 6e 46 6f 72 63 65 44 6f |..LPNT_U|nForceDo|
|00000b10| 72 6d 61 6e 74 0d 0a 7d | 3b 0d 0a 0d 0a 73 74 72 |rmant..}|;....str|
|00000b20| 75 63 74 20 54 4e 6f 74 | 69 66 69 63 61 74 69 6f |uct TNot|ificatio|
|00000b30| 6e 49 6e 66 6f 0d 0a 7b | 0d 0a 09 76 61 72 20 28 |nInfo..{|...var (|
|00000b40| 29 20 45 4c 65 67 65 6e | 64 50 61 77 6e 4e 6f 74 |) ELegen|dPawnNot|
|00000b50| 69 66 69 63 61 74 69 6f | 6e 54 79 70 65 20 4e 49 |ificatio|nType NI|
|00000b60| 5f 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 54 79 70 |_Notific|ationTyp|
|00000b70| 65 3b 0d 0a 09 76 61 72 | 20 28 29 20 69 6e 74 20 |e;...var| () int |
|00000b80| 4e 49 5f 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 50 |NI_Notif|icationP|
|00000b90| 61 72 61 6d 73 49 6e 64 | 65 78 3b 0d 0a 7d 3b 0d |aramsInd|ex;..};.|
|00000ba0| 0a 0d 0a 73 74 72 75 63 | 74 20 54 4e 6f 74 69 66 |...struc|t TNotif|
|00000bb0| 69 63 61 74 69 6f 6e 50 | 61 72 61 6d 73 0d 0a 7b |icationP|arams..{|
|00000bc0| 0d 0a 09 76 61 72 20 28 | 29 20 66 6c 6f 61 74 20 |...var (|) float |
|00000bd0| 4e 50 5f 46 6c 6f 61 74 | 30 3b 0d 0a 09 76 61 72 |NP_Float|0;...var|
|00000be0| 20 28 29 20 66 6c 6f 61 | 74 20 4e 50 5f 46 6c 6f | () floa|t NP_Flo|
|00000bf0| 61 74 31 3b 0d 0a 09 76 | 61 72 20 28 29 20 66 6c |at1;...v|ar () fl|
|00000c00| 6f 61 74 20 4e 50 5f 46 | 6c 6f 61 74 32 3b 0d 0a |oat NP_F|loat2;..|
|00000c10| 09 76 61 72 20 28 29 20 | 66 6c 6f 61 74 20 4e 50 |.var () |float NP|
|00000c20| 5f 46 6c 6f 61 74 33 3b | 0d 0a 09 76 61 72 20 28 |_Float3;|...var (|
|00000c30| 29 20 4e 61 6d 65 20 4e | 50 5f 4e 61 6d 65 30 3b |) Name N|P_Name0;|
|00000c40| 0d 0a 09 76 61 72 20 28 | 29 20 4e 61 6d 65 20 4e |...var (|) Name N|
|00000c50| 50 5f 4e 61 6d 65 31 3b | 0d 0a 09 76 61 72 20 28 |P_Name1;|...var (|
|00000c60| 29 20 73 74 72 69 6e 67 | 20 4e 50 5f 53 74 72 69 |) string| NP_Stri|
|00000c70| 6e 67 30 3b 0d 0a 7d 3b | 0d 0a 0d 0a 65 6e 75 6d |ng0;..};|....enum|
|00000c80| 20 45 47 6f 61 6c 4d 6f | 64 69 66 79 54 79 70 65 | EGoalMo|difyType|
|00000c90| 0d 0a 7b 0d 0a 09 47 4d | 54 5f 4e 6f 6e 65 2c 0d |..{...GM|T_None,.|
|00000ca0| 0a 09 47 4d 54 5f 50 72 | 69 6f 72 69 74 79 53 65 |..GMT_Pr|ioritySe|
|00000cb0| 74 2c 0d 0a 09 47 4d 54 | 5f 50 72 69 6f 72 69 74 |t,...GMT|_Priorit|
|00000cc0| 79 49 6e 63 72 65 6d 65 | 6e 74 2c 0d 0a 09 47 4d |yIncreme|nt,...GM|
|00000cd0| 54 5f 50 72 69 6f 72 69 | 74 79 44 65 63 72 65 6d |T_Priori|tyDecrem|
|00000ce0| 65 6e 74 2c 0d 0a 7d 3b | 0d 0a 0d 0a 2f 2a 0d 0a |ent,..};|..../*..|
|00000cf0| 2f 2f 78 78 78 72 6c 6f | 66 75 74 72 65 0d 0a 65 |//xxxrlo|futre..e|
|00000d00| 6e 75 6d 20 45 57 6f 74 | 48 69 6e 74 0d 0a 7b 0d |num EWot|Hint..{.|
|00000d10| 0a 09 57 48 5f 47 72 75 | 6e 74 5f 53 77 69 74 63 |..WH_Gru|nt_Switc|
|00000d20| 68 50 72 6f 6a 65 63 74 | 69 6c 65 57 65 61 70 6f |hProject|ileWeapo|
|00000d30| 6e 2c 0d 0a 09 57 48 5f | 47 72 75 6e 74 5f 53 77 |n,...WH_|Grunt_Sw|
|00000d40| 69 74 63 68 4d 65 6c 65 | 65 57 65 61 70 6f 6e 2c |itchMele|eWeapon,|
|00000d50| 0d 0a 09 57 48 5f 47 72 | 75 6e 74 5f 50 72 65 66 |...WH_Gr|unt_Pref|
|00000d60| 65 72 50 72 6f 6a 65 63 | 74 69 6c 65 57 65 61 70 |erProjec|tileWeap|
|00000d70| 6f 6e 2c 0d 0a 09 57 48 | 5f 47 72 75 6e 74 5f 50 |on,...WH|_Grunt_P|
|00000d80| 72 65 66 65 72 4d 65 6c | 65 65 57 65 61 70 6f 6e |referMel|eeWeapon|
|00000d90| 2c 0d 0a 09 57 48 5f 41 | 6e 67 72 65 61 6c 55 73 |,...WH_A|ngrealUs|
|00000da0| 65 72 5f 55 73 65 41 6e | 67 72 65 61 6c 2c 0d 0a |er_UseAn|greal,..|
|00000db0| 09 57 48 5f 41 6e 67 72 | 65 61 6c 55 73 65 72 5f |.WH_Angr|ealUser_|
|00000dc0| 55 73 65 53 70 65 63 69 | 66 69 63 41 6e 67 72 65 |UseSpeci|ficAngre|
|00000dd0| 61 6c 0d 0a 7d 3b 0d 0a | 2a 2f 0d 0a 0d 0a 76 61 |al..};..|*/....va|
|00000de0| 72 20 28 29 20 70 72 69 | 76 61 74 65 20 69 6e 74 |r () pri|vate int|
|00000df0| 20 43 75 72 72 65 6e 74 | 4e 6f 74 69 66 69 63 61 | Current|Notifica|
|00000e00| 74 69 6f 6e 49 6e 66 6f | 49 6e 64 65 78 3b 0d 0a |tionInfo|Index;..|
|00000e10| 76 61 72 20 28 29 20 70 | 72 69 76 61 74 65 20 54 |var () p|rivate T|
|00000e20| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 49 6e 66 6f |Notifica|tionInfo|
|00000e30| 20 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 49 6e 66 | Notific|ationInf|
|00000e40| 6f 73 5b 20 33 32 20 5d | 3b 0d 0a 76 61 72 20 28 |os[ 32 ]|;..var (|
|00000e50| 29 20 70 72 69 76 61 74 | 65 20 54 4e 6f 74 69 66 |) privat|e TNotif|
|00000e60| 69 63 61 74 69 6f 6e 50 | 61 72 61 6d 73 20 4e 6f |icationP|arams No|
|00000e70| 74 69 66 69 63 61 74 69 | 6f 6e 50 61 72 61 6d 73 |tificati|onParams|
|00000e80| 5b 20 33 32 20 5d 3b 0d | 0a 0d 0a 63 6f 6e 73 74 |[ 32 ];.|...const|
|00000e90| 20 49 6e 76 61 6c 69 64 | 4e 6f 74 69 66 69 63 61 | Invalid|Notifica|
|00000ea0| 74 69 6f 6e 50 61 72 61 | 6d 49 6e 64 65 78 20 3d |tionPara|mIndex =|
|00000eb0| 20 2d 31 3b 0d 0a 63 6f | 6e 73 74 20 49 6e 76 61 | -1;..co|nst Inva|
|00000ec0| 6c 69 64 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 49 |lidNotif|icationI|
|00000ed0| 6e 66 6f 49 6e 64 65 78 | 20 3d 20 2d 31 3b 0d 0a |nfoIndex| = -1;..|
|00000ee0| 0d 0a 0d 0a 0d 0a 65 76 | 65 6e 74 20 62 6f 6f 6c |......ev|ent bool|
|00000ef0| 20 49 73 4f 62 73 65 72 | 76 65 72 49 67 6e 6f 72 | IsObser|verIgnor|
|00000f00| 65 64 28 20 41 63 74 6f | 72 20 4f 62 73 65 72 76 |ed( Acto|r Observ|
|00000f10| 65 72 2c 20 50 61 77 6e | 20 45 76 65 6e 74 49 6e |er, Pawn| EventIn|
|00000f20| 73 74 69 67 61 74 6f 72 | 20 29 0d 0a 7b 0d 0a 09 |stigator| )..{...|
|00000f30| 72 65 74 75 72 6e 20 21 | 4f 62 73 65 72 76 65 72 |return !|Observer|
|00000f40| 2e 49 73 41 28 20 27 4c | 65 67 65 6e 64 50 61 77 |.IsA( 'L|egendPaw|
|00000f50| 6e 27 20 29 3b 20 2f 2f | 74 68 69 73 20 64 69 72 |n' ); //|this dir|
|00000f60| 65 63 74 69 76 65 20 6f | 6e 6c 79 20 61 70 70 6c |ective o|nly appl|
|00000f70| 69 65 73 20 74 6f 20 6c | 65 67 65 6e 64 20 70 61 |ies to l|egend pa|
|00000f80| 77 6e 73 0d 0a 7d 0d 0a | 0d 0a 0d 0a 0d 0a 66 75 |wns..}..|......fu|
|00000f90| 6e 63 74 69 6f 6e 20 4d | 65 64 69 61 74 6f 72 44 |nction M|ediatorD|
|00000fa0| 69 72 65 63 74 4f 62 73 | 65 72 76 65 72 28 20 44 |irectObs|erver( D|
|00000fb0| 69 72 65 63 74 69 76 65 | 4d 65 64 69 61 74 6f 72 |irective|Mediator|
|00000fc0| 20 4d 65 64 69 61 74 6f | 72 20 29 0d 0a 7b 0d 0a | Mediato|r )..{..|
|00000fd0| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 4d 65 64 69 61 |.local i|nt Media|
|00000fe0| 74 6f 72 49 6e 66 6f 49 | 6e 64 65 78 3b 0d 0a 09 |torInfoI|ndex;...|
|00000ff0| 63 6c 61 73 73 27 44 65 | 62 75 67 27 2e 73 74 61 |class'De|bug'.sta|
|00001000| 74 69 63 2e 44 65 62 75 | 67 4c 6f 67 28 20 53 65 |tic.Debu|gLog( Se|
|00001010| 6c 66 2c 20 22 4d 65 64 | 69 61 74 6f 72 44 69 72 |lf, "Med|iatorDir|
|00001020| 65 63 74 4f 62 73 65 72 | 76 65 72 20 4d 65 64 69 |ectObser|ver Medi|
|00001030| 61 74 6f 72 20 22 20 24 | 20 4d 65 64 69 61 74 6f |ator " $| Mediato|
|00001040| 72 2c 20 27 4c 65 67 65 | 6e 64 50 61 77 6e 4e 6f |r, 'Lege|ndPawnNo|
|00001050| 74 69 66 69 63 61 74 69 | 6f 6e 27 20 29 3b 0d 0a |tificati|on' );..|
|00001060| 09 69 66 28 20 4d 65 64 | 69 61 74 6f 72 2e 49 73 |.if( Med|iator.Is|
|00001070| 41 28 20 27 4c 65 67 65 | 6e 64 50 61 77 6e 4e 6f |A( 'Lege|ndPawnNo|
|00001080| 74 69 66 69 63 61 74 69 | 6f 6e 4d 65 64 69 61 74 |tificati|onMediat|
|00001090| 6f 72 27 20 29 20 29 0d | 0a 09 7b 0d 0a 09 09 4d |or' ) ).|..{....M|
|000010a0| 65 64 69 61 74 6f 72 49 | 6e 66 6f 49 6e 64 65 78 |ediatorI|nfoIndex|
|000010b0| 20 3d 20 4c 65 67 65 6e | 64 50 61 77 6e 4e 6f 74 | = Legen|dPawnNot|
|000010c0| 69 66 69 63 61 74 69 6f | 6e 4d 65 64 69 61 74 6f |ificatio|nMediato|
|000010d0| 72 28 20 4d 65 64 69 61 | 74 6f 72 20 29 2e 4c 65 |r( Media|tor ).Le|
|000010e0| 67 65 6e 64 50 61 77 6e | 4e 6f 74 69 66 69 63 61 |gendPawn|Notifica|
|000010f0| 74 69 6f 6e 49 6e 66 6f | 49 6e 64 65 78 3b 0d 0a |tionInfo|Index;..|
|00001100| 09 09 69 66 28 20 28 20 | 4d 65 64 69 61 74 6f 72 |..if( ( |Mediator|
|00001110| 49 6e 66 6f 49 6e 64 65 | 78 20 3e 3d 20 30 20 29 |InfoInde|x >= 0 )|
|00001120| 20 26 26 20 28 20 4d 65 | 64 69 61 74 6f 72 49 6e | && ( Me|diatorIn|
|00001130| 66 6f 49 6e 64 65 78 20 | 3c 20 41 72 72 61 79 43 |foIndex |< ArrayC|
|00001140| 6f 75 6e 74 28 20 4e 6f | 74 69 66 69 63 61 74 69 |ount( No|tificati|
|00001150| 6f 6e 49 6e 66 6f 73 20 | 29 20 29 20 29 0d 0a 09 |onInfos |) ) )...|
|00001160| 09 7b 0d 0a 09 09 09 43 | 75 72 72 65 6e 74 4e 6f |.{.....C|urrentNo|
|00001170| 74 69 66 69 63 61 74 69 | 6f 6e 49 6e 66 6f 49 6e |tificati|onInfoIn|
|00001180| 64 65 78 20 3d 20 4d 65 | 64 69 61 74 6f 72 49 6e |dex = Me|diatorIn|
|00001190| 66 6f 49 6e 64 65 78 3b | 0d 0a 09 09 09 53 75 70 |foIndex;|.....Sup|
|000011a0| 65 72 2e 4d 65 64 69 61 | 74 6f 72 44 69 72 65 63 |er.Media|torDirec|
|000011b0| 74 4f 62 73 65 72 76 65 | 72 28 20 4d 65 64 69 61 |tObserve|r( Media|
|000011c0| 74 6f 72 20 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |tor );..|..}...}.|
|000011d0| 0a 7d 0d 0a 0d 0a 0d 0a | 0d 0a 66 75 6e 63 74 69 |.}......|..functi|
|000011e0| 6f 6e 20 44 69 72 65 63 | 74 4f 62 73 65 72 76 65 |on Direc|tObserve|
|000011f0| 72 28 20 41 63 74 6f 72 | 20 4f 62 73 65 72 76 65 |r( Actor| Observe|
|00001200| 72 2c 20 50 61 77 6e 20 | 45 76 65 6e 74 49 6e 73 |r, Pawn |EventIns|
|00001210| 74 69 67 61 74 6f 72 20 | 29 0d 0a 7b 0d 0a 09 63 |tigator |)..{...c|
|00001220| 6c 61 73 73 27 44 65 62 | 75 67 27 2e 73 74 61 74 |lass'Deb|ug'.stat|
|00001230| 69 63 2e 44 65 62 75 67 | 4c 6f 67 28 20 53 65 6c |ic.Debug|Log( Sel|
|00001240| 66 2c 20 22 44 69 72 65 | 63 74 4f 62 73 65 72 76 |f, "Dire|ctObserv|
|00001250| 65 72 20 4f 62 73 65 72 | 76 65 72 20 22 24 20 4f |er Obser|ver "$ O|
|00001260| 62 73 65 72 76 65 72 2c | 20 27 4c 65 67 65 6e 64 |bserver,| 'Legend|
|00001270| 50 61 77 6e 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |PawnNoti|fication|
|00001280| 27 20 29 3b 0d 0a 09 69 | 66 28 20 47 65 74 4e 6f |' );...i|f( GetNo|
|00001290| 74 69 66 69 63 61 74 69 | 6f 6e 49 6e 66 6f 49 6e |tificati|onInfoIn|
|000012a0| 64 65 78 28 29 20 29 0d | 0a 09 7b 0d 0a 09 09 53 |dex() ).|..{....S|
|000012b0| 75 70 65 72 2e 44 69 72 | 65 63 74 4f 62 73 65 72 |uper.Dir|ectObser|
|000012c0| 76 65 72 28 20 4f 62 73 | 65 72 76 65 72 2c 20 45 |ver( Obs|erver, E|
|000012d0| 76 65 6e 74 49 6e 73 74 | 69 67 61 74 6f 72 20 29 |ventInst|igator )|
|000012e0| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 0d 0a 0d 0a |;...}..}|........|
|000012f0| 66 75 6e 63 74 69 6f 6e | 20 62 6f 6f 6c 20 47 65 |function| bool Ge|
|00001300| 74 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 49 6e 66 |tNotific|ationInf|
|00001310| 6f 49 6e 64 65 78 28 20 | 6f 70 74 69 6f 6e 61 6c |oIndex( |optional|
|00001320| 20 6f 75 74 20 69 6e 74 | 20 4e 6f 74 69 66 69 63 | out int| Notific|
|00001330| 61 74 69 6f 6e 49 6e 66 | 6f 49 6e 64 65 78 20 29 |ationInf|oIndex )|
|00001340| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 62 6f 6f 6c |..{...lo|cal bool|
|00001350| 20 62 47 65 74 4e 6f 74 | 69 66 69 63 61 74 69 6f | bGetNot|ificatio|
|00001360| 6e 49 6e 66 6f 49 6e 64 | 65 78 3b 0d 0a 09 69 66 |nInfoInd|ex;...if|
|00001370| 28 20 28 20 43 75 72 72 | 65 6e 74 4e 6f 74 69 66 |( ( Curr|entNotif|
|00001380| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 49 6e 64 65 78 |icationI|nfoIndex|
|00001390| 20 3e 3d 20 30 20 29 20 | 26 26 20 28 20 43 75 72 | >= 0 ) |&& ( Cur|
|000013a0| 72 65 6e 74 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |rentNoti|fication|
|000013b0| 49 6e 66 6f 49 6e 64 65 | 78 20 3c 20 41 72 72 61 |InfoInde|x < Arra|
|000013c0| 79 43 6f 75 6e 74 28 20 | 4e 6f 74 69 66 69 63 61 |yCount( |Notifica|
|000013d0| 74 69 6f 6e 49 6e 66 6f | 73 20 29 20 29 20 29 0d |tionInfo|s ) ) ).|
|000013e0| 0a 09 7b 0d 0a 09 09 4e | 6f 74 69 66 69 63 61 74 |..{....N|otificat|
|000013f0| 69 6f 6e 49 6e 66 6f 49 | 6e 64 65 78 20 3d 20 43 |ionInfoI|ndex = C|
|00001400| 75 72 72 65 6e 74 4e 6f | 74 69 66 69 63 61 74 69 |urrentNo|tificati|
|00001410| 6f 6e 49 6e 66 6f 49 6e | 64 65 78 3b 0d 0a 09 09 |onInfoIn|dex;....|
|00001420| 62 47 65 74 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |bGetNoti|fication|
|00001430| 49 6e 66 6f 49 6e 64 65 | 78 20 3d 20 74 72 75 65 |InfoInde|x = true|
|00001440| 3b 0d 0a 09 7d 0d 0a 09 | 72 65 74 75 72 6e 20 62 |;...}...|return b|
|00001450| 47 65 74 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 49 |GetNotif|icationI|
|00001460| 6e 66 6f 49 6e 64 65 78 | 3b 0d 0a 7d 0d 0a 0d 0a |nfoIndex|;..}....|
|00001470| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 53 65 74 |....func|tion Set|
|00001480| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 49 6e 66 6f |Notifica|tionInfo|
|00001490| 49 6e 64 65 78 28 20 69 | 6e 74 20 4e 6f 74 69 66 |Index( i|nt Notif|
|000014a0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 49 6e 64 65 78 |icationI|nfoIndex|
|000014b0| 20 29 0d 0a 7b 0d 0a 09 | 43 75 72 72 65 6e 74 4e | )..{...|CurrentN|
|000014c0| 6f 74 69 66 69 63 61 74 | 69 6f 6e 49 6e 66 6f 49 |otificat|ionInfoI|
|000014d0| 6e 64 65 78 20 3d 20 4e | 6f 74 69 66 69 63 61 74 |ndex = N|otificat|
|000014e0| 69 6f 6e 49 6e 66 6f 49 | 6e 64 65 78 3b 0d 0a 7d |ionInfoI|ndex;..}|
|000014f0| 0d 0a 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |........|function|
|00001500| 20 62 6f 6f 6c 20 47 65 | 74 4e 6f 74 69 66 69 63 | bool Ge|tNotific|
|00001510| 61 74 69 6f 6e 50 61 72 | 61 6d 73 49 6e 64 65 78 |ationPar|amsIndex|
|00001520| 28 20 6f 75 74 20 69 6e | 74 20 4e 6f 74 69 66 69 |( out in|t Notifi|
|00001530| 63 61 74 69 6f 6e 50 61 | 72 61 6d 73 49 6e 64 65 |cationPa|ramsInde|
|00001540| 78 20 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 69 |x )..{..|.local i|
|00001550| 6e 74 20 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 49 |nt Notif|icationI|
|00001560| 6e 66 6f 49 6e 64 65 78 | 3b 0d 0a 09 69 66 28 20 |nfoIndex|;...if( |
|00001570| 47 65 74 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 49 |GetNotif|icationI|
|00001580| 6e 66 6f 49 6e 64 65 78 | 28 20 4e 6f 74 69 66 69 |nfoIndex|( Notifi|
|00001590| 63 61 74 69 6f 6e 49 6e | 66 6f 49 6e 64 65 78 20 |cationIn|foIndex |
|000015a0| 29 20 26 26 0d 0a 09 09 | 09 28 20 4e 6f 74 69 66 |) &&....|.( Notif|
|000015b0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 73 5b 20 4e 6f |icationI|nfos[ No|
|000015c0| 74 69 66 69 63 61 74 69 | 6f 6e 49 6e 66 6f 49 6e |tificati|onInfoIn|
|000015d0| 64 65 78 20 5d 2e 4e 49 | 5f 4e 6f 74 69 66 69 63 |dex ].NI|_Notific|
|000015e0| 61 74 69 6f 6e 50 61 72 | 61 6d 73 49 6e 64 65 78 |ationPar|amsIndex|
|000015f0| 20 3e 3d 20 30 20 29 20 | 26 26 0d 0a 09 09 09 28 | >= 0 ) |&&.....(|
|00001600| 20 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 49 6e 66 | Notific|ationInf|
|00001610| 6f 73 5b 20 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |os[ Noti|fication|
|00001620| 49 6e 66 6f 49 6e 64 65 | 78 20 5d 2e 4e 49 5f 4e |InfoInde|x ].NI_N|
|00001630| 6f 74 69 66 69 63 61 74 | 69 6f 6e 50 61 72 61 6d |otificat|ionParam|
|00001640| 73 49 6e 64 65 78 20 3c | 20 41 72 72 61 79 43 6f |sIndex <| ArrayCo|
|00001650| 75 6e 74 28 20 4e 6f 74 | 69 66 69 63 61 74 69 6f |unt( Not|ificatio|
|00001660| 6e 49 6e 66 6f 73 20 29 | 20 29 20 29 0d 0a 09 7b |nInfos )| ) )...{|
|00001670| 0d 0a 09 09 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |....Noti|fication|
|00001680| 50 61 72 61 6d 73 49 6e | 64 65 78 20 3d 20 4e 6f |ParamsIn|dex = No|
|00001690| 74 69 66 69 63 61 74 69 | 6f 6e 49 6e 66 6f 73 5b |tificati|onInfos[|
|000016a0| 20 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 49 6e 66 | Notific|ationInf|
|000016b0| 6f 49 6e 64 65 78 20 5d | 2e 4e 49 5f 4e 6f 74 69 |oIndex ]|.NI_Noti|
|000016c0| 66 69 63 61 74 69 6f 6e | 50 61 72 61 6d 73 49 6e |fication|ParamsIn|
|000016d0| 64 65 78 3b 0d 0a 09 09 | 72 65 74 75 72 6e 20 74 |dex;....|return t|
|000016e0| 72 75 65 3b 0d 0a 09 7d | 0d 0a 09 72 65 74 75 72 |rue;...}|...retur|
|000016f0| 6e 20 66 61 6c 73 65 3b | 0d 0a 7d 0d 0a 0d 0a 0d |n false;|..}.....|
|00001700| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 45 4c 65 67 |...funct|ion ELeg|
|00001710| 65 6e 64 50 61 77 6e 4e | 6f 74 69 66 69 63 61 74 |endPawnN|otificat|
|00001720| 69 6f 6e 54 79 70 65 20 | 47 65 74 4e 6f 74 69 66 |ionType |GetNotif|
|00001730| 69 63 61 74 69 6f 6e 54 | 79 70 65 28 29 0d 0a 7b |icationT|ype()..{|
|00001740| 0d 0a 09 6c 6f 63 61 6c | 20 45 4c 65 67 65 6e 64 |...local| ELegend|
|00001750| 50 61 77 6e 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |PawnNoti|fication|
|00001760| 54 79 70 65 20 4e 6f 74 | 69 66 69 63 61 74 69 6f |Type Not|ificatio|
|00001770| 6e 54 79 70 65 3b 0d 0a | 09 6c 6f 63 61 6c 20 69 |nType;..|.local i|
|00001780| 6e 74 20 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 49 |nt Notif|icationI|
|00001790| 6e 66 6f 49 6e 64 65 78 | 3b 0d 0a 09 69 66 28 20 |nfoIndex|;...if( |
|000017a0| 47 65 74 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 49 |GetNotif|icationI|
|000017b0| 6e 66 6f 49 6e 64 65 78 | 28 20 4e 6f 74 69 66 69 |nfoIndex|( Notifi|
|000017c0| 63 61 74 69 6f 6e 49 6e | 66 6f 49 6e 64 65 78 20 |cationIn|foIndex |
|000017d0| 29 20 29 0d 0a 09 7b 0d | 0a 09 09 4e 6f 74 69 66 |) )...{.|...Notif|
|000017e0| 69 63 61 74 69 6f 6e 54 | 79 70 65 20 3d 20 4e 6f |icationT|ype = No|
|000017f0| 74 69 66 69 63 61 74 69 | 6f 6e 49 6e 66 6f 73 5b |tificati|onInfos[|
|00001800| 20 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 49 6e 66 | Notific|ationInf|
|00001810| 6f 49 6e 64 65 78 20 5d | 2e 4e 49 5f 4e 6f 74 69 |oIndex ]|.NI_Noti|
|00001820| 66 69 63 61 74 69 6f 6e | 54 79 70 65 3b 0d 0a 09 |fication|Type;...|
|00001830| 7d 0d 0a 09 72 65 74 75 | 72 6e 20 4e 6f 74 69 66 |}...retu|rn Notif|
|00001840| 69 63 61 74 69 6f 6e 54 | 79 70 65 3b 0d 0a 7d 0d |icationT|ype;..}.|
|00001850| 0a 0d 0a 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |.......f|unction |
|00001860| 45 47 6f 61 6c 4d 6f 64 | 69 66 79 54 79 70 65 20 |EGoalMod|ifyType |
|00001870| 47 65 74 47 6f 61 4d 6f | 64 69 66 79 54 79 70 65 |GetGoaMo|difyType|
|00001880| 28 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 45 47 |()..{...|local EG|
|00001890| 6f 61 6c 4d 6f 64 69 66 | 79 54 79 70 65 20 47 6f |oalModif|yType Go|
|000018a0| 61 6c 4d 6f 64 69 66 79 | 54 79 70 65 3b 0d 0a 09 |alModify|Type;...|
|000018b0| 6c 6f 63 61 6c 20 69 6e | 74 20 4e 6f 74 69 66 69 |local in|t Notifi|
|000018c0| 63 61 74 69 6f 6e 49 6e | 66 6f 49 6e 64 65 78 2c |cationIn|foIndex,|
|000018d0| 20 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 50 61 72 | Notific|ationPar|
|000018e0| 61 6d 73 49 6e 64 65 78 | 3b 0d 0a 0d 0a 09 69 66 |amsIndex|;.....if|
|000018f0| 28 20 47 65 74 4e 6f 74 | 69 66 69 63 61 74 69 6f |( GetNot|ificatio|
|00001900| 6e 49 6e 66 6f 49 6e 64 | 65 78 28 20 4e 6f 74 69 |nInfoInd|ex( Noti|
|00001910| 66 69 63 61 74 69 6f 6e | 49 6e 66 6f 49 6e 64 65 |fication|InfoInde|
|00001920| 78 20 29 20 26 26 0d 0a | 09 09 28 20 4e 6f 74 69 |x ) &&..|..( Noti|
|00001930| 66 69 63 61 74 69 6f 6e | 49 6e 66 6f 73 5b 20 4e |fication|Infos[ N|
|00001940| 6f 74 69 66 69 63 61 74 | 69 6f 6e 49 6e 66 6f 49 |otificat|ionInfoI|
|00001950| 6e 64 65 78 20 5d 2e 4e | 49 5f 4e 6f 74 69 66 69 |ndex ].N|I_Notifi|
|00001960| 63 61 74 69 6f 6e 54 79 | 70 65 20 3d 3d 20 4c 50 |cationTy|pe == LP|
|00001970| 4e 54 5f 47 6f 61 6c 4d | 6f 64 69 66 79 20 29 20 |NT_GoalM|odify ) |
|00001980| 26 26 0d 0a 09 09 47 65 | 74 4e 6f 74 69 66 69 63 |&&....Ge|tNotific|
|00001990| 61 74 69 6f 6e 50 61 72 | 61 6d 73 49 6e 64 65 78 |ationPar|amsIndex|
|000019a0| 28 20 4e 6f 74 69 66 69 | 63 61 74 69 6f 6e 50 61 |( Notifi|cationPa|
|000019b0| 72 61 6d 73 49 6e 64 65 | 78 20 29 20 29 0d 0a 09 |ramsInde|x ) )...|
|000019c0| 7b 0d 0a 09 09 73 77 69 | 74 63 68 28 20 69 6e 74 |{....swi|tch( int|
|000019d0| 28 20 4e 6f 74 69 66 69 | 63 61 74 69 6f 6e 50 61 |( Notifi|cationPa|
|000019e0| 72 61 6d 73 5b 20 4e 6f | 74 69 66 69 63 61 74 69 |rams[ No|tificati|
|000019f0| 6f 6e 50 61 72 61 6d 73 | 49 6e 64 65 78 20 5d 2e |onParams|Index ].|
|00001a00| 4e 50 5f 46 6c 6f 61 74 | 30 20 29 20 29 0d 0a 09 |NP_Float|0 ) )...|
|00001a10| 09 7b 0d 0a 09 09 09 63 | 61 73 65 20 31 3a 0d 0a |.{.....c|ase 1:..|
|00001a20| 09 09 09 09 47 6f 61 6c | 4d 6f 64 69 66 79 54 79 |....Goal|ModifyTy|
|00001a30| 70 65 20 3d 20 47 4d 54 | 5f 50 72 69 6f 72 69 74 |pe = GMT|_Priorit|
|00001a40| 79 53 65 74 3b 0d 0a 09 | 09 09 09 62 72 65 61 6b |ySet;...|...break|
|00001a50| 3b 0d 0a 09 09 09 63 61 | 73 65 20 32 3a 0d 0a 09 |;.....ca|se 2:...|
|00001a60| 09 09 09 47 6f 61 6c 4d | 6f 64 69 66 79 54 79 70 |...GoalM|odifyTyp|
|00001a70| 65 20 3d 20 47 4d 54 5f | 50 72 69 6f 72 69 74 79 |e = GMT_|Priority|
|00001a80| 49 6e 63 72 65 6d 65 6e | 74 3b 0d 0a 09 09 09 09 |Incremen|t;......|
|00001a90| 62 72 65 61 6b 3b 0d 0a | 09 09 09 63 61 73 65 20 |break;..|...case |
|00001aa0| 33 3a 0d 0a 09 09 09 09 | 47 6f 61 6c 4d 6f 64 69 |3:......|GoalModi|
|00001ab0| 66 79 54 79 70 65 20 3d | 20 47 4d 54 5f 50 72 69 |fyType =| GMT_Pri|
|00001ac0| 6f 72 69 74 79 44 65 63 | 72 65 6d 65 6e 74 3b 0d |orityDec|rement;.|
|00001ad0| 0a 09 09 09 09 62 72 65 | 61 6b 3b 0d 0a 09 09 7d |.....bre|ak;....}|
|00001ae0| 0d 0a 09 7d 0d 0a 09 72 | 65 74 75 72 6e 20 47 6f |...}...r|eturn Go|
|00001af0| 61 6c 4d 6f 64 69 66 79 | 54 79 70 65 3b 0d 0a 7d |alModify|Type;..}|
|00001b00| 0d 0a 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |........|function|
|00001b10| 20 4e 61 6d 65 20 47 65 | 74 47 6f 61 6c 4d 6f 64 | Name Ge|tGoalMod|
|00001b20| 69 66 79 4e 61 6d 65 28 | 29 0d 0a 7b 0d 0a 09 6c |ifyName(|)..{...l|
|00001b30| 6f 63 61 6c 20 4e 61 6d | 65 20 47 6f 61 6c 4d 6f |ocal Nam|e GoalMo|
|00001b40| 64 69 66 79 4e 61 6d 65 | 3b 0d 0a 09 6c 6f 63 61 |difyName|;...loca|
|00001b50| 6c 20 69 6e 74 20 4e 6f | 74 69 66 69 63 61 74 69 |l int No|tificati|
|00001b60| 6f 6e 49 6e 66 6f 49 6e | 64 65 78 2c 20 4e 6f 74 |onInfoIn|dex, Not|
|00001b70| 69 66 69 63 61 74 69 6f | 6e 50 61 72 61 6d 73 49 |ificatio|nParamsI|
|00001b80| 6e 64 65 78 3b 0d 0a 09 | 69 66 28 20 47 65 74 4e |ndex;...|if( GetN|
|00001b90| 6f 74 69 66 69 63 61 74 | 69 6f 6e 49 6e 66 6f 49 |otificat|ionInfoI|
|00001ba0| 6e 64 65 78 28 20 4e 6f | 74 69 66 69 63 61 74 69 |ndex( No|tificati|
|00001bb0| 6f 6e 49 6e 66 6f 49 6e | 64 65 78 20 29 20 26 26 |onInfoIn|dex ) &&|
|00001bc0| 0d 0a 09 09 09 28 20 4e | 6f 74 69 66 69 63 61 74 |.....( N|otificat|
|00001bd0| 69 6f 6e 49 6e 66 6f 73 | 5b 20 4e 6f 74 69 66 69 |ionInfos|[ Notifi|
|00001be0| 63 61 74 69 6f 6e 49 6e | 66 6f 49 6e 64 65 78 20 |cationIn|foIndex |
|00001bf0| 5d 2e 4e 49 5f 4e 6f 74 | 69 66 69 63 61 74 69 6f |].NI_Not|ificatio|
|00001c00| 6e 54 79 70 65 20 3d 3d | 20 4c 50 4e 54 5f 47 6f |nType ==| LPNT_Go|
|00001c10| 61 6c 4d 6f 64 69 66 79 | 20 29 20 26 26 0d 0a 09 |alModify| ) &&...|
|00001c20| 09 09 47 65 74 4e 6f 74 | 69 66 69 63 61 74 69 6f |..GetNot|ificatio|
|00001c30| 6e 50 61 72 61 6d 73 49 | 6e 64 65 78 28 20 4e 6f |nParamsI|ndex( No|
|00001c40| 74 69 66 69 63 61 74 69 | 6f 6e 50 61 72 61 6d 73 |tificati|onParams|
|00001c50| 49 6e 64 65 78 20 29 20 | 29 0d 0a 09 7b 0d 0a 09 |Index ) |)...{...|
|00001c60| 09 47 6f 61 6c 4d 6f 64 | 69 66 79 4e 61 6d 65 20 |.GoalMod|ifyName |
|00001c70| 3d 20 4e 6f 74 69 66 69 | 63 61 74 69 6f 6e 50 61 |= Notifi|cationPa|
|00001c80| 72 61 6d 73 5b 20 4e 6f | 74 69 66 69 63 61 74 69 |rams[ No|tificati|
|00001c90| 6f 6e 50 61 72 61 6d 73 | 49 6e 64 65 78 20 5d 2e |onParams|Index ].|
|00001ca0| 4e 50 5f 4e 61 6d 65 30 | 3b 0d 0a 09 7d 0d 0a 09 |NP_Name0|;...}...|
|00001cb0| 72 65 74 75 72 6e 20 47 | 6f 61 6c 4d 6f 64 69 66 |return G|oalModif|
|00001cc0| 79 4e 61 6d 65 3b 0d 0a | 7d 0d 0a 0d 0a 0d 0a 0d |yName;..|}.......|
|00001cd0| 0a 66 75 6e 63 74 69 6f | 6e 20 66 6c 6f 61 74 20 |.functio|n float |
|00001ce0| 47 65 74 47 6f 61 4d 6f | 64 69 66 79 50 72 69 6f |GetGoaMo|difyPrio|
|00001cf0| 72 69 74 79 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |rity()..|{...loca|
|00001d00| 6c 20 66 6c 6f 61 74 20 | 47 6f 61 6c 4d 6f 64 69 |l float |GoalModi|
|00001d10| 66 79 50 72 69 6f 72 69 | 74 79 3b 0d 0a 09 6c 6f |fyPriori|ty;...lo|
|00001d20| 63 61 6c 20 69 6e 74 20 | 4e 6f 74 69 66 69 63 61 |cal int |Notifica|
|00001d30| 74 69 6f 6e 49 6e 66 6f | 49 6e 64 65 78 2c 20 4e |tionInfo|Index, N|
|00001d40| 6f 74 69 66 69 63 61 74 | 69 6f 6e 50 61 72 61 6d |otificat|ionParam|
|00001d50| 73 49 6e 64 65 78 3b 0d | 0a 09 69 66 28 20 47 65 |sIndex;.|..if( Ge|
|00001d60| 74 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 49 6e 66 |tNotific|ationInf|
|00001d70| 6f 49 6e 64 65 78 28 20 | 4e 6f 74 69 66 69 63 61 |oIndex( |Notifica|
|00001d80| 74 69 6f 6e 49 6e 66 6f | 49 6e 64 65 78 20 29 20 |tionInfo|Index ) |
|00001d90| 26 26 0d 0a 09 09 09 28 | 20 4e 6f 74 69 66 69 63 |&&.....(| Notific|
|00001da0| 61 74 69 6f 6e 49 6e 66 | 6f 73 5b 20 4e 6f 74 69 |ationInf|os[ Noti|
|00001db0| 66 69 63 61 74 69 6f 6e | 49 6e 66 6f 49 6e 64 65 |fication|InfoInde|
|00001dc0| 78 20 5d 2e 4e 49 5f 4e | 6f 74 69 66 69 63 61 74 |x ].NI_N|otificat|
|00001dd0| 69 6f 6e 54 79 70 65 20 | 3d 3d 20 4c 50 4e 54 5f |ionType |== LPNT_|
|00001de0| 47 6f 61 6c 4d 6f 64 69 | 66 79 20 29 20 26 26 0d |GoalModi|fy ) &&.|
|00001df0| 0a 09 09 09 47 65 74 4e | 6f 74 69 66 69 63 61 74 |....GetN|otificat|
|00001e00| 69 6f 6e 50 61 72 61 6d | 73 49 6e 64 65 78 28 20 |ionParam|sIndex( |
|00001e10| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 50 61 72 61 |Notifica|tionPara|
|00001e20| 6d 73 49 6e 64 65 78 20 | 29 20 29 0d 0a 09 7b 0d |msIndex |) )...{.|
|00001e30| 0a 09 09 47 6f 61 6c 4d | 6f 64 69 66 79 50 72 69 |...GoalM|odifyPri|
|00001e40| 6f 72 69 74 79 20 3d 20 | 4e 6f 74 69 66 69 63 61 |ority = |Notifica|
|00001e50| 74 69 6f 6e 50 61 72 61 | 6d 73 5b 20 4e 6f 74 69 |tionPara|ms[ Noti|
|00001e60| 66 69 63 61 74 69 6f 6e | 50 61 72 61 6d 73 49 6e |fication|ParamsIn|
|00001e70| 64 65 78 20 5d 2e 4e 50 | 5f 46 6c 6f 61 74 31 3b |dex ].NP|_Float1;|
|00001e80| 0d 0a 09 7d 0d 0a 09 72 | 65 74 75 72 6e 20 47 6f |...}...r|eturn Go|
|00001e90| 61 6c 4d 6f 64 69 66 79 | 50 72 69 6f 72 69 74 79 |alModify|Priority|
|00001ea0| 3b 0d 0a 7d 0d 0a 0d 0a | 0d 0a 0d 0a 66 75 6e 63 |;..}....|....func|
|00001eb0| 74 69 6f 6e 20 4e 61 6d | 65 20 47 65 74 48 69 6e |tion Nam|e GetHin|
|00001ec0| 74 4e 61 6d 65 28 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |tName().|.{...loc|
|00001ed0| 61 6c 20 4e 61 6d 65 20 | 48 69 6e 74 4e 61 6d 65 |al Name |HintName|
|00001ee0| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 69 6e 74 20 4e 6f |;...loca|l int No|
|00001ef0| 74 69 66 69 63 61 74 69 | 6f 6e 49 6e 66 6f 49 6e |tificati|onInfoIn|
|00001f00| 64 65 78 2c 20 4e 6f 74 | 69 66 69 63 61 74 69 6f |dex, Not|ificatio|
|00001f10| 6e 50 61 72 61 6d 73 49 | 6e 64 65 78 3b 0d 0a 09 |nParamsI|ndex;...|
|00001f20| 69 66 28 20 47 65 74 4e | 6f 74 69 66 69 63 61 74 |if( GetN|otificat|
|00001f30| 69 6f 6e 49 6e 66 6f 49 | 6e 64 65 78 28 20 4e 6f |ionInfoI|ndex( No|
|00001f40| 74 69 66 69 63 61 74 69 | 6f 6e 49 6e 66 6f 49 6e |tificati|onInfoIn|
|00001f50| 64 65 78 20 29 20 26 26 | 0d 0a 09 09 09 28 20 4e |dex ) &&|.....( N|
|00001f60| 6f 74 69 66 69 63 61 74 | 69 6f 6e 49 6e 66 6f 73 |otificat|ionInfos|
|00001f70| 5b 20 4e 6f 74 69 66 69 | 63 61 74 69 6f 6e 49 6e |[ Notifi|cationIn|
|00001f80| 66 6f 49 6e 64 65 78 20 | 5d 2e 4e 49 5f 4e 6f 74 |foIndex |].NI_Not|
|00001f90| 69 66 69 63 61 74 69 6f | 6e 54 79 70 65 20 3d 3d |ificatio|nType ==|
|00001fa0| 20 4c 50 4e 54 5f 48 61 | 6e 64 6c 65 48 69 6e 74 | LPNT_Ha|ndleHint|
|00001fb0| 20 29 20 26 26 0d 0a 09 | 09 09 47 65 74 4e 6f 74 | ) &&...|..GetNot|
|00001fc0| 69 66 69 63 61 74 69 6f | 6e 50 61 72 61 6d 73 49 |ificatio|nParamsI|
|00001fd0| 6e 64 65 78 28 20 4e 6f | 74 69 66 69 63 61 74 69 |ndex( No|tificati|
|00001fe0| 6f 6e 50 61 72 61 6d 73 | 49 6e 64 65 78 20 29 20 |onParams|Index ) |
|00001ff0| 29 0d 0a 09 7b 0d 0a 09 | 09 48 69 6e 74 4e 61 6d |)...{...|.HintNam|
|00002000| 65 20 3d 20 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |e = Noti|fication|
|00002010| 50 61 72 61 6d 73 5b 20 | 4e 6f 74 69 66 69 63 61 |Params[ |Notifica|
|00002020| 74 69 6f 6e 50 61 72 61 | 6d 73 49 6e 64 65 78 20 |tionPara|msIndex |
|00002030| 5d 2e 4e 50 5f 4e 61 6d | 65 30 3b 0d 0a 09 7d 0d |].NP_Nam|e0;...}.|
|00002040| 0a 09 72 65 74 75 72 6e | 20 48 69 6e 74 4e 61 6d |..return| HintNam|
|00002050| 65 3b 0d 0a 7d 0d 0a 0d | 0a 0d 0a 0d 0a 66 75 6e |e;..}...|.....fun|
|00002060| 63 74 69 6f 6e 20 63 6c | 61 73 73 20 47 65 74 57 |ction cl|ass GetW|
|00002070| 68 61 74 54 6f 55 73 65 | 43 6c 61 73 73 28 29 0d |hatToUse|Class().|
|00002080| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 63 6c 61 73 73 |.{...loc|al class|
|00002090| 20 57 68 61 74 54 6f 55 | 73 65 43 6c 61 73 73 3b | WhatToU|seClass;|
|000020a0| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 4e 6f 74 |...local| int Not|
|000020b0| 69 66 69 63 61 74 69 6f | 6e 49 6e 66 6f 49 6e 64 |ificatio|nInfoInd|
|000020c0| 65 78 2c 20 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |ex, Noti|fication|
|000020d0| 50 61 72 61 6d 73 49 6e | 64 65 78 3b 0d 0a 09 69 |ParamsIn|dex;...i|
|000020e0| 66 28 20 47 65 74 4e 6f | 74 69 66 69 63 61 74 69 |f( GetNo|tificati|
|000020f0| 6f 6e 49 6e 66 6f 49 6e | 64 65 78 28 20 4e 6f 74 |onInfoIn|dex( Not|
|00002100| 69 66 69 63 61 74 69 6f | 6e 49 6e 66 6f 49 6e 64 |ificatio|nInfoInd|
|00002110| 65 78 20 29 20 26 26 0d | 0a 09 09 09 28 20 4e 6f |ex ) &&.|....( No|
|00002120| 74 69 66 69 63 61 74 69 | 6f 6e 49 6e 66 6f 73 5b |tificati|onInfos[|
|00002130| 20 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 49 6e 66 | Notific|ationInf|
|00002140| 6f 49 6e 64 65 78 20 5d | 2e 4e 49 5f 4e 6f 74 69 |oIndex ]|.NI_Noti|
|00002150| 66 69 63 61 74 69 6f 6e | 54 79 70 65 20 3d 3d 20 |fication|Type == |
|00002160| 4c 50 4e 54 5f 55 73 65 | 20 29 20 26 26 0d 0a 09 |LPNT_Use| ) &&...|
|00002170| 09 09 47 65 74 4e 6f 74 | 69 66 69 63 61 74 69 6f |..GetNot|ificatio|
|00002180| 6e 50 61 72 61 6d 73 49 | 6e 64 65 78 28 20 4e 6f |nParamsI|ndex( No|
|00002190| 74 69 66 69 63 61 74 69 | 6f 6e 50 61 72 61 6d 73 |tificati|onParams|
|000021a0| 49 6e 64 65 78 20 29 20 | 29 0d 0a 09 7b 0d 0a 09 |Index ) |)...{...|
|000021b0| 09 57 68 61 74 54 6f 55 | 73 65 43 6c 61 73 73 20 |.WhatToU|seClass |
|000021c0| 3d 20 63 6c 61 73 73 3c | 50 72 6f 6a 65 63 74 69 |= class<|Projecti|
|000021d0| 6c 65 3e 28 20 44 79 6e | 61 6d 69 63 4c 6f 61 64 |le>( Dyn|amicLoad|
|000021e0| 4f 62 6a 65 63 74 28 20 | 4e 6f 74 69 66 69 63 61 |Object( |Notifica|
|000021f0| 74 69 6f 6e 50 61 72 61 | 6d 73 5b 20 4e 6f 74 69 |tionPara|ms[ Noti|
|00002200| 66 69 63 61 74 69 6f 6e | 50 61 72 61 6d 73 49 6e |fication|ParamsIn|
|00002210| 64 65 78 20 5d 2e 4e 50 | 5f 53 74 72 69 6e 67 30 |dex ].NP|_String0|
|00002220| 2c 20 63 6c 61 73 73 27 | 43 6c 61 73 73 27 20 29 |, class'|Class' )|
|00002230| 20 29 3b 0d 0a 09 7d 0d | 0a 09 72 65 74 75 72 6e | );...}.|..return|
|00002240| 20 57 68 61 74 54 6f 55 | 73 65 43 6c 61 73 73 3b | WhatToU|seClass;|
|00002250| 0d 0a 7d 0d 0a 0d 0a 0d | 0a 0d 0a 66 75 6e 63 74 |..}.....|...funct|
|00002260| 69 6f 6e 20 4e 61 6d 65 | 20 47 65 74 57 68 61 74 |ion Name| GetWhat|
|00002270| 54 6f 55 73 65 49 74 4f | 6e 28 29 0d 0a 7b 0d 0a |ToUseItO|n()..{..|
|00002280| 09 6c 6f 63 61 6c 20 4e | 61 6d 65 20 57 68 61 74 |.local N|ame What|
|00002290| 54 6f 55 73 65 49 74 4f | 6e 3b 0d 0a 09 6c 6f 63 |ToUseItO|n;...loc|
|000022a0| 61 6c 20 69 6e 74 20 4e | 6f 74 69 66 69 63 61 74 |al int N|otificat|
|000022b0| 69 6f 6e 49 6e 66 6f 49 | 6e 64 65 78 2c 20 4e 6f |ionInfoI|ndex, No|
|000022c0| 74 69 66 69 63 61 74 69 | 6f 6e 50 61 72 61 6d 73 |tificati|onParams|
|000022d0| 49 6e 64 65 78 3b 0d 0a | 09 69 66 28 20 47 65 74 |Index;..|.if( Get|
|000022e0| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 49 6e 66 6f |Notifica|tionInfo|
|000022f0| 49 6e 64 65 78 28 20 4e | 6f 74 69 66 69 63 61 74 |Index( N|otificat|
|00002300| 69 6f 6e 49 6e 66 6f 49 | 6e 64 65 78 20 29 20 26 |ionInfoI|ndex ) &|
|00002310| 26 0d 0a 09 09 09 28 20 | 4e 6f 74 69 66 69 63 61 |&.....( |Notifica|
|00002320| 74 69 6f 6e 49 6e 66 6f | 73 5b 20 4e 6f 74 69 66 |tionInfo|s[ Notif|
|00002330| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 49 6e 64 65 78 |icationI|nfoIndex|
|00002340| 20 5d 2e 4e 49 5f 4e 6f | 74 69 66 69 63 61 74 69 | ].NI_No|tificati|
|00002350| 6f 6e 54 79 70 65 20 3d | 3d 20 4c 50 4e 54 5f 55 |onType =|= LPNT_U|
|00002360| 73 65 20 29 20 26 26 0d | 0a 09 09 09 47 65 74 4e |se ) &&.|....GetN|
|00002370| 6f 74 69 66 69 63 61 74 | 69 6f 6e 50 61 72 61 6d |otificat|ionParam|
|00002380| 73 49 6e 64 65 78 28 20 | 4e 6f 74 69 66 69 63 61 |sIndex( |Notifica|
|00002390| 74 69 6f 6e 50 61 72 61 | 6d 73 49 6e 64 65 78 20 |tionPara|msIndex |
|000023a0| 29 20 29 0d 0a 09 7b 0d | 0a 09 09 57 68 61 74 54 |) )...{.|...WhatT|
|000023b0| 6f 55 73 65 49 74 4f 6e | 20 3d 20 4e 6f 74 69 66 |oUseItOn| = Notif|
|000023c0| 69 63 61 74 69 6f 6e 50 | 61 72 61 6d 73 5b 20 4e |icationP|arams[ N|
|000023d0| 6f 74 69 66 69 63 61 74 | 69 6f 6e 50 61 72 61 6d |otificat|ionParam|
|000023e0| 73 49 6e 64 65 78 20 5d | 2e 4e 50 5f 4e 61 6d 65 |sIndex ]|.NP_Name|
|000023f0| 30 3b 0d 0a 09 7d 0d 0a | 09 72 65 74 75 72 6e 20 |0;...}..|.return |
|00002400| 57 68 61 74 54 6f 55 73 | 65 49 74 4f 6e 3b 0d 0a |WhatToUs|eItOn;..|
|00002410| 7d 0d 0a 0d 0a 00 | |}..... | |
+--------+-------------------------+-------------------------+--------+--------+