View Javadoc

1   
2               /**
3               IMPORTANT !!!
4   
5               DO NOT EDIT THIS FILE. IT IS GENERATED FROM approriate xml file in xmlresources/gbcommands 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.gbcommands;
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  		Request all the possible status messages from the observer.
35          The observer will send the following messages:
36          Game info: NFO, PLR.
37          The observed player: SLF, MYINV.
38          Objects the player sees: PLR, INV, NAV, MOV, PRJ, VEH.
39          Special objects on the map: FLG, BOM, DOM.
40  	
41                            Corresponding GameBots command is
42                            ALL.
43                        
44               */
45              
46              public class
47              GetAllStatus extends
48          CommandMessage
49  
50              {
51              
52              /**
53                Creates new instance of command GetAllStatus.
54                
55  		Request all the possible status messages from the observer.
56          The observer will send the following messages:
57          Game info: NFO, PLR.
58          The observed player: SLF, MYINV.
59          Objects the player sees: PLR, INV, NAV, MOV, PRJ, VEH.
60          Special objects on the map: FLG, BOM, DOM.
61  	Corresponding GameBots message for this command is
62                ALL.
63                */
64               public GetAllStatus(
65                  ) {
66                      
67                  }
68  
69              
70  
71              /////// Properties BEGIN
72              
73              /////// Properties END
74  
75              /////// Extra Java code BEGIN
76  
77              	/////// Additional code from xslt BEGIN
78              		
79  
80  
81              	/////// Additional code from xslt END
82  
83  	            /////// Extra Java from XML BEGIN
84              		
85              	/////// Extra Java from XML END
86  
87              /////// Extra Java code END
88  
89              
90  
91              /**
92                * Cloning constructor.
93                */
94               public GetAllStatus(GetAllStatus original) {
95                  
96               }
97  
98               
99  
100                  
101             public String toString() {
102                 return
103                 
104                     	toMessage();
105                     
106              }
107 
108              public String toHtmlString() {
109                 return super.toString() +
110              "";
111              }
112 
113              
114              
115              	 public String toMessage() {
116               		StringBuffer buf = new StringBuffer();
117               		buf.append("ALL");
118               		
119             		return buf.toString();
120             }
121              
122              }
123 
124