1
2 /**
3 IMPORTANT !!!
4
5 DO NOT EDIT THIS FILE. IT IS GENERATED FROM approriate xml file in xmlresources/gbinfomessages BY
6 THE JavaClassesGenerator.xslt. MODIFY THESE FILES INSTEAD OF THIS ONE.
7
8 IMPORTANT END !!!
9 */
10 package
11 cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages;
12 import java.util.*;
13 import javax.vecmath.*;
14 import cz.cuni.amis.pogamut.base.communication.messages.*;
15 import cz.cuni.amis.pogamut.base.communication.worldview.*;
16 import cz.cuni.amis.pogamut.base.communication.worldview.event.*;
17 import cz.cuni.amis.pogamut.base.communication.worldview.object.*;
18 import cz.cuni.amis.pogamut.base.communication.translator.event.*;
19 import cz.cuni.amis.pogamut.base3d.worldview.object.*;
20 import cz.cuni.amis.pogamut.base3d.worldview.object.event.*;
21 import cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId;
22 import cz.cuni.amis.pogamut.udk.communication.messages.*;
23 import cz.cuni.amis.pogamut.udk.communication.worldview.objects.*;
24 import cz.cuni.amis.pogamut.udk.communication.translator.itemdescriptor.*;
25 import cz.cuni.amis.pogamut.udk.communication.messages.ItemType.Category;
26 import cz.cuni.amis.utils.exception.*;
27 import cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdateResult.Result;
28 import cz.cuni.amis.utils.SafeEquals;
29 import cz.cuni.amis.pogamut.multi.communication.worldview.object.*;
30
31
32 /**
33 Response of the PING command.
34 Corresponding GameBots message is
35 PONG.
36
37 */
38
39 public class
40 Pong
41 extends GBEvent
42
43 implements IWorldEvent, IWorldChangeEvent
44
45 {
46
47 /** Example how the message looks like - used during parser tests. */
48 public static final String PROTOTYPE =
49 "PONG";
50
51
52 /////// Properties BEGIN
53
54 /////// Properties END
55
56 /////// Extra Java code BEGIN
57
58 /////// Additional code from xslt BEGIN
59
60 public long getSimTime() {
61 // NOT IMPLEMENTED FOR UDK
62 return 0;
63 }
64
65
66
67 /////// Additional code from xslt END
68
69 /////// Extra Java from XML BEGIN
70
71 /////// Extra Java from XML END
72
73 /////// Extra Java code END
74
75
76
77 /**
78 * Cloning constructor.
79 */
80 public Pong(Pong original) {
81
82 }
83
84
85 /**
86 * Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
87 */
88 public Pong() {
89 }
90
91
92
93 public String toString() {
94 return
95
96 super.toString() + " | " +
97 "";
98
99 }
100
101 public String toHtmlString() {
102 return super.toString() +
103 "";
104 }
105
106
107
108 }
109
110