Debian Codegraph @

autotests/html/highlight.uc.html

raw
1 <!DOCTYPE html>
2 <html><head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4 <title>highlight.uc</title>
5 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (UnrealScript) - Theme (Breeze Light)"/>
6 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
7 <span style="color:#898887;">/**</span>
8 <span style="color:#898887;">* Comment </span>
9 <span style="color:#898887;">*/</span>
10 <span style="color:#0057ae;">class</span> DH_SeqAvt_GiveExp <span style="font-weight:bold;">extends</span> SequenceAction;
11
12 <span style="font-weight:bold;">var</span>() <span style="color:#0057ae;">float</span> expGive;
13 <span style="font-weight:bold;">var</span> <span style="color:#0057ae;">float</span> result;
14
15 <span style="color:#898887;">// line comment</span>
16 <span style="font-weight:bold;">event</span> Activated()
17 {
18 <span style="font-weight:bold;">local</span> DH_PlayerController PC;
19 PC = DH_PlayerController(GetWorldInfo().GetALocalPlayerController());
20 PC.modifyExp(expGive);
21 result = PC.currentEXP;
22 }
23
24 <span style="font-weight:bold;">defaultproperties</span>
25 {
26 ObjName=<span style="color:#bf0303;">&quot;Reward Exp&quot;</span>
27 ObjCategory=<span style="color:#bf0303;">&quot;DH_PlayerController&quot;</span>
28
29 VariableLinks.Empty;
30 VariableLinks(<span style="color:#b08000;">0</span>)=(ExpectedType=class’SeqVar_Float’, bWriteable=<span style="font-weight:bold;">false</span>, LinkDesc=<span style="color:#bf0303;">&quot;expGive&quot;</span>, PropertyName=expGive)
31 }
32 </pre></body></html>