View Javadoc

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                
34  		Asynchronous message. A message sent at the beginning of
35  		establishing the control connection.
36  	
37                            Corresponding GameBots message is
38                            HELLO_CONTROL_SERVER.
39                        
40               */
41              
42              public class
43              HelloControlServerHandshake
44                      extends GBEvent
45                  
46  	            	implements IWorldEvent, IWorldChangeEvent
47  
48              {
49              
50      	/** Example how the message looks like - used during parser tests. */
51      	public static final String PROTOTYPE =
52      		"HELLO_CONTROL_SERVER";
53      
54  
55              /////// Properties BEGIN
56              
57              /////// Properties END
58  
59              /////// Extra Java code BEGIN
60  
61              	/////// Additional code from xslt BEGIN
62              		
63         					public long getSimTime() {
64         						// NOT IMPLEMENTED FOR UDK
65         						return 0;
66         					}
67              		
68  
69  
70              	/////// Additional code from xslt END
71  
72  	            /////// Extra Java from XML BEGIN
73              		
74              	/////// Extra Java from XML END
75  
76              /////// Extra Java code END
77  
78              
79  
80              /**
81                * Cloning constructor.
82                */
83               public HelloControlServerHandshake(HelloControlServerHandshake original) {
84                  
85               }
86  
87               
88                   /**
89                    * Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
90                    */
91  	             public HelloControlServerHandshake() {
92  	             }
93               
94  
95                   
96              public String toString() {
97                  return
98                  
99                  		super.toString() + " | " +
100                 		 "";
101                 	
102              }
103 
104              public String toHtmlString() {
105                 return super.toString() +
106              "";
107              }
108 
109              
110              
111              }
112 
113