
            /**
            IMPORTANT !!!
       
            DO NOT EDIT THIS FILE. IT IS GENERATED FROM approriate xml file in xmlresources/gbcommands BY
            THE JavaClassesGenerator.xslt. MODIFY THESE FILES INSTEAD OF THIS ONE.
       
            IMPORTANT END !!!
            */
            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.agent.worldview.*;    
    import cz.cuni.amis.pogamut.base.agent.worldview.objects.*;    
    import cz.cuni.amis.pogamut.base.communication.translator.*;    
    import cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.*;    
    import cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType.Category;    
    import cz.cuni.amis.pogamut.base.exceptions.*;    
    import cz.cuni.amis.pogamut.base3d.worldview.objects.*;    
    import cz.cuni.amis.pogamut.ut2004.communication.messages.*;    
    import cz.cuni.amis.pogamut.ut2004.agent.worldview.objects.*;    
                
            
            /**
              
		When automatic pickup is disabled for bot (in ini bDisableAutoPickup=true) or if set by CONF {AutoPickupOff True},
		use this command to pickup inventory the bot is currently at. Will fail if the bot can't
		pickup the item for some reason - weaponstay true and already had it before or etc.
	
                          Corresponding GameBots command is 
                          PICK.
                      
             */
            
            public class
            Pick extends
        CommandMessage
                        
            {
            
            
            
            /**
              Creates new instance of command Pick.
              
		When automatic pickup is disabled for bot (in ini bDisableAutoPickup=true) or if set by CONF {AutoPickupOff True},
		use this command to pickup inventory the bot is currently at. Will fail if the bot can't
		pickup the item for some reason - weaponstay true and already had it before or etc.
	Corresponding GameBots message for this command is 
              PICK.
                  @param Id 
			Id of the pickup we want to pick up.
		
              */
             public Pick(
                UnrealId Id) {
                    
                    this.Id = Id;
                
                }
               
            
            		/**
		             Creates new instance of command Pick.
		             
		When automatic pickup is disabled for bot (in ini bDisableAutoPickup=true) or if set by CONF {AutoPickupOff True},
		use this command to pickup inventory the bot is currently at. Will fail if the bot can't
		pickup the item for some reason - weaponstay true and already had it before or etc.
	Corresponding GameBots message for this command is 
		             PICK.
		             <p></p>WARNING: this is empty-command constructor, you have to use setters to fill it up!
		             */
            		public  Pick() {
            		}
            	
            
            /////// Properties BEGIN
            
        /**
        
			Id of the pickup we want to pick up.
		 */
        protected
         UnrealId Id = 
        	null;
        
        
        /**
        
			Id of the pickup we want to pick up.
		 */
        public
        UnrealId getId() {
            return
         Id;
        }
        

        
            /**         
        
			Id of the pickup we want to pick up.
		 */
        public Pick setId(UnrealId Id) {
            this.Id = Id;
            return this;
            }
       
            /////// Properties END
            
            /////// Extra Java code BEGIN
                        	
            	/////// Additional code from xslt BEGIN            	 
            			
            		
            		
            	/////// Additional code from xslt END            
				                    
	            /////// Extra Java from XML BEGIN
            		
            	/////// Extra Java from XML END
            	    
            /////// Extra Java code END
            
            
            
            /**
              * Cloning constructor.
              */
             public Pick(Pick original) {
                
                     this.Id=original.Id;
                
             }   
             
             
                
                 
            public String toString() {
                return
                
                    	super.toString();
                     
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Id</b> : " + 
            String.valueOf(Id) + 
            " <br/> " +
             "";
             }            
             
             
             
                 public String toMessage() {
              		StringBuffer buf = new StringBuffer();
              		buf.append("PICK");
              		
		    					if (Id != null) {
		    						buf.append(" {Id " + Id.getUnrealId() + "}");
		    					}
		    				            
            		return buf.toString();
            }
             
             }
                         
        