home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-11-02 | 3.5 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.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 48 38 2f 2f 20 41 63 74 |........|H8// Act|
|00000010| 69 76 69 74 79 4d 61 6e | 61 67 65 72 2e 75 63 0d |ivityMan|ager.uc.|
|00000020| 0a 2f 2f 20 24 41 75 74 | 68 6f 72 3a 20 4d 66 6f |.// $Aut|hor: Mfo|
|00000030| 78 20 24 0d 0a 2f 2f 20 | 24 44 61 74 65 3a 20 31 |x $..// |$Date: 1|
|00000040| 30 2f 32 36 2f 39 39 20 | 35 3a 33 38 70 20 24 0d |0/26/99 |5:38p $.|
|00000050| 0a 2f 2f 20 24 52 65 76 | 69 73 69 6f 6e 3a 20 31 |.// $Rev|ision: 1|
|00000060| 20 24 0d 0a 2f 2f 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d | $..//==|========|
|00000070| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 0d 0a 0d 0a 63 | 6c 61 73 73 20 41 63 74 |===....c|lass Act|
|000000c0| 69 76 69 74 79 4d 61 6e | 61 67 65 72 20 65 78 70 |ivityMan|ager exp|
|000000d0| 61 6e 64 73 20 52 65 67 | 69 73 74 65 72 61 62 6c |ands Reg|isterabl|
|000000e0| 65 44 69 72 65 63 74 69 | 76 65 20 6e 61 74 69 76 |eDirecti|ve nativ|
|000000f0| 65 3b 0d 0a 0d 0a 2f 2f | 69 66 20 74 68 65 20 6c |e;....//|if the l|
|00000100| 65 67 65 6e 64 20 70 61 | 77 6e 20 6d 75 73 74 20 |egend pa|wn must |
|00000110| 62 65 20 61 62 6c 65 20 | 74 6f 20 62 65 20 73 65 |be able |to be se|
|00000120| 65 6e 20 62 79 20 61 20 | 72 65 6c 65 76 61 6e 74 |en by a |relevant|
|00000130| 20 70 61 77 6e 0d 0a 65 | 6e 75 6d 20 45 56 69 73 | pawn..e|num EVis|
|00000140| 69 62 69 6c 69 74 79 52 | 65 71 75 69 72 65 6d 65 |ibilityR|equireme|
|00000150| 6e 74 0d 0a 7b 0d 0a 09 | 56 52 5f 4e 6f 6e 65 2c |nt..{...|VR_None,|
|00000160| 0d 0a 09 56 52 5f 4c 69 | 6e 65 4f 66 53 69 67 68 |...VR_Li|neOfSigh|
|00000170| 74 2c 0d 0a 09 56 52 5f | 43 61 6e 53 65 65 0d 0a |t,...VR_|CanSee..|
|00000180| 7d 3b 0d 0a 0d 0a 65 6e | 75 6d 20 45 44 69 73 74 |};....en|um EDist|
|00000190| 61 6e 63 65 52 65 71 75 | 69 72 65 6d 65 6e 74 0d |anceRequ|irement.|
|000001a0| 0a 7b 0d 0a 09 44 52 5f | 4e 6f 6e 65 2c 0d 0a 09 |.{...DR_|None,...|
|000001b0| 44 52 5f 4c 65 73 73 4f | 72 45 71 75 61 6c 2c 0d |DR_LessO|rEqual,.|
|000001c0| 0a 09 44 52 5f 47 72 65 | 61 74 65 72 0d 0a 7d 3b |..DR_Gre|ater..};|
|000001d0| 0d 0a 0d 0a 65 6e 75 6d | 20 45 45 76 61 6c 75 61 |....enum| EEvalua|
|000001e0| 74 69 6f 6e 4f 72 64 65 | 72 0d 0a 7b 0d 0a 09 45 |tionOrde|r..{...E|
|000001f0| 4f 5f 44 69 73 74 61 6e | 63 65 2c 0d 0a 09 45 4f |O_Distan|ce,...EO|
|00000200| 5f 56 69 73 69 62 69 6c | 69 74 79 0d 0a 7d 3b 0d |_Visibil|ity..};.|
|00000210| 0a 0d 0a 65 6e 75 6d 20 | 45 45 76 61 6c 75 61 74 |...enum |EEvaluat|
|00000220| 69 6f 6e 52 65 71 75 69 | 72 65 6d 65 6e 74 0d 0a |ionRequi|rement..|
|00000230| 7b 0d 0a 09 45 52 5f 41 | 6c 6c 2c 0d 0a 09 45 52 |{...ER_A|ll,...ER|
|00000240| 5f 41 6e 79 0d 0a 7d 3b | 0d 0a 0d 0a 76 61 72 20 |_Any..};|....var |
|00000250| 28 29 20 45 45 76 61 6c | 75 61 74 69 6f 6e 4f 72 |() EEval|uationOr|
|00000260| 64 65 72 09 09 09 45 76 | 61 6c 75 61 74 69 6f 6e |der...Ev|aluation|
|00000270| 4f 72 64 65 72 3b 09 09 | 09 2f 2f 64 65 74 65 72 |Order;..|.//deter|
|00000280| 6d 69 6e 65 73 20 77 68 | 69 63 68 20 74 65 73 74 |mines wh|ich test|
|00000290| 20 69 73 20 64 6f 6e 65 | 20 66 69 72 73 74 0d 0a | is done| first..|
|000002a0| 76 61 72 20 28 29 20 45 | 45 76 61 6c 75 61 74 69 |var () E|Evaluati|
|000002b0| 6f 6e 52 65 71 75 69 72 | 65 6d 65 6e 74 09 45 76 |onRequir|ement.Ev|
|000002c0| 61 6c 75 61 74 69 6f 6e | 52 65 71 75 69 72 65 6d |aluation|Requirem|
|000002d0| 65 6e 74 3b 09 09 2f 2f | 0d 0a 0d 0a 76 61 72 20 |ent;..//|....var |
|000002e0| 28 29 20 45 56 69 73 69 | 62 69 6c 69 74 79 52 65 |() EVisi|bilityRe|
|000002f0| 71 75 69 72 65 6d 65 6e | 74 09 56 69 73 69 62 69 |quiremen|t.Visibi|
|00000300| 6c 69 74 79 52 65 71 75 | 69 72 65 6d 65 6e 74 3b |lityRequ|irement;|
|00000310| 09 09 2f 2f 0d 0a 2f 2f | 72 6c 6f 66 75 74 75 72 |..//..//|rlofutur|
|00000320| 65 20 76 61 72 20 28 29 | 20 45 44 69 73 74 61 6e |e var ()| EDistan|
|00000330| 63 65 52 65 71 75 69 72 | 65 6d 65 6e 74 09 56 69 |ceRequir|ement.Vi|
|00000340| 73 69 62 69 6c 69 74 79 | 52 65 71 75 69 72 65 6d |sibility|Requirem|
|00000350| 65 6e 74 5f 44 69 73 74 | 61 6e 63 65 52 65 71 75 |ent_Dist|anceRequ|
|00000360| 69 72 65 6d 65 6e 74 3b | 0d 0a 2f 2f 72 6c 6f 66 |irement;|..//rlof|
|00000370| 75 74 75 72 65 20 76 61 | 72 20 28 29 20 66 6c 6f |uture va|r () flo|
|00000380| 61 74 20 09 09 09 09 56 | 69 73 69 62 69 6c 69 74 |at ....V|isibilit|
|00000390| 79 52 65 71 75 69 72 65 | 6d 65 6e 74 5f 44 69 73 |yRequire|ment_Dis|
|000003a0| 74 61 6e 63 65 3b 0d 0a | 2f 2f 72 6c 6f 66 75 74 |tance;..|//rlofut|
|000003b0| 75 72 65 20 76 61 72 20 | 28 29 20 66 6c 6f 61 74 |ure var |() float|
|000003c0| 20 09 09 09 09 56 69 73 | 69 62 69 6c 69 74 79 52 | ....Vis|ibilityR|
|000003d0| 65 71 75 69 72 65 6d 65 | 6e 74 5f 44 65 6c 74 61 |equireme|nt_Delta|
|000003e0| 41 6c 74 69 74 75 64 65 | 3b 0d 0a 0d 0a 76 61 72 |Altitude|;....var|
|000003f0| 20 28 29 20 45 44 69 73 | 74 61 6e 63 65 52 65 71 | () EDis|tanceReq|
|00000400| 75 69 72 65 6d 65 6e 74 | 09 09 44 69 73 74 61 6e |uirement|..Distan|
|00000410| 63 65 52 65 71 75 69 72 | 65 6d 65 6e 74 3b 09 09 |ceRequir|ement;..|
|00000420| 09 09 2f 2f 0d 0a 76 61 | 72 20 28 29 20 66 6c 6f |..//..va|r () flo|
|00000430| 61 74 09 09 09 09 09 44 | 69 73 74 61 6e 63 65 52 |at.....D|istanceR|
|00000440| 65 71 75 69 72 65 6d 65 | 6e 74 5f 44 69 73 74 61 |equireme|nt_Dista|
|00000450| 6e 63 65 3b 09 09 2f 2f | 74 68 65 20 64 69 73 74 |nce;..//|the dist|
|00000460| 61 6e 63 65 20 62 65 74 | 77 65 65 6e 20 61 20 72 |ance bet|ween a r|
|00000470| 65 6c 65 76 61 6e 74 20 | 70 6c 61 79 65 72 20 61 |elevant |player a|
|00000480| 6e 64 20 74 68 65 20 70 | 61 77 6e 20 74 68 61 74 |nd the p|awn that|
|00000490| 20 6d 75 73 74 20 62 65 | 20 73 61 74 69 73 66 69 | must be| satisfi|
|000004a0| 65 64 20 62 79 20 74 68 | 65 20 64 69 73 74 61 6e |ed by th|e distan|
|000004b0| 63 65 20 72 65 71 75 69 | 72 65 6d 65 6e 74 0d 0a |ce requi|rement..|
|000004c0| 76 61 72 20 28 29 20 66 | 6c 6f 61 74 09 09 09 09 |var () f|loat....|
|000004d0| 09 44 69 73 74 61 6e 63 | 65 52 65 71 75 69 72 65 |.Distanc|eRequire|
|000004e0| 6d 65 6e 74 5f 44 65 6c | 74 61 41 6c 74 69 74 75 |ment_Del|taAltitu|
|000004f0| 64 65 3b 09 2f 2f 74 68 | 65 20 63 68 61 6e 67 65 |de;.//th|e change|
|00000500| 20 69 6e 20 61 6c 74 69 | 74 75 64 65 20 62 65 74 | in alti|tude bet|
|00000510| 77 65 65 6e 20 61 20 72 | 65 6c 65 76 61 6e 74 20 |ween a r|elevant |
|00000520| 70 6c 61 79 65 72 20 61 | 6e 64 20 74 68 65 20 70 |player a|nd the p|
|00000530| 61 77 6e 20 74 68 61 74 | 20 6d 75 73 74 20 62 65 |awn that| must be|
|00000540| 20 73 61 74 69 73 66 69 | 65 64 20 62 79 20 74 68 | satisfi|ed by th|
|00000550| 65 20 64 69 73 74 61 6e | 63 65 20 72 65 71 75 69 |e distan|ce requi|
|00000560| 72 65 6d 65 6e 74 0d 0a | 0d 0a 0d 0a 2f 2f 74 68 |rement..|....//th|
|00000570| 65 20 63 75 72 72 65 6e | 74 20 72 65 6c 65 76 61 |e curren|t releva|
|00000580| 6e 74 20 70 6c 61 79 65 | 72 20 61 6e 64 20 74 68 |nt playe|r and th|
|00000590| 65 20 63 75 72 72 65 6e | 74 20 72 65 67 69 73 74 |e curren|t regist|
|000005a0| 65 72 65 64 20 70 61 77 | 6e 0d 0a 76 61 72 20 62 |ered paw|n..var b|
|000005b0| 6f 6f 6c 09 09 09 09 09 | 09 62 45 78 63 6c 75 64 |ool.....|.bExclud|
|000005c0| 65 4e 6f 6e 5a 6f 6e 65 | 50 6c 61 79 65 72 73 3b |eNonZone|Players;|
|000005d0| 09 09 2f 2f 61 20 70 6c | 61 79 65 72 20 69 73 20 |..//a pl|ayer is |
|000005e0| 6e 6f 74 20 72 65 6c 65 | 76 61 6e 74 20 69 66 20 |not rele|vant if |
|000005f0| 69 74 20 69 73 20 6e 6f | 74 20 69 6e 20 74 68 65 |it is no|t in the|
|00000600| 20 73 61 6d 65 20 7a 6f | 6e 65 20 61 73 20 74 68 | same zo|ne as th|
|00000610| 65 20 70 61 77 6e 0d 0a | 76 61 72 20 50 61 77 6e |e pawn..|var Pawn|
|00000620| 20 09 09 09 09 09 09 52 | 65 6c 65 76 61 6e 74 50 | ......R|elevantP|
|00000630| 6c 61 79 65 72 73 5b 20 | 31 36 20 5d 3b 0d 0a 76 |layers[ |16 ];..v|
|00000640| 61 72 20 69 6e 74 09 09 | 09 09 09 09 09 4e 6f 74 |ar int..|.....Not|
|00000650| 69 66 69 65 64 41 63 74 | 69 76 65 50 61 77 6e 73 |ifiedAct|ivePawns|
|00000660| 3b 0d 0a 76 61 72 20 69 | 6e 74 09 09 09 09 09 09 |;..var i|nt......|
|00000670| 09 4e 6f 74 69 66 69 65 | 64 49 6e 61 63 74 69 76 |.Notifie|dInactiv|
|00000680| 65 50 61 77 6e 73 3b 0d | 0a 0d 0a 76 61 72 20 28 |ePawns;.|...var (|
|00000690| 29 20 63 6f 6e 73 74 20 | 65 64 69 74 63 6f 6e 73 |) const |editcons|
|000006a0| 74 20 4e 61 6d 65 09 09 | 46 6f 72 63 65 41 63 74 |t Name..|ForceAct|
|000006b0| 69 76 65 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 3b |iveNotif|ication;|
|000006c0| 0d 0a 76 61 72 20 28 29 | 20 63 6f 6e 73 74 20 65 |..var ()| const e|
|000006d0| 64 69 74 63 6f 6e 73 74 | 20 4e 61 6d 65 09 09 46 |ditconst| Name..F|
|000006e0| 6f 72 63 65 49 6e 61 63 | 74 69 76 65 4e 6f 74 69 |orceInac|tiveNoti|
|000006f0| 66 69 63 61 74 69 6f 6e | 3b 0d 0a 0d 0a 0d 0a 0d |fication|;.......|
|00000700| 0a 66 75 6e 63 74 69 6f | 6e 20 4f 6e 4f 62 73 65 |.functio|n OnObse|
|00000710| 72 76 61 74 69 6f 6e 4e | 6f 74 69 66 69 63 61 74 |rvationN|otificat|
|00000720| 69 6f 6e 28 20 4e 6f 74 | 69 66 69 65 72 20 4e 6f |ion( Not|ifier No|
|00000730| 74 69 66 69 63 61 74 69 | 6f 6e 20 29 0d 0a 7b 0d |tificati|on )..{.|
|00000740| 0a 09 63 6c 61 73 73 27 | 44 65 62 75 67 27 2e 73 |..class'|Debug'.s|
|00000750| 74 61 74 69 63 2e 44 65 | 62 75 67 4c 6f 67 28 20 |tatic.De|bugLog( |
|00000760| 53 65 6c 66 2c 20 22 4f | 6e 4f 62 73 65 72 76 61 |Self, "O|nObserva|
|00000770| 74 69 6f 6e 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |tionNoti|fication|
|00000780| 22 2c 20 27 41 63 74 69 | 76 69 74 79 4d 61 6e 61 |", 'Acti|vityMana|
|00000790| 67 65 72 27 20 29 3b 0d | 0a 09 46 69 6e 64 52 65 |ger' );.|..FindRe|
|000007a0| 6c 65 76 61 6e 74 50 6c | 61 79 65 72 73 28 29 3b |levantPl|ayers();|
|000007b0| 0d 0a 09 53 75 70 65 72 | 2e 4f 6e 4f 62 73 65 72 |...Super|.OnObser|
|000007c0| 76 61 74 69 6f 6e 4e 6f | 74 69 66 69 63 61 74 69 |vationNo|tificati|
|000007d0| 6f 6e 28 20 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |on( Noti|fication|
|000007e0| 20 29 3b 0d 0a 7d 0d 0a | 0d 0a 0d 0a 0d 0a 6e 61 | );..}..|......na|
|000007f0| 74 69 76 65 20 66 75 6e | 63 74 69 6f 6e 20 44 69 |tive fun|ction Di|
|00000800| 72 65 63 74 4f 62 73 65 | 72 76 65 72 73 28 20 50 |rectObse|rvers( P|
|00000810| 61 77 6e 20 45 76 65 6e | 74 49 6e 73 74 69 67 61 |awn Even|tInstiga|
|00000820| 74 6f 72 20 29 3b 0d 0a | 0d 0a 0d 0a 0d 0a 66 75 |tor );..|......fu|
|00000830| 6e 63 74 69 6f 6e 20 44 | 69 72 65 63 74 4f 62 73 |nction D|irectObs|
|00000840| 65 72 76 65 72 28 20 41 | 63 74 6f 72 20 4f 62 73 |erver( A|ctor Obs|
|00000850| 65 72 76 65 72 2c 20 50 | 61 77 6e 20 45 76 65 6e |erver, P|awn Even|
|00000860| 74 49 6e 73 74 69 67 61 | 74 6f 72 20 29 0d 0a 7b |tInstiga|tor )..{|
|00000870| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 52 65 6c |...local| int Rel|
|00000880| 65 76 61 6e 74 50 6c 61 | 79 65 72 49 74 65 72 3b |evantPla|yerIter;|
|00000890| 0d 0a 09 6c 6f 63 61 6c | 20 66 6c 6f 61 74 20 50 |...local| float P|
|000008a0| 6c 61 79 65 72 44 69 73 | 74 61 6e 63 65 3b 0d 0a |layerDis|tance;..|
|000008b0| 09 6c 6f 63 61 6c 20 4e | 61 6d 65 20 41 63 74 69 |.local N|ame Acti|
|000008c0| 76 69 74 79 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |vityNoti|fication|
|000008d0| 3b 0d 0a 0d 0a 09 66 6f | 72 28 20 52 65 6c 65 76 |;.....fo|r( Relev|
|000008e0| 61 6e 74 50 6c 61 79 65 | 72 49 74 65 72 20 3d 20 |antPlaye|rIter = |
|000008f0| 30 3b 20 52 65 6c 65 76 | 61 6e 74 50 6c 61 79 65 |0; Relev|antPlaye|
|00000900| 72 49 74 65 72 20 3c 20 | 41 72 72 61 79 43 6f 75 |rIter < |ArrayCou|
|00000910| 6e 74 28 20 52 65 6c 65 | 76 61 6e 74 50 6c 61 79 |nt( Rele|vantPlay|
|00000920| 65 72 73 20 29 3b 20 52 | 65 6c 65 76 61 6e 74 50 |ers ); R|elevantP|
|00000930| 6c 61 79 65 72 49 74 65 | 72 2b 2b 20 29 0d 0a 09 |layerIte|r++ )...|
|00000940| 7b 0d 0a 09 09 69 66 28 | 20 52 65 6c 65 76 61 6e |{....if(| Relevan|
|00000950| 74 50 6c 61 79 65 72 73 | 5b 20 52 65 6c 65 76 61 |tPlayers|[ Releva|
|00000960| 6e 74 50 6c 61 79 65 72 | 49 74 65 72 20 5d 20 21 |ntPlayer|Iter ] !|
|00000970| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 7b 0d 0a 09 |= None )|....{...|
|00000980| 09 09 44 65 74 65 72 6d | 69 6e 65 41 63 74 69 76 |..Determ|ineActiv|
|00000990| 69 74 79 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 28 |ityNotif|ication(|
|000009a0| 20 41 63 74 69 76 69 74 | 79 4e 6f 74 69 66 69 63 | Activit|yNotific|
|000009b0| 61 74 69 6f 6e 2c 20 4f | 62 73 65 72 76 65 72 2c |ation, O|bserver,|
|000009c0| 20 52 65 6c 65 76 61 6e | 74 50 6c 61 79 65 72 73 | Relevan|tPlayers|
|000009d0| 5b 20 52 65 6c 65 76 61 | 6e 74 50 6c 61 79 65 72 |[ Releva|ntPlayer|
|000009e0| 49 74 65 72 20 5d 20 29 | 3b 0d 0a 09 09 09 69 66 |Iter ] )|;.....if|
|000009f0| 28 20 41 63 74 69 76 69 | 74 79 4e 6f 74 69 66 69 |( Activi|tyNotifi|
|00000a00| 63 61 74 69 6f 6e 20 3d | 3d 20 46 6f 72 63 65 41 |cation =|= ForceA|
|00000a10| 63 74 69 76 65 4e 6f 74 | 69 66 69 63 61 74 69 6f |ctiveNot|ificatio|
|00000a20| 6e 20 29 0d 0a 09 09 09 | 7b 0d 0a 09 09 09 09 2f |n ).....|{....../|
|00000a30| 2f 69 66 20 61 6e 79 20 | 70 6c 61 79 65 72 20 64 |/if any |player d|
|00000a40| 69 63 74 61 74 65 73 20 | 74 68 61 74 20 74 68 69 |ictates |that thi|
|00000a50| 73 20 70 61 77 6e 20 73 | 68 6f 75 6c 64 20 62 65 |s pawn s|hould be|
|00000a60| 20 64 6f 20 6e 6f 74 20 | 62 6f 74 68 65 72 20 63 | do not |bother c|
|00000a70| 68 65 63 6b 20 61 6e 79 | 6f 6e 65 20 65 6c 73 65 |heck any|one else|
|00000a80| 0d 0a 09 09 09 09 62 72 | 65 61 6b 3b 0d 0a 09 09 |......br|eak;....|
|00000a90| 09 7d 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 2f 2a 0d |.}....}.|..}../*.|
|00000aa0| 0a 2f 2f 78 78 78 72 6c | 6f 20 77 61 63 6b 79 20 |.//xxxrl|o wacky |
|00000ab0| 77 61 63 6b 79 20 77 61 | 63 6b 79 0d 0a 09 69 66 |wacky wa|cky...if|
|00000ac0| 28 20 41 63 74 69 76 69 | 74 79 4e 6f 74 69 66 69 |( Activi|tyNotifi|
|00000ad0| 63 61 74 69 6f 6e 20 3d | 3d 20 27 27 20 29 0d 0a |cation =|= '' )..|
|00000ae0| 09 7b 0d 0a 09 09 44 65 | 74 65 72 6d 69 6e 65 41 |.{....De|termineA|
|00000af0| 63 74 69 76 69 74 79 4e | 6f 74 69 66 69 63 61 74 |ctivityN|otificat|
|00000b00| 69 6f 6e 28 20 41 63 74 | 69 76 69 74 79 4e 6f 74 |ion( Act|ivityNot|
|00000b10| 69 66 69 63 61 74 69 6f | 6e 2c 20 4f 62 73 65 72 |ificatio|n, Obser|
|00000b20| 76 65 72 2c 20 52 65 6c | 65 76 61 6e 74 50 6c 61 |ver, Rel|evantPla|
|00000b30| 79 65 72 73 5b 20 52 65 | 6c 65 76 61 6e 74 50 6c |yers[ Re|levantPl|
|00000b40| 61 79 65 72 49 74 65 72 | 20 5d 20 29 3b 0d 0a 09 |ayerIter| ] );...|
|00000b50| 7d 0d 0a 2a 2f 09 0d 0a | 09 69 66 28 20 41 63 74 |}..*/...|.if( Act|
|00000b60| 69 76 69 74 79 4e 6f 74 | 69 66 69 63 61 74 69 6f |ivityNot|ificatio|
|00000b70| 6e 20 3d 3d 20 46 6f 72 | 63 65 41 63 74 69 76 65 |n == For|ceActive|
|00000b80| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 20 29 0d 0a |Notifica|tion )..|
|00000b90| 09 7b 0d 0a 09 09 4e 6f | 74 69 66 69 65 64 41 63 |.{....No|tifiedAc|
|00000ba0| 74 69 76 65 50 61 77 6e | 73 2b 2b 3b 0d 0a 09 7d |tivePawn|s++;...}|
|00000bb0| 0d 0a 09 65 6c 73 65 0d | 0a 09 7b 0d 0a 09 09 4e |...else.|..{....N|
|00000bc0| 6f 74 69 66 69 65 64 49 | 6e 61 63 74 69 76 65 50 |otifiedI|nactiveP|
|00000bd0| 61 77 6e 73 2b 2b 3b 0d | 0a 09 7d 0d 0a 09 4e 6f |awns++;.|..}...No|
|00000be0| 74 69 66 69 63 61 74 69 | 6f 6e 20 3d 20 41 63 74 |tificati|on = Act|
|00000bf0| 69 76 69 74 79 4e 6f 74 | 69 66 69 63 61 74 69 6f |ivityNot|ificatio|
|00000c00| 6e 3b 0d 0a 09 63 6c 61 | 73 73 27 44 65 62 75 67 |n;...cla|ss'Debug|
|00000c10| 27 2e 73 74 61 74 69 63 | 2e 44 65 62 75 67 4c 6f |'.static|.DebugLo|
|00000c20| 67 28 20 53 65 6c 66 2c | 20 22 44 69 72 65 63 74 |g( Self,| "Direct|
|00000c30| 4f 62 73 65 72 76 65 72 | 20 41 63 74 69 76 69 74 |Observer| Activit|
|00000c40| 79 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 20 22 20 |yNotific|ation " |
|00000c50| 24 20 41 63 74 69 76 69 | 74 79 4e 6f 74 69 66 69 |$ Activi|tyNotifi|
|00000c60| 63 61 74 69 6f 6e 2c 20 | 27 41 63 74 69 76 69 74 |cation, |'Activit|
|00000c70| 79 4d 61 6e 61 67 65 72 | 27 20 29 3b 0d 0a 09 69 |yManager|' );...i|
|00000c80| 66 28 20 4f 62 73 65 72 | 76 65 72 2e 49 73 41 28 |f( Obser|ver.IsA(|
|00000c90| 20 27 4c 65 67 65 6e 64 | 50 61 77 6e 27 20 29 20 | 'Legend|Pawn' ) |
|00000ca0| 29 0d 0a 09 7b 0d 0a 09 | 09 2f 2f 78 78 78 72 6c |)...{...|.//xxxrl|
|00000cb0| 6f 20 68 61 63 6b 20 66 | 6f 72 20 70 65 72 66 6f |o hack f|or perfo|
|00000cc0| 72 6d 61 6e 61 63 65 20 | 72 65 61 73 6f 6e 73 0d |rmanace |reasons.|
|00000cd0| 0a 09 09 4c 65 67 65 6e | 64 50 61 77 6e 28 20 4f |...Legen|dPawn( O|
|00000ce0| 62 73 65 72 76 65 72 20 | 29 2e 4f 6e 41 63 74 69 |bserver |).OnActi|
|00000cf0| 76 69 74 79 4d 61 6e 61 | 67 65 72 4e 6f 74 69 66 |vityMana|gerNotif|
|00000d00| 69 63 61 74 69 6f 6e 28 | 20 53 65 6c 66 20 29 3b |ication(| Self );|
|00000d10| 0d 0a 09 7d 0d 0a 09 65 | 6c 73 65 0d 0a 09 7b 0d |...}...e|lse...{.|
|00000d20| 0a 09 09 53 75 70 65 72 | 2e 44 69 72 65 63 74 4f |...Super|.DirectO|
|00000d30| 62 73 65 72 76 65 72 28 | 20 4f 62 73 65 72 76 65 |bserver(| Observe|
|00000d40| 72 2c 20 45 76 65 6e 74 | 49 6e 73 74 69 67 61 74 |r, Event|Instigat|
|00000d50| 6f 72 20 29 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |or );...|}..}....|
|00000d60| 0d 0a 0d 0a 6e 61 74 69 | 76 65 20 66 75 6e 63 74 |....nati|ve funct|
|00000d70| 69 6f 6e 20 46 69 6e 64 | 52 65 6c 65 76 61 6e 74 |ion Find|Relevant|
|00000d80| 50 6c 61 79 65 72 73 28 | 29 3b 0d 0a 0d 0a 0d 0a |Players(|);......|
|00000d90| 0d 0a 6e 61 74 69 76 65 | 20 66 75 6e 63 74 69 6f |..native| functio|
|00000da0| 6e 20 44 65 74 65 72 6d | 69 6e 65 41 63 74 69 76 |n Determ|ineActiv|
|00000db0| 69 74 79 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 28 |ityNotif|ication(|
|00000dc0| 20 6f 75 74 20 4e 61 6d | 65 20 41 63 74 69 76 69 | out Nam|e Activi|
|00000dd0| 74 79 4e 6f 74 69 66 69 | 63 61 74 69 6f 6e 2c 20 |tyNotifi|cation, |
|00000de0| 41 63 74 6f 72 20 52 65 | 67 69 73 74 65 72 65 64 |Actor Re|gistered|
|00000df0| 41 63 74 6f 72 2c 20 50 | 61 77 6e 20 52 65 6c 65 |Actor, P|awn Rele|
|00000e00| 76 61 6e 74 50 6c 61 79 | 65 72 20 29 3b 0d 0a 0d |vantPlay|er );...|
|00000e10| 0a 00 | |.. | |
+--------+-------------------------+-------------------------+--------+--------+