View Javadoc

1   
2       		/**
3            	IMPORTANT !!!
4   
5            	DO NOT EDIT THIS FILE. IT IS GENERATED FROM 
6            	THE JavaClassesGenerator.xslt. MODIFY THAT FILE INSTEAD OF THIS ONE.
7            
8            	Use Ant task process-gb-messages after that to generate this file again.
9            
10           	IMPORTANT END !!!
11          	*/
12   			   	
13      		package cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages;
14  
15              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.*;
16  
17              /**
18               * Serves for the purpose of testing the parser. Warning - first item in PROTOTYPES is null!
19               */
20              public class InfoMessages {
21              	public static final String[] PROTOTYPES =
22              		new String[]{
23              			null // dummy
24              			,PlayerScore.PROTOTYPE,PathList.PROTOTYPE,TeamChanged.PROTOTYPE,PlayerLeft.PROTOTYPE,TeamScore.PROTOTYPE,RecordingStarted.PROTOTYPE,ShootingStopped.PROTOTYPE,VolumeChanged.PROTOTYPE,FlagInfo.PROTOTYPE,MapList.PROTOTYPE,PlayerListStart.PROTOTYPE,HelloObserverHandshake.PROTOTYPE,KeyEvent.PROTOTYPE,MapFinished.PROTOTYPE,Landed.PROTOTYPE,DialogCommand.PROTOTYPE,HelloBotHandshake.PROTOTYPE,WeaponUpdate.PROTOTYPE,ItemPickedUp.PROTOTYPE,HearNoise.PROTOTYPE,Trigger.PROTOTYPE,PlayerInput.PROTOTYPE,NavPointNeighbourLinkEnd.PROTOTYPE,ChangedWeapon.PROTOTYPE,GameResumed.PROTOTYPE,Pong.PROTOTYPE,PlayerListEnd.PROTOTYPE,ItemCategoryStart.PROTOTYPE,MyInventoryStart.PROTOTYPE,Thrown.PROTOTYPE,MapChange.PROTOTYPE,ComboStarted.PROTOTYPE,MutatorListEnd.PROTOTYPE,HearPickup.PROTOTYPE,Password.PROTOTYPE,PathListStart.PROTOTYPE,DialogFailed.PROTOTYPE,MapListEnd.PROTOTYPE,Bumped.PROTOTYPE,ShootingStarted.PROTOTYPE,PlayerJoinsGame.PROTOTYPE,ConfigChange.PROTOTYPE,LostChild.PROTOTYPE,NavPoint.PROTOTYPE,ItemListEnd.PROTOTYPE,NavPointListStart.PROTOTYPE,ZoneChangedBot.PROTOTYPE,Self.PROTOTYPE,BeginMessage.PROTOTYPE,PlayerDamaged.PROTOTYPE,LockedVehicle.PROTOTYPE,ItemCategoryEnd.PROTOTYPE,Spawn.PROTOTYPE,AutoTraceRay.PROTOTYPE,Reachable.PROTOTYPE,AnimationBotID.PROTOTYPE,EnteredVehicle.PROTOTYPE,MoverListStart.PROTOTYPE,TraceResponse.PROTOTYPE,Mover.PROTOTYPE,PathListEnd.PROTOTYPE,AdrenalineGained.PROTOTYPE,PasswdWrong.PROTOTYPE,GlobalChat.PROTOTYPE,AnimationStop.PROTOTYPE,BotKilled.PROTOTYPE,GameRestarted.PROTOTYPE,MyInventory.PROTOTYPE,GamePaused.PROTOTYPE,AnimationChange.PROTOTYPE,Player.PROTOTYPE,AnimationPort.PROTOTYPE,MutatorListStart.PROTOTYPE,Vehicle.PROTOTYPE,Mutator.PROTOTYPE,FallEdge.PROTOTYPE,PasswdOk.PROTOTYPE,ObjectSelected.PROTOTYPE,TeamChat.PROTOTYPE,LostInventory.PROTOTYPE,AddInventoryMsg.PROTOTYPE,NavPointNeighbourLink.PROTOTYPE,MapListStart.PROTOTYPE,GameInfo.PROTOTYPE,RecordingEnded.PROTOTYPE,ItemListStart.PROTOTYPE,Item.PROTOTYPE,AliveMessage.PROTOTYPE,DialogOk.PROTOTYPE,MyInventoryEnd.PROTOTYPE,MoverListEnd.PROTOTYPE,ItemReceived.PROTOTYPE,InitedMessage.PROTOTYPE,HandShakeStart.PROTOTYPE,FactoryUsed.PROTOTYPE,JumpPerformed.PROTOTYPE,NavPointListEnd.PROTOTYPE,GiveItemResult.PROTOTYPE,HandShakeEnd.PROTOTYPE,PlayerKilled.PROTOTYPE,WallCollision.PROTOTYPE,BombInfo.PROTOTYPE,IncomingProjectile.PROTOTYPE,ItemCategory.PROTOTYPE,FastTraceResponse.PROTOTYPE,HelloControlServerHandshake.PROTOTYPE,BotDamaged.PROTOTYPE,EndMessage.PROTOTYPE,NavPointNeighbourLinkStart.PROTOTYPE
25              		};
26  
27              	/** Serves to initialize map */
28              	private static final Map<String,Class<? extends InfoMessage>> prototypeMap =
29              		new HashMap<String,Class<? extends InfoMessage>>();
30  
31              	/** Unmodifiable map message.PROTOTYPE -> message.class */
32             		public static final Map<String,Class<? extends InfoMessage>> PROTOTYPE_MAP;
33  
34              	static {
35              		
36              			prototypeMap.put(PlayerScore.PROTOTYPE, PlayerScore.class);
37             			
38              			prototypeMap.put(PathList.PROTOTYPE, PathList.class);
39             			
40              			prototypeMap.put(TeamChanged.PROTOTYPE, TeamChanged.class);
41             			
42              			prototypeMap.put(PlayerLeft.PROTOTYPE, PlayerLeft.class);
43             			
44              			prototypeMap.put(TeamScore.PROTOTYPE, TeamScore.class);
45             			
46              			prototypeMap.put(RecordingStarted.PROTOTYPE, RecordingStarted.class);
47             			
48              			prototypeMap.put(ShootingStopped.PROTOTYPE, ShootingStopped.class);
49             			
50              			prototypeMap.put(VolumeChanged.PROTOTYPE, VolumeChanged.class);
51             			
52              			prototypeMap.put(FlagInfo.PROTOTYPE, FlagInfo.class);
53             			
54              			prototypeMap.put(MapList.PROTOTYPE, MapList.class);
55             			
56              			prototypeMap.put(PlayerListStart.PROTOTYPE, PlayerListStart.class);
57             			
58              			prototypeMap.put(HelloObserverHandshake.PROTOTYPE, HelloObserverHandshake.class);
59             			
60              			prototypeMap.put(KeyEvent.PROTOTYPE, KeyEvent.class);
61             			
62              			prototypeMap.put(MapFinished.PROTOTYPE, MapFinished.class);
63             			
64              			prototypeMap.put(Landed.PROTOTYPE, Landed.class);
65             			
66              			prototypeMap.put(DialogCommand.PROTOTYPE, DialogCommand.class);
67             			
68              			prototypeMap.put(HelloBotHandshake.PROTOTYPE, HelloBotHandshake.class);
69             			
70              			prototypeMap.put(WeaponUpdate.PROTOTYPE, WeaponUpdate.class);
71             			
72              			prototypeMap.put(ItemPickedUp.PROTOTYPE, ItemPickedUp.class);
73             			
74              			prototypeMap.put(HearNoise.PROTOTYPE, HearNoise.class);
75             			
76              			prototypeMap.put(Trigger.PROTOTYPE, Trigger.class);
77             			
78              			prototypeMap.put(PlayerInput.PROTOTYPE, PlayerInput.class);
79             			
80              			prototypeMap.put(NavPointNeighbourLinkEnd.PROTOTYPE, NavPointNeighbourLinkEnd.class);
81             			
82              			prototypeMap.put(ChangedWeapon.PROTOTYPE, ChangedWeapon.class);
83             			
84              			prototypeMap.put(GameResumed.PROTOTYPE, GameResumed.class);
85             			
86              			prototypeMap.put(Pong.PROTOTYPE, Pong.class);
87             			
88              			prototypeMap.put(PlayerListEnd.PROTOTYPE, PlayerListEnd.class);
89             			
90              			prototypeMap.put(ItemCategoryStart.PROTOTYPE, ItemCategoryStart.class);
91             			
92              			prototypeMap.put(MyInventoryStart.PROTOTYPE, MyInventoryStart.class);
93             			
94              			prototypeMap.put(Thrown.PROTOTYPE, Thrown.class);
95             			
96              			prototypeMap.put(MapChange.PROTOTYPE, MapChange.class);
97             			
98              			prototypeMap.put(ComboStarted.PROTOTYPE, ComboStarted.class);
99             			
100             			prototypeMap.put(MutatorListEnd.PROTOTYPE, MutatorListEnd.class);
101            			
102             			prototypeMap.put(HearPickup.PROTOTYPE, HearPickup.class);
103            			
104             			prototypeMap.put(Password.PROTOTYPE, Password.class);
105            			
106             			prototypeMap.put(PathListStart.PROTOTYPE, PathListStart.class);
107            			
108             			prototypeMap.put(DialogFailed.PROTOTYPE, DialogFailed.class);
109            			
110             			prototypeMap.put(MapListEnd.PROTOTYPE, MapListEnd.class);
111            			
112             			prototypeMap.put(Bumped.PROTOTYPE, Bumped.class);
113            			
114             			prototypeMap.put(ShootingStarted.PROTOTYPE, ShootingStarted.class);
115            			
116             			prototypeMap.put(PlayerJoinsGame.PROTOTYPE, PlayerJoinsGame.class);
117            			
118             			prototypeMap.put(ConfigChange.PROTOTYPE, ConfigChange.class);
119            			
120             			prototypeMap.put(LostChild.PROTOTYPE, LostChild.class);
121            			
122             			prototypeMap.put(NavPoint.PROTOTYPE, NavPoint.class);
123            			
124             			prototypeMap.put(ItemListEnd.PROTOTYPE, ItemListEnd.class);
125            			
126             			prototypeMap.put(NavPointListStart.PROTOTYPE, NavPointListStart.class);
127            			
128             			prototypeMap.put(ZoneChangedBot.PROTOTYPE, ZoneChangedBot.class);
129            			
130             			prototypeMap.put(Self.PROTOTYPE, Self.class);
131            			
132             			prototypeMap.put(BeginMessage.PROTOTYPE, BeginMessage.class);
133            			
134             			prototypeMap.put(PlayerDamaged.PROTOTYPE, PlayerDamaged.class);
135            			
136             			prototypeMap.put(LockedVehicle.PROTOTYPE, LockedVehicle.class);
137            			
138             			prototypeMap.put(ItemCategoryEnd.PROTOTYPE, ItemCategoryEnd.class);
139            			
140             			prototypeMap.put(Spawn.PROTOTYPE, Spawn.class);
141            			
142             			prototypeMap.put(AutoTraceRay.PROTOTYPE, AutoTraceRay.class);
143            			
144             			prototypeMap.put(Reachable.PROTOTYPE, Reachable.class);
145            			
146             			prototypeMap.put(AnimationBotID.PROTOTYPE, AnimationBotID.class);
147            			
148             			prototypeMap.put(EnteredVehicle.PROTOTYPE, EnteredVehicle.class);
149            			
150             			prototypeMap.put(MoverListStart.PROTOTYPE, MoverListStart.class);
151            			
152             			prototypeMap.put(TraceResponse.PROTOTYPE, TraceResponse.class);
153            			
154             			prototypeMap.put(Mover.PROTOTYPE, Mover.class);
155            			
156             			prototypeMap.put(PathListEnd.PROTOTYPE, PathListEnd.class);
157            			
158             			prototypeMap.put(AdrenalineGained.PROTOTYPE, AdrenalineGained.class);
159            			
160             			prototypeMap.put(PasswdWrong.PROTOTYPE, PasswdWrong.class);
161            			
162             			prototypeMap.put(GlobalChat.PROTOTYPE, GlobalChat.class);
163            			
164             			prototypeMap.put(AnimationStop.PROTOTYPE, AnimationStop.class);
165            			
166             			prototypeMap.put(BotKilled.PROTOTYPE, BotKilled.class);
167            			
168             			prototypeMap.put(GameRestarted.PROTOTYPE, GameRestarted.class);
169            			
170             			prototypeMap.put(MyInventory.PROTOTYPE, MyInventory.class);
171            			
172             			prototypeMap.put(GamePaused.PROTOTYPE, GamePaused.class);
173            			
174             			prototypeMap.put(AnimationChange.PROTOTYPE, AnimationChange.class);
175            			
176             			prototypeMap.put(Player.PROTOTYPE, Player.class);
177            			
178             			prototypeMap.put(AnimationPort.PROTOTYPE, AnimationPort.class);
179            			
180             			prototypeMap.put(MutatorListStart.PROTOTYPE, MutatorListStart.class);
181            			
182             			prototypeMap.put(Vehicle.PROTOTYPE, Vehicle.class);
183            			
184             			prototypeMap.put(Mutator.PROTOTYPE, Mutator.class);
185            			
186             			prototypeMap.put(FallEdge.PROTOTYPE, FallEdge.class);
187            			
188             			prototypeMap.put(PasswdOk.PROTOTYPE, PasswdOk.class);
189            			
190             			prototypeMap.put(ObjectSelected.PROTOTYPE, ObjectSelected.class);
191            			
192             			prototypeMap.put(TeamChat.PROTOTYPE, TeamChat.class);
193            			
194             			prototypeMap.put(LostInventory.PROTOTYPE, LostInventory.class);
195            			
196             			prototypeMap.put(AddInventoryMsg.PROTOTYPE, AddInventoryMsg.class);
197            			
198             			prototypeMap.put(NavPointNeighbourLink.PROTOTYPE, NavPointNeighbourLink.class);
199            			
200             			prototypeMap.put(MapListStart.PROTOTYPE, MapListStart.class);
201            			
202             			prototypeMap.put(GameInfo.PROTOTYPE, GameInfo.class);
203            			
204             			prototypeMap.put(RecordingEnded.PROTOTYPE, RecordingEnded.class);
205            			
206             			prototypeMap.put(ItemListStart.PROTOTYPE, ItemListStart.class);
207            			
208             			prototypeMap.put(Item.PROTOTYPE, Item.class);
209            			
210             			prototypeMap.put(AliveMessage.PROTOTYPE, AliveMessage.class);
211            			
212             			prototypeMap.put(DialogOk.PROTOTYPE, DialogOk.class);
213            			
214             			prototypeMap.put(MyInventoryEnd.PROTOTYPE, MyInventoryEnd.class);
215            			
216             			prototypeMap.put(MoverListEnd.PROTOTYPE, MoverListEnd.class);
217            			
218             			prototypeMap.put(ItemReceived.PROTOTYPE, ItemReceived.class);
219            			
220             			prototypeMap.put(InitedMessage.PROTOTYPE, InitedMessage.class);
221            			
222             			prototypeMap.put(HandShakeStart.PROTOTYPE, HandShakeStart.class);
223            			
224             			prototypeMap.put(FactoryUsed.PROTOTYPE, FactoryUsed.class);
225            			
226             			prototypeMap.put(JumpPerformed.PROTOTYPE, JumpPerformed.class);
227            			
228             			prototypeMap.put(NavPointListEnd.PROTOTYPE, NavPointListEnd.class);
229            			
230             			prototypeMap.put(GiveItemResult.PROTOTYPE, GiveItemResult.class);
231            			
232             			prototypeMap.put(HandShakeEnd.PROTOTYPE, HandShakeEnd.class);
233            			
234             			prototypeMap.put(PlayerKilled.PROTOTYPE, PlayerKilled.class);
235            			
236             			prototypeMap.put(WallCollision.PROTOTYPE, WallCollision.class);
237            			
238             			prototypeMap.put(BombInfo.PROTOTYPE, BombInfo.class);
239            			
240             			prototypeMap.put(IncomingProjectile.PROTOTYPE, IncomingProjectile.class);
241            			
242             			prototypeMap.put(ItemCategory.PROTOTYPE, ItemCategory.class);
243            			
244             			prototypeMap.put(FastTraceResponse.PROTOTYPE, FastTraceResponse.class);
245            			
246             			prototypeMap.put(HelloControlServerHandshake.PROTOTYPE, HelloControlServerHandshake.class);
247            			
248             			prototypeMap.put(BotDamaged.PROTOTYPE, BotDamaged.class);
249            			
250             			prototypeMap.put(EndMessage.PROTOTYPE, EndMessage.class);
251            			
252             			prototypeMap.put(NavPointNeighbourLinkStart.PROTOTYPE, NavPointNeighbourLinkStart.class);
253            			
254 					PROTOTYPE_MAP = Collections.unmodifiableMap(prototypeMap);
255             	}
256             }
257 
258