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  		Will send list of all players currently playing on the server.
35  		Server will respond with IPLR batch players info message.
36  	
37                            Corresponding GameBots command is
38                            GETPLRS.
39                        
40               */
41              
42              public class
43              GetPlayers extends
44          CommandMessage
45  
46              {
47              
48              /**
49                Creates new instance of command GetPlayers.
50                
51  		Will send list of all players currently playing on the server.
52  		Server will respond with IPLR batch players info message.
53  	Corresponding GameBots message for this command is
54                GETPLRS.
55                */
56               public GetPlayers(
57                  ) {
58                      
59                  }
60  
61              
62  
63              /////// Properties BEGIN
64              
65              /////// Properties END
66  
67              /////// Extra Java code BEGIN
68  
69              	/////// Additional code from xslt BEGIN
70              		
71  
72  
73              	/////// Additional code from xslt END
74  
75  	            /////// Extra Java from XML BEGIN
76              		
77              	/////// Extra Java from XML END
78  
79              /////// Extra Java code END
80  
81              
82  
83              /**
84                * Cloning constructor.
85                */
86               public GetPlayers(GetPlayers original) {
87                  
88               }
89  
90               
91  
92                   
93              public String toString() {
94                  return
95                  
96                      	toMessage();
97                      
98               }
99  
100              public String toHtmlString() {
101                 return super.toString() +
102              "";
103              }
104 
105              
106              
107              	 public String toMessage() {
108               		StringBuffer buf = new StringBuffer();
109               		buf.append("GETPLRS");
110               		
111             		return buf.toString();
112             }
113              
114              }
115 
116