home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 32 / CD Expert nº 32.iso / Unreal T / utdemo338.exe / System / BotPack.u / Bot_CTFMessage_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-09-27  |  3.4 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 | 60 35 2f 2f 0d 0a 2f 2f |........|`5//..//|
|00000010| 20 43 54 46 20 4d 65 73 | 73 61 67 65 73 0d 0a 2f | CTF Mes|sages../|
|00000020| 2f 0d 0a 2f 2f 20 53 77 | 69 74 63 68 20 30 3a 20 |/..// Sw|itch 0: |
|00000030| 43 61 70 74 75 72 65 20 | 4d 65 73 73 61 67 65 0d |Capture |Message.|
|00000040| 0a 2f 2f 09 52 65 6c 61 | 74 65 64 50 52 49 5f 31 |.//.Rela|tedPRI_1|
|00000050| 20 69 73 20 74 68 65 20 | 73 63 6f 72 65 72 2e 0d | is the |scorer..|
|00000060| 0a 2f 2f 09 4f 70 74 69 | 6f 6e 61 6c 4f 62 6a 65 |.//.Opti|onalObje|
|00000070| 63 74 20 69 73 20 74 68 | 65 20 66 6c 61 67 2e 0d |ct is th|e flag..|
|00000080| 0a 2f 2f 0d 0a 2f 2f 20 | 53 77 69 74 63 68 20 31 |.//..// |Switch 1|
|00000090| 3a 20 52 65 74 75 72 6e | 20 4d 65 73 73 61 67 65 |: Return| Message|
|000000a0| 0d 0a 2f 2f 09 52 65 6c | 61 74 65 64 50 52 49 5f |..//.Rel|atedPRI_|
|000000b0| 31 20 69 73 20 74 68 65 | 20 73 63 6f 72 65 72 2e |1 is the| scorer.|
|000000c0| 0d 0a 2f 2f 09 4f 70 74 | 69 6f 6e 61 6c 4f 62 6a |..//.Opt|ionalObj|
|000000d0| 65 63 74 20 69 73 20 74 | 68 65 20 66 6c 61 67 2e |ect is t|he flag.|
|000000e0| 0d 0a 2f 2f 0d 0a 2f 2f | 20 53 77 69 74 63 68 20 |..//..//| Switch |
|000000f0| 32 3a 20 44 72 6f 70 70 | 65 64 20 4d 65 73 73 61 |2: Dropp|ed Messa|
|00000100| 67 65 0d 0a 2f 2f 09 52 | 65 6c 61 74 65 64 50 52 |ge..//.R|elatedPR|
|00000110| 49 5f 31 20 69 73 20 74 | 68 65 20 68 6f 6c 64 65 |I_1 is t|he holde|
|00000120| 72 2e 0d 0a 2f 2f 09 4f | 70 74 69 6f 6e 61 6c 4f |r...//.O|ptionalO|
|00000130| 62 6a 65 63 74 20 69 73 | 20 74 68 65 20 66 6c 61 |bject is| the fla|
|00000140| 67 27 73 20 74 65 61 6d | 20 74 65 61 6d 69 6e 66 |g's team| teaminf|
|00000150| 6f 2e 0d 0a 2f 2f 09 0d | 0a 2f 2f 20 53 77 69 74 |o...//..|.// Swit|
|00000160| 63 68 20 33 3a 20 57 61 | 73 20 52 65 74 75 72 6e |ch 3: Wa|s Return|
|00000170| 65 64 20 4d 65 73 73 61 | 67 65 0d 0a 2f 2f 09 4f |ed Messa|ge..//.O|
|00000180| 70 74 69 6f 6e 61 6c 4f | 62 6a 65 63 74 20 69 73 |ptionalO|bject is|
|00000190| 20 74 68 65 20 66 6c 61 | 67 27 73 20 74 65 61 6d | the fla|g's team|
|000001a0| 20 74 65 61 6d 69 6e 66 | 6f 2e 0d 0a 2f 2f 0d 0a | teaminf|o...//..|
|000001b0| 2f 2f 20 53 77 69 74 63 | 68 20 34 3a 20 48 61 73 |// Switc|h 4: Has|
|000001c0| 20 74 68 65 20 66 6c 61 | 67 2e 0d 0a 2f 2f 09 52 | the fla|g...//.R|
|000001d0| 65 6c 61 74 65 64 50 52 | 49 5f 31 20 69 73 20 74 |elatedPR|I_1 is t|
|000001e0| 68 65 20 68 6f 6c 64 65 | 72 2e 0d 0a 2f 2f 09 4f |he holde|r...//.O|
|000001f0| 70 74 69 6f 6e 61 6c 4f | 62 6a 65 63 74 20 69 73 |ptionalO|bject is|
|00000200| 20 74 68 65 20 66 6c 61 | 67 27 73 20 74 65 61 6d | the fla|g's team|
|00000210| 20 74 65 61 6d 69 6e 66 | 6f 2e 0d 0a 2f 2f 0d 0a | teaminf|o...//..|
|00000220| 2f 2f 20 53 77 69 74 63 | 68 20 35 3a 20 41 75 74 |// Switc|h 5: Aut|
|00000230| 6f 20 53 65 6e 64 20 48 | 6f 6d 65 2e 0d 0a 2f 2f |o Send H|ome...//|
|00000240| 09 4f 70 74 69 6f 6e 61 | 6c 4f 62 6a 65 63 74 20 |.Optiona|lObject |
|00000250| 69 73 20 74 68 65 20 66 | 6c 61 67 27 73 20 74 65 |is the f|lag's te|
|00000260| 61 6d 20 74 65 61 6d 69 | 6e 66 6f 2e 0d 0a 2f 2f |am teami|nfo...//|
|00000270| 0d 0a 2f 2f 20 53 77 69 | 74 63 68 20 36 3a 20 50 |..// Swi|tch 6: P|
|00000280| 69 63 6b 75 70 20 73 74 | 72 61 79 2e 0d 0a 2f 2f |ickup st|ray...//|
|00000290| 09 52 65 6c 61 74 65 64 | 50 52 49 5f 31 20 69 73 |.Related|PRI_1 is|
|000002a0| 20 74 68 65 20 68 6f 6c | 64 65 72 2e 0d 0a 2f 2f | the hol|der...//|
|000002b0| 09 4f 70 74 69 6f 6e 61 | 6c 4f 62 6a 65 63 74 20 |.Optiona|lObject |
|000002c0| 69 73 20 74 68 65 20 66 | 6c 61 67 27 73 20 74 65 |is the f|lag's te|
|000002d0| 61 6d 20 74 65 61 6d 69 | 6e 66 6f 2e 0d 0a 0d 0a |am teami|nfo.....|
|000002e0| 63 6c 61 73 73 20 43 54 | 46 4d 65 73 73 61 67 65 |class CT|FMessage|
|000002f0| 20 65 78 74 65 6e 64 73 | 20 43 72 69 74 69 63 61 | extends| Critica|
|00000300| 6c 45 76 65 6e 74 50 6c | 75 73 3b 0d 0a 0d 0a 76 |lEventPl|us;....v|
|00000310| 61 72 20 6c 6f 63 61 6c | 69 7a 65 64 20 73 74 72 |ar local|ized str|
|00000320| 69 6e 67 20 52 65 74 75 | 72 6e 42 6c 75 65 2c 20 |ing Retu|rnBlue, |
|00000330| 52 65 74 75 72 6e 52 65 | 64 3b 0d 0a 76 61 72 20 |ReturnRe|d;..var |
|00000340| 6c 6f 63 61 6c 69 7a 65 | 64 20 73 74 72 69 6e 67 |localize|d string|
|00000350| 20 52 65 74 75 72 6e 65 | 64 42 6c 75 65 2c 20 52 | Returne|dBlue, R|
|00000360| 65 74 75 72 6e 65 64 52 | 65 64 3b 0d 0a 76 61 72 |eturnedR|ed;..var|
|00000370| 20 6c 6f 63 61 6c 69 7a | 65 64 20 73 74 72 69 6e | localiz|ed strin|
|00000380| 67 20 43 61 70 74 75 72 | 65 42 6c 75 65 2c 20 43 |g Captur|eBlue, C|
|00000390| 61 70 74 75 72 65 52 65 | 64 3b 0d 0a 76 61 72 20 |aptureRe|d;..var |
|000003a0| 6c 6f 63 61 6c 69 7a 65 | 64 20 73 74 72 69 6e 67 |localize|d string|
|000003b0| 20 44 72 6f 70 70 65 64 | 42 6c 75 65 2c 20 44 72 | Dropped|Blue, Dr|
|000003c0| 6f 70 70 65 64 52 65 64 | 3b 0d 0a 76 61 72 20 6c |oppedRed|;..var l|
|000003d0| 6f 63 61 6c 69 7a 65 64 | 20 73 74 72 69 6e 67 20 |ocalized| string |
|000003e0| 48 61 73 42 6c 75 65 2c | 48 61 73 52 65 64 3b 0d |HasBlue,|HasRed;.|
|000003f0| 0a 0d 0a 73 74 61 74 69 | 63 20 66 75 6e 63 74 69 |...stati|c functi|
|00000400| 6f 6e 20 73 74 72 69 6e | 67 20 47 65 74 53 74 72 |on strin|g GetStr|
|00000410| 69 6e 67 28 0d 0a 09 6f | 70 74 69 6f 6e 61 6c 20 |ing(...o|ptional |
|00000420| 69 6e 74 20 53 77 69 74 | 63 68 2c 0d 0a 09 6f 70 |int Swit|ch,...op|
|00000430| 74 69 6f 6e 61 6c 20 50 | 6c 61 79 65 72 52 65 70 |tional P|layerRep|
|00000440| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 20 52 65 6c |lication|Info Rel|
|00000450| 61 74 65 64 50 52 49 5f | 31 2c 20 0d 0a 09 6f 70 |atedPRI_|1, ...op|
|00000460| 74 69 6f 6e 61 6c 20 50 | 6c 61 79 65 72 52 65 70 |tional P|layerRep|
|00000470| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 20 52 65 6c |lication|Info Rel|
|00000480| 61 74 65 64 50 52 49 5f | 32 2c 0d 0a 09 6f 70 74 |atedPRI_|2,...opt|
|00000490| 69 6f 6e 61 6c 20 4f 62 | 6a 65 63 74 20 4f 70 74 |ional Ob|ject Opt|
|000004a0| 69 6f 6e 61 6c 4f 62 6a | 65 63 74 0d 0a 09 29 0d |ionalObj|ect...).|
|000004b0| 0a 7b 0d 0a 09 73 77 69 | 74 63 68 20 28 53 77 69 |.{...swi|tch (Swi|
|000004c0| 74 63 68 29 0d 0a 09 7b | 0d 0a 09 09 2f 2f 20 43 |tch)...{|....// C|
|000004d0| 61 70 74 75 72 65 64 20 | 74 68 65 20 66 6c 61 67 |aptured |the flag|
|000004e0| 2e 0d 0a 09 09 63 61 73 | 65 20 30 3a 0d 0a 09 09 |.....cas|e 0:....|
|000004f0| 09 69 66 20 28 52 65 6c | 61 74 65 64 50 52 49 5f |.if (Rel|atedPRI_|
|00000500| 31 20 3d 3d 20 4e 6f 6e | 65 29 0d 0a 09 09 09 09 |1 == Non|e)......|
|00000510| 72 65 74 75 72 6e 20 22 | 22 3b 0d 0a 09 09 09 69 |return "|";.....i|
|00000520| 66 20 28 20 43 54 46 46 | 6c 61 67 28 4f 70 74 69 |f ( CTFF|lag(Opti|
|00000530| 6f 6e 61 6c 4f 62 6a 65 | 63 74 29 20 3d 3d 20 4e |onalObje|ct) == N|
|00000540| 6f 6e 65 20 29 0d 0a 09 | 09 09 09 72 65 74 75 72 |one )...|...retur|
|00000550| 6e 20 22 22 3b 0d 0a 0d | 0a 09 09 09 69 66 20 28 |n "";...|....if (|
|00000560| 20 43 54 46 46 6c 61 67 | 28 4f 70 74 69 6f 6e 61 | CTFFlag|(Optiona|
|00000570| 6c 4f 62 6a 65 63 74 29 | 2e 54 65 61 6d 20 3d 3d |lObject)|.Team ==|
|00000580| 20 30 20 29 0d 0a 09 09 | 09 09 72 65 74 75 72 6e | 0 )....|..return|
|00000590| 20 52 65 6c 61 74 65 64 | 50 52 49 5f 31 2e 50 6c | Related|PRI_1.Pl|
|000005a0| 61 79 65 72 4e 61 6d 65 | 40 44 65 66 61 75 6c 74 |ayerName|@Default|
|000005b0| 2e 43 61 70 74 75 72 65 | 52 65 64 3b 0d 0a 09 09 |.Capture|Red;....|
|000005c0| 09 65 6c 73 65 0d 0a 09 | 09 09 09 72 65 74 75 72 |.else...|...retur|
|000005d0| 6e 20 52 65 6c 61 74 65 | 64 50 52 49 5f 31 2e 50 |n Relate|dPRI_1.P|
|000005e0| 6c 61 79 65 72 4e 61 6d | 65 40 44 65 66 61 75 6c |layerNam|e@Defaul|
|000005f0| 74 2e 43 61 70 74 75 72 | 65 42 6c 75 65 3b 0d 0a |t.Captur|eBlue;..|
|00000600| 09 09 09 62 72 65 61 6b | 3b 0d 0a 0d 0a 09 09 2f |...break|;....../|
|00000610| 2f 20 52 65 74 75 72 6e | 65 64 20 74 68 65 20 66 |/ Return|ed the f|
|00000620| 6c 61 67 2e 0d 0a 09 09 | 63 61 73 65 20 31 3a 0d |lag.....|case 1:.|
|00000630| 0a 09 09 09 69 66 20 28 | 20 43 54 46 46 6c 61 67 |....if (| CTFFlag|
|00000640| 28 4f 70 74 69 6f 6e 61 | 6c 4f 62 6a 65 63 74 29 |(Optiona|lObject)|
|00000650| 20 3d 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 09 09 09 | == None| )......|
|00000660| 72 65 74 75 72 6e 20 22 | 22 3b 0d 0a 09 09 09 69 |return "|";.....i|
|00000670| 66 20 28 52 65 6c 61 74 | 65 64 50 52 49 5f 31 20 |f (Relat|edPRI_1 |
|00000680| 3d 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 09 7b 0d 0a |== None)|.....{..|
|00000690| 09 09 09 09 69 66 20 28 | 20 43 54 46 46 6c 61 67 |....if (| CTFFlag|
|000006a0| 28 4f 70 74 69 6f 6e 61 | 6c 4f 62 6a 65 63 74 29 |(Optiona|lObject)|
|000006b0| 2e 54 65 61 6d 20 3d 3d | 20 30 20 29 0d 0a 09 09 |.Team ==| 0 )....|
|000006c0| 09 09 09 72 65 74 75 72 | 6e 20 44 65 66 61 75 6c |...retur|n Defaul|
|000006d0| 74 2e 52 65 74 75 72 6e | 65 64 52 65 64 3b 0d 0a |t.Return|edRed;..|
|000006e0| 09 09 09 09 65 6c 73 65 | 0d 0a 09 09 09 09 09 72 |....else|.......r|
|000006f0| 65 74 75 72 6e 20 44 65 | 66 61 75 6c 74 2e 52 65 |eturn De|fault.Re|
|00000700| 74 75 72 6e 65 64 42 6c | 75 65 3b 0d 0a 09 09 09 |turnedBl|ue;.....|
|00000710| 7d 0d 0a 09 09 09 69 66 | 20 28 20 43 54 46 46 6c |}.....if| ( CTFFl|
|00000720| 61 67 28 4f 70 74 69 6f | 6e 61 6c 4f 62 6a 65 63 |ag(Optio|nalObjec|
|00000730| 74 29 2e 54 65 61 6d 20 | 3d 3d 20 30 20 29 0d 0a |t).Team |== 0 )..|
|00000740| 09 09 09 09 72 65 74 75 | 72 6e 20 52 65 6c 61 74 |....retu|rn Relat|
|00000750| 65 64 50 52 49 5f 31 2e | 50 6c 61 79 65 72 4e 61 |edPRI_1.|PlayerNa|
|00000760| 6d 65 40 44 65 66 61 75 | 6c 74 2e 52 65 74 75 72 |me@Defau|lt.Retur|
|00000770| 6e 52 65 64 3b 0d 0a 09 | 09 09 65 6c 73 65 0d 0a |nRed;...|..else..|
|00000780| 09 09 09 09 72 65 74 75 | 72 6e 20 52 65 6c 61 74 |....retu|rn Relat|
|00000790| 65 64 50 52 49 5f 31 2e | 50 6c 61 79 65 72 4e 61 |edPRI_1.|PlayerNa|
|000007a0| 6d 65 40 44 65 66 61 75 | 6c 74 2e 52 65 74 75 72 |me@Defau|lt.Retur|
|000007b0| 6e 42 6c 75 65 3b 0d 0a | 09 09 09 62 72 65 61 6b |nBlue;..|...break|
|000007c0| 3b 0d 0a 0d 0a 09 09 2f | 2f 20 44 72 6f 70 70 65 |;....../|/ Droppe|
|000007d0| 64 20 74 68 65 20 66 6c | 61 67 2e 0d 0a 09 09 63 |d the fl|ag.....c|
|000007e0| 61 73 65 20 32 3a 0d 0a | 09 09 09 69 66 20 28 52 |ase 2:..|...if (R|
|000007f0| 65 6c 61 74 65 64 50 52 | 49 5f 31 20 3d 3d 20 4e |elatedPR|I_1 == N|
|00000800| 6f 6e 65 29 0d 0a 09 09 | 09 09 72 65 74 75 72 6e |one)....|..return|
|00000810| 20 22 22 3b 0d 0a 09 09 | 09 69 66 20 28 20 54 65 | "";....|.if ( Te|
|00000820| 61 6d 49 6e 66 6f 28 4f | 70 74 69 6f 6e 61 6c 4f |amInfo(O|ptionalO|
|00000830| 62 6a 65 63 74 29 20 3d | 3d 20 4e 6f 6e 65 20 29 |bject) =|= None )|
|00000840| 0d 0a 09 09 09 09 72 65 | 74 75 72 6e 20 22 22 3b |......re|turn "";|
|00000850| 0d 0a 0d 0a 09 09 09 69 | 66 20 28 20 54 65 61 6d |.......i|f ( Team|
|00000860| 49 6e 66 6f 28 4f 70 74 | 69 6f 6e 61 6c 4f 62 6a |Info(Opt|ionalObj|
|00000870| 65 63 74 29 2e 54 65 61 | 6d 49 6e 64 65 78 20 3d |ect).Tea|mIndex =|
|00000880| 3d 20 30 20 29 0d 0a 09 | 09 09 09 72 65 74 75 72 |= 0 )...|...retur|
|00000890| 6e 20 52 65 6c 61 74 65 | 64 50 52 49 5f 31 2e 50 |n Relate|dPRI_1.P|
|000008a0| 6c 61 79 65 72 4e 61 6d | 65 40 44 65 66 61 75 6c |layerNam|e@Defaul|
|000008b0| 74 2e 44 72 6f 70 70 65 | 64 52 65 64 3b 0d 0a 09 |t.Droppe|dRed;...|
|000008c0| 09 09 65 6c 73 65 0d 0a | 09 09 09 09 72 65 74 75 |..else..|....retu|
|000008d0| 72 6e 20 52 65 6c 61 74 | 65 64 50 52 49 5f 31 2e |rn Relat|edPRI_1.|
|000008e0| 50 6c 61 79 65 72 4e 61 | 6d 65 40 44 65 66 61 75 |PlayerNa|me@Defau|
|000008f0| 6c 74 2e 44 72 6f 70 70 | 65 64 42 6c 75 65 3b 0d |lt.Dropp|edBlue;.|
|00000900| 0a 09 09 09 62 72 65 61 | 6b 3b 0d 0a 0d 0a 09 09 |....brea|k;......|
|00000910| 2f 2f 20 57 61 73 20 72 | 65 74 75 72 6e 65 64 2e |// Was r|eturned.|
|00000920| 0d 0a 09 09 63 61 73 65 | 20 33 3a 0d 0a 09 09 09 |....case| 3:.....|
|00000930| 69 66 20 28 20 54 65 61 | 6d 49 6e 66 6f 28 4f 70 |if ( Tea|mInfo(Op|
|00000940| 74 69 6f 6e 61 6c 4f 62 | 6a 65 63 74 29 20 3d 3d |tionalOb|ject) ==|
|00000950| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 09 09 72 65 74 | None ).|.....ret|
|00000960| 75 72 6e 20 22 22 3b 0d | 0a 0d 0a 09 09 09 69 66 |urn "";.|......if|
|00000970| 20 28 20 54 65 61 6d 49 | 6e 66 6f 28 4f 70 74 69 | ( TeamI|nfo(Opti|
|00000980| 6f 6e 61 6c 4f 62 6a 65 | 63 74 29 2e 54 65 61 6d |onalObje|ct).Team|
|00000990| 49 6e 64 65 78 20 3d 3d | 20 30 20 29 0d 0a 09 09 |Index ==| 0 )....|
|000009a0| 09 09 72 65 74 75 72 6e | 20 44 65 66 61 75 6c 74 |..return| Default|
|000009b0| 2e 52 65 74 75 72 6e 65 | 64 52 65 64 3b 0d 0a 09 |.Returne|dRed;...|
|000009c0| 09 09 65 6c 73 65 0d 0a | 09 09 09 09 72 65 74 75 |..else..|....retu|
|000009d0| 72 6e 20 44 65 66 61 75 | 6c 74 2e 52 65 74 75 72 |rn Defau|lt.Retur|
|000009e0| 6e 65 64 42 6c 75 65 3b | 0d 0a 09 09 09 62 72 65 |nedBlue;|.....bre|
|000009f0| 61 6b 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 48 61 73 20 |ak;.....|.// Has |
|00000a00| 74 68 65 20 66 6c 61 67 | 2e 0d 0a 09 09 63 61 73 |the flag|.....cas|
|00000a10| 65 20 34 3a 0d 0a 09 09 | 09 69 66 20 28 52 65 6c |e 4:....|.if (Rel|
|00000a20| 61 74 65 64 50 52 49 5f | 31 20 3d 3d 20 4e 6f 6e |atedPRI_|1 == Non|
|00000a30| 65 29 0d 0a 09 09 09 09 | 72 65 74 75 72 6e 20 22 |e)......|return "|
|00000a40| 22 3b 0d 0a 09 09 09 69 | 66 20 28 20 54 65 61 6d |";.....i|f ( Team|
|00000a50| 49 6e 66 6f 28 4f 70 74 | 69 6f 6e 61 6c 4f 62 6a |Info(Opt|ionalObj|
|00000a60| 65 63 74 29 20 3d 3d 20 | 4e 6f 6e 65 20 29 0d 0a |ect) == |None )..|
|00000a70| 09 09 09 09 72 65 74 75 | 72 6e 20 22 22 3b 0d 0a |....retu|rn "";..|
|00000a80| 0d 0a 09 09 09 69 66 20 | 28 20 54 65 61 6d 49 6e |.....if |( TeamIn|
|00000a90| 66 6f 28 4f 70 74 69 6f | 6e 61 6c 4f 62 6a 65 63 |fo(Optio|nalObjec|
|00000aa0| 74 29 2e 54 65 61 6d 49 | 6e 64 65 78 20 3d 3d 20 |t).TeamI|ndex == |
|00000ab0| 30 20 29 0d 0a 09 09 09 | 09 72 65 74 75 72 6e 20 |0 ).....|.return |
|00000ac0| 52 65 6c 61 74 65 64 50 | 52 49 5f 31 2e 50 6c 61 |RelatedP|RI_1.Pla|
|00000ad0| 79 65 72 4e 61 6d 65 40 | 44 65 66 61 75 6c 74 2e |yerName@|Default.|
|00000ae0| 48 61 73 52 65 64 3b 0d | 0a 09 09 09 65 6c 73 65 |HasRed;.|....else|
|00000af0| 0d 0a 09 09 09 09 72 65 | 74 75 72 6e 20 52 65 6c |......re|turn Rel|
|00000b00| 61 74 65 64 50 52 49 5f | 31 2e 50 6c 61 79 65 72 |atedPRI_|1.Player|
|00000b10| 4e 61 6d 65 40 44 65 66 | 61 75 6c 74 2e 48 61 73 |Name@Def|ault.Has|
|00000b20| 42 6c 75 65 3b 0d 0a 09 | 09 09 62 72 65 61 6b 3b |Blue;...|..break;|
|00000b30| 0d 0a 0d 0a 09 09 2f 2f | 20 41 75 74 6f 20 73 65 |......//| Auto se|
|00000b40| 6e 64 20 68 6f 6d 65 2e | 0d 0a 09 09 63 61 73 65 |nd home.|....case|
|00000b50| 20 35 3a 0d 0a 09 09 09 | 69 66 20 28 20 54 65 61 | 5:.....|if ( Tea|
|00000b60| 6d 49 6e 66 6f 28 4f 70 | 74 69 6f 6e 61 6c 4f 62 |mInfo(Op|tionalOb|
|00000b70| 6a 65 63 74 29 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |ject) ==| None ).|
|00000b80| 0a 09 09 09 09 72 65 74 | 75 72 6e 20 22 22 3b 0d |.....ret|urn "";.|
|00000b90| 0a 0d 0a 09 09 09 69 66 | 20 28 20 54 65 61 6d 49 |......if| ( TeamI|
|00000ba0| 6e 66 6f 28 4f 70 74 69 | 6f 6e 61 6c 4f 62 6a 65 |nfo(Opti|onalObje|
|00000bb0| 63 74 29 2e 54 65 61 6d | 49 6e 64 65 78 20 3d 3d |ct).Team|Index ==|
|00000bc0| 20 30 20 29 0d 0a 09 09 | 09 09 72 65 74 75 72 6e | 0 )....|..return|
|00000bd0| 20 44 65 66 61 75 6c 74 | 2e 52 65 74 75 72 6e 65 | Default|.Returne|
|00000be0| 64 52 65 64 3b 0d 0a 09 | 09 09 65 6c 73 65 0d 0a |dRed;...|..else..|
|00000bf0| 09 09 09 09 72 65 74 75 | 72 6e 20 44 65 66 61 75 |....retu|rn Defau|
|00000c00| 6c 74 2e 52 65 74 75 72 | 6e 65 64 42 6c 75 65 3b |lt.Retur|nedBlue;|
|00000c10| 0d 0a 09 09 09 62 72 65 | 61 6b 3b 0d 0a 0d 0a 09 |.....bre|ak;.....|
|00000c20| 09 2f 2f 20 50 69 63 6b | 75 70 0d 0a 09 09 63 61 |.// Pick|up....ca|
|00000c30| 73 65 20 36 3a 0d 0a 09 | 09 09 69 66 20 28 52 65 |se 6:...|..if (Re|
|00000c40| 6c 61 74 65 64 50 52 49 | 5f 31 20 3d 3d 20 4e 6f |latedPRI|_1 == No|
|00000c50| 6e 65 29 0d 0a 09 09 09 | 09 72 65 74 75 72 6e 20 |ne).....|.return |
|00000c60| 22 22 3b 0d 0a 09 09 09 | 69 66 20 28 20 54 65 61 |"";.....|if ( Tea|
|00000c70| 6d 49 6e 66 6f 28 4f 70 | 74 69 6f 6e 61 6c 4f 62 |mInfo(Op|tionalOb|
|00000c80| 6a 65 63 74 29 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |ject) ==| None ).|
|00000c90| 0a 09 09 09 09 72 65 74 | 75 72 6e 20 22 22 3b 0d |.....ret|urn "";.|
|00000ca0| 0a 0d 0a 09 09 09 69 66 | 20 28 20 54 65 61 6d 49 |......if| ( TeamI|
|00000cb0| 6e 66 6f 28 4f 70 74 69 | 6f 6e 61 6c 4f 62 6a 65 |nfo(Opti|onalObje|
|00000cc0| 63 74 29 2e 54 65 61 6d | 49 6e 64 65 78 20 3d 3d |ct).Team|Index ==|
|00000cd0| 20 30 20 29 0d 0a 09 09 | 09 09 72 65 74 75 72 6e | 0 )....|..return|
|00000ce0| 20 52 65 6c 61 74 65 64 | 50 52 49 5f 31 2e 50 6c | Related|PRI_1.Pl|
|00000cf0| 61 79 65 72 4e 61 6d 65 | 40 44 65 66 61 75 6c 74 |ayerName|@Default|
|00000d00| 2e 48 61 73 52 65 64 3b | 0d 0a 09 09 09 65 6c 73 |.HasRed;|.....els|
|00000d10| 65 0d 0a 09 09 09 09 72 | 65 74 75 72 6e 20 52 65 |e......r|eturn Re|
|00000d20| 6c 61 74 65 64 50 52 49 | 5f 31 2e 50 6c 61 79 65 |latedPRI|_1.Playe|
|00000d30| 72 4e 61 6d 65 40 44 65 | 66 61 75 6c 74 2e 48 61 |rName@De|fault.Ha|
|00000d40| 73 42 6c 75 65 3b 0d 0a | 09 09 09 62 72 65 61 6b |sBlue;..|...break|
|00000d50| 3b 0d 0a 09 7d 0d 0a 09 | 72 65 74 75 72 6e 20 22 |;...}...|return "|
|00000d60| 22 3b 0d 0a 7d 0d 0a 0d | 0a 00 |";..}...|.. |
+--------+-------------------------+-------------------------+--------+--------+