Importing SVN archives - Trunk
This commit is contained in:
parent
fc4c6bd340
commit
ff53af6668
507 changed files with 8866 additions and 2450 deletions
legacyworlds-web/legacyworlds-web-beans
|
@ -4,12 +4,12 @@
|
|||
<parent>
|
||||
<artifactId>legacyworlds-web</artifactId>
|
||||
<groupId>com.deepclone.lw</groupId>
|
||||
<version>5.99.1</version>
|
||||
<version>5.99.2</version>
|
||||
</parent>
|
||||
|
||||
<groupId>com.deepclone.lw</groupId>
|
||||
<artifactId>legacyworlds-web-beans</artifactId>
|
||||
<version>5.99.1</version>
|
||||
<version>5.99.2</version>
|
||||
<name>Legacy Worlds common web beans</name>
|
||||
<description>Module for common web-related beans. </description>
|
||||
<packaging>jar</packaging>
|
||||
|
|
|
@ -17,6 +17,8 @@ import com.deepclone.lw.cmd.admin.msg.*;
|
|||
import com.deepclone.lw.cmd.admin.naming.*;
|
||||
import com.deepclone.lw.cmd.admin.prefs.*;
|
||||
import com.deepclone.lw.cmd.admin.su.*;
|
||||
import com.deepclone.lw.cmd.admin.techs.ListCategoriesCommand;
|
||||
import com.deepclone.lw.cmd.admin.techs.ListCategoriesResponse;
|
||||
import com.deepclone.lw.cmd.admin.tick.*;
|
||||
import com.deepclone.lw.cmd.admin.users.*;
|
||||
import com.deepclone.lw.cmd.bt.*;
|
||||
|
@ -539,4 +541,13 @@ public class AdminSession
|
|||
this.execute( new EndMaintenanceCommand( ) );
|
||||
}
|
||||
|
||||
|
||||
/* Technology graph */
|
||||
|
||||
public ListCategoriesResponse getTechList( )
|
||||
throws SessionException , SessionServerException , SessionMaintenanceException
|
||||
{
|
||||
return (ListCategoriesResponse) this.execute( new ListCategoriesCommand( ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -17,6 +17,11 @@ import com.deepclone.lw.cmd.player.elist.*;
|
|||
import com.deepclone.lw.cmd.player.fleets.*;
|
||||
import com.deepclone.lw.cmd.player.gdata.*;
|
||||
import com.deepclone.lw.cmd.player.planets.*;
|
||||
import com.deepclone.lw.cmd.player.research.ImplementTechCommand;
|
||||
import com.deepclone.lw.cmd.player.research.ResearchOperationResponse;
|
||||
import com.deepclone.lw.cmd.player.research.SetResearchPrioritiesCommand;
|
||||
import com.deepclone.lw.cmd.player.research.ViewResearchCommand;
|
||||
import com.deepclone.lw.cmd.player.research.ViewResearchResponse;
|
||||
import com.deepclone.lw.cmd.player.msgs.*;
|
||||
import com.deepclone.lw.session.Command;
|
||||
import com.deepclone.lw.session.SessionException;
|
||||
|
@ -69,7 +74,7 @@ public class PlayerSession
|
|||
}
|
||||
|
||||
|
||||
/* Empire commands */
|
||||
/* Overview */
|
||||
|
||||
public EmpireResponse getOverview( )
|
||||
throws SessionException , SessionServerException , SessionMaintenanceException
|
||||
|
@ -78,10 +83,26 @@ public class PlayerSession
|
|||
}
|
||||
|
||||
|
||||
public EmpireResponse implementTechnology( int technology )
|
||||
/* Technologies */
|
||||
|
||||
public ViewResearchResponse viewResearch( )
|
||||
throws SessionException , SessionServerException , SessionMaintenanceException
|
||||
{
|
||||
return (EmpireResponse) this.execute( new ImplementTechCommand( technology ) );
|
||||
return (ViewResearchResponse) this.execute( new ViewResearchCommand( ) );
|
||||
}
|
||||
|
||||
|
||||
public ResearchOperationResponse implementTechnology( String technology )
|
||||
throws SessionException , SessionServerException , SessionMaintenanceException
|
||||
{
|
||||
return (ResearchOperationResponse) this.execute( new ImplementTechCommand( technology ) );
|
||||
}
|
||||
|
||||
|
||||
public ResearchOperationResponse setResearchPriorities( Map< String , Integer > priorities )
|
||||
throws SessionException , SessionServerException , SessionMaintenanceException
|
||||
{
|
||||
return (ResearchOperationResponse) this.execute( new SetResearchPrioritiesCommand( priorities ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue