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 THAT FILE INSTEAD OF THIS ONE.
7            
8            Use Ant task process-gb-messages after that to generate .java files again.
9            
10           IMPORTANT END !!!
11          */
12   	package cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands;import java.util.*;import javax.vecmath.*;import cz.cuni.amis.pogamut.base.communication.messages.*;import cz.cuni.amis.pogamut.base.communication.worldview.*;import cz.cuni.amis.pogamut.base.communication.worldview.event.*;import cz.cuni.amis.pogamut.base.communication.worldview.object.*;import cz.cuni.amis.pogamut.multi.communication.worldview.object.*;import cz.cuni.amis.pogamut.base.communication.translator.event.*;import cz.cuni.amis.pogamut.multi.communication.translator.event.*;import cz.cuni.amis.pogamut.base3d.worldview.object.*;import cz.cuni.amis.pogamut.base3d.worldview.object.event.*;import cz.cuni.amis.pogamut.ut2004.communication.messages.*;import cz.cuni.amis.pogamut.ut2004.communication.worldview.objects.*;import cz.cuni.amis.pogamut.ut2004multi.communication.worldview.objects.*;import cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.*;import cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType.Category;import cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId;import cz.cuni.amis.utils.exception.*;import cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdateResult.Result;import cz.cuni.amis.utils.SafeEquals;import cz.cuni.amis.pogamut.base.agent.*;import cz.cuni.amis.pogamut.multi.agent.*;import cz.cuni.amis.pogamut.multi.communication.worldview.property.*;import cz.cuni.amis.pogamut.ut2004multi.communication.worldview.property.*;import cz.cuni.amis.utils.token.*;import cz.cuni.amis.utils.*;
13   		/**
14   		 * Representation of the GameBots2004 command ALL.
15   		 *
16   		 * 
17  		Request all the possible status messages from the observer.
18          The observer will send the following messages:
19          Game info: NFO, PLR.
20          The observed player: SLF, MYINV.
21          Objects the player sees: PLR, INV, NAV, MOV, PRJ, VEH.
22          Special objects on the map: FLG, BOM, DOM.
23  	
24           */
25   	public class GetAllStatus 
26  		extends CommandMessage
27  	        {
28  	        	
29  		        
30      	/** Example how the message looks like - used during parser tests. */
31      	public static final String PROTOTYPE =
32      		"";
33      
34  		/**
35  		 * Creates new instance of command GetAllStatus.
36  		 * 
37  		Request all the possible status messages from the observer.
38          The observer will send the following messages:
39          Game info: NFO, PLR.
40          The observed player: SLF, MYINV.
41          Objects the player sees: PLR, INV, NAV, MOV, PRJ, VEH.
42          Special objects on the map: FLG, BOM, DOM.
43  	
44  		 * Corresponding GameBots message for this command is
45  		 * ALL.
46  		 *
47  		 * 
48  		 */
49  		public GetAllStatus(
50  			
51  		) {
52  			
53  		}
54  
55  			
56  		
57  		/**
58  		 * Cloning constructor.
59  		 *
60  		 * @param original
61  		 */
62  		public GetAllStatus(GetAllStatus original) {
63  		   
64  		}
65      
66   	    public String toString() {
67              return toMessage();
68          }
69   	
70   		public String toHtmlString() {
71  			return super.toString() + "[<br/>" +
72              	 
73              	"<br/>]"
74              ;
75  		}
76   	
77  		public String toMessage() {
78       		StringBuffer buf = new StringBuffer();
79       		buf.append("ALL");
80       		
81     			return buf.toString();
82     		}
83   	
84   		// --- Extra Java from XML BEGIN (extra/code/java)
85          	
86  		// --- Extra Java from XML END (extra/code/java)
87   	
88  	        }
89