Merge branch 'give-the-milk-man-his-long' into 'master'
Make total user points a long See merge request sheepitrenderfarm/client!231
This commit is contained in:
@@ -21,13 +21,13 @@ package com.sheepit.client;
|
|||||||
|
|
||||||
public class Stats {
|
public class Stats {
|
||||||
private int remainingFrame;
|
private int remainingFrame;
|
||||||
private int creditsEarned;
|
private long creditsEarned;
|
||||||
private int creditsEarnedSession;
|
private int creditsEarnedSession;
|
||||||
private int renderableProject;
|
private int renderableProject;
|
||||||
private int waitingProject;
|
private int waitingProject;
|
||||||
private int connectedMachine;
|
private int connectedMachine;
|
||||||
|
|
||||||
public Stats(int frame, int credits, int creditsSession, int renderables, int waitings, int machines) {
|
public Stats(int frame, long credits, int creditsSession, int renderables, int waitings, int machines) {
|
||||||
remainingFrame = frame;
|
remainingFrame = frame;
|
||||||
creditsEarned = credits;
|
creditsEarned = credits;
|
||||||
creditsEarnedSession = creditsSession;
|
creditsEarnedSession = creditsSession;
|
||||||
@@ -53,7 +53,7 @@ public class Stats {
|
|||||||
return creditsEarnedSession;
|
return creditsEarnedSession;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getCreditsEarned() {
|
public long getCreditsEarned() {
|
||||||
return creditsEarned;
|
return creditsEarned;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import org.simpleframework.xml.Root;
|
|||||||
|
|
||||||
@Attribute(name = "credits_session") @Getter private int pointsEarnedOnSession;
|
@Attribute(name = "credits_session") @Getter private int pointsEarnedOnSession;
|
||||||
|
|
||||||
@Attribute(name = "credits_total") @Getter private int pointsEarnedByUser;
|
@Attribute(name = "credits_total") @Getter private long pointsEarnedByUser;
|
||||||
|
|
||||||
@Attribute(name = "frame_remaining") @Getter private int remainingFrames;
|
@Attribute(name = "frame_remaining") @Getter private int remainingFrames;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user