-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
111 changed files
with
4,345 additions
and
1,437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
${project} | ||
Copyright (C) ${year} ${organization} | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
signing.keyId= | ||
signing.password= | ||
signing.secretKeyRingFile= | ||
signing.secretKeyRingFile= | ||
SNAPSHOT=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package space.tscg.api; | ||
|
||
public interface JsonWrapper | ||
{ | ||
String toJson(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package space.tscg.api; | ||
|
||
public interface TypeBuilder<T> | ||
{ | ||
T build(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package space.tscg.api.carrier; | ||
|
||
import java.util.List; | ||
|
||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
|
||
import space.tscg.database.entity.CarrierMarket; | ||
|
||
@JsonDeserialize(as = CarrierMarket.class) | ||
public interface ICarrierMarket | ||
{ | ||
List<ICarrierShip> getShips(); | ||
|
||
List<ICarrierModule> getModules(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package space.tscg.api.carrier; | ||
|
||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
|
||
import elite.dangerous.fdevid.Outfitting.Category; | ||
import elite.dangerous.fdevid.Outfitting.Guidance; | ||
import elite.dangerous.fdevid.Outfitting.Mount; | ||
import elite.dangerous.fdevid.Outfitting.Rating; | ||
import space.tscg.database.entity.CarrierMarket.CarrierModule; | ||
|
||
@JsonDeserialize(as = CarrierModule.class) | ||
public interface ICarrierModule | ||
{ | ||
int getFdevId(); | ||
|
||
Category getCategory(); | ||
|
||
String getName(); | ||
|
||
Mount getMount(); | ||
|
||
Guidance getGuidance(); | ||
|
||
int getModuleClass(); | ||
|
||
Rating getRating(); | ||
|
||
int getCost(); | ||
|
||
int getStock(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package space.tscg.api.carrier; | ||
|
||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
|
||
import space.tscg.database.entity.CarrierMarket.CarrierShip; | ||
|
||
@JsonDeserialize(as = CarrierShip.class) | ||
public interface ICarrierShip | ||
{ | ||
int getFdevId(); | ||
|
||
String getName(); | ||
|
||
int getCost(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.