Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Logga in
Veronie
/
BggToolAnother
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
13
Pull-förfrågningar
1
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
Towards result output for nandeck...
pull/16/head
veronie
4 år sedan
förälder
ee3e04c3eb
incheckning
94ecc66ae3
4 ändrade filer
med
22 tillägg
och
8 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
xyz.veronie.bgg.ui/src/xyz/veronie/bgg/result/IdString.java
+5
-4
xyz.veronie.bgg.ui/src/xyz/veronie/bgg/result/Recommendation.java
+1
-0
xyz.veronie.bgg.ui/src/xyz/veronie/bgg/result/Thing.java
+4
-4
xyz.veronie.bgg.ui/src/xyz/veronie/bgg/result/ThingDetails.java
+ 12
- 0
xyz.veronie.bgg.ui/src/xyz/veronie/bgg/result/IdString.java
Visa fil
@@ -0,0 +1,12 @@
package xyz.veronie.bgg.result;
/// Holds an id and its string representation, for example for Family, Extension, Mechanic, or Category.
public class IdString {
int id;
String string;
public IdString(int id, String string) {
this.id = id;
this.string = string;
}
}
+ 5
- 4
xyz.veronie.bgg.ui/src/xyz/veronie/bgg/result/Recommendation.java
Visa fil
@@ -1,8 +1,9 @@
package xyz.veronie.bgg.result;
public enum Recommendation {
N, //
not supported
P, // not recommended
R, //
r
ecommended
B //
best
N, //
(N)onplayable
P, //
(P)layable,
not recommended
R, //
(R)
ecommended
B //
(B)est with...
}
+ 1
- 0
xyz.veronie.bgg.ui/src/xyz/veronie/bgg/result/Thing.java
Visa fil
@@ -164,6 +164,7 @@ public class Thing {
*
* @return
*/
// TODO: rewrite: order isn't important, column names are
public String toResultTxtLine() {
StringBuilder str = new StringBuilder();
final String emptyItem = "\"\",";
+ 4
- 4
xyz.veronie.bgg.ui/src/xyz/veronie/bgg/result/ThingDetails.java
Visa fil
@@ -23,12 +23,12 @@ public class ThingDetails {
Float stddev;
Float median;
String image;
I
nteger
category;
I
nteger
mechanic;
I
dString[]
category;
I
dString[]
mechanic;
String comment;
Recommendation[] players; // 1 to 20
String description;
I
nteger
expansion;
I
dString[]
expansion;
Integer basegameId;
Integer reimplementId;
String reimplement_name;
@@ -44,6 +44,6 @@ public class ThingDetails {
Float price;
Integer expansions;
String domain;
String family;
Id
String
[]
family;
Float age_poll;
}
Write
Förhandsgranska
Laddar…
Avbryt
Spara