1
This commit is contained in:
parent
a4e3308d8b
commit
80ef56d293
@ -97,6 +97,10 @@ class Fragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async realloc(conn, daySeconds, nowTime, hourSeconds, allocedFragments) {
|
async realloc(conn, daySeconds, nowTime, hourSeconds, allocedFragments) {
|
||||||
|
const remainData = this.getRemainData(daySeconds, nowTime, hourSeconds, allocedFragments);
|
||||||
|
}
|
||||||
|
|
||||||
|
async getRemainData(daySeconds, nowTime, hourSeconds, allocedFragments) {
|
||||||
const totalHeroNum = this.getYesterDayHeroNum();
|
const totalHeroNum = this.getYesterDayHeroNum();
|
||||||
const totalGunNum = this.getYesterDayGunNum();
|
const totalGunNum = this.getYesterDayGunNum();
|
||||||
const hour = Math.floor(hourSeconds / 3600);
|
const hour = Math.floor(hourSeconds / 3600);
|
||||||
@ -178,6 +182,7 @@ class Fragment {
|
|||||||
|
|
||||||
}
|
}
|
||||||
);//end forEach
|
);//end forEach
|
||||||
|
return remainData;
|
||||||
}
|
}
|
||||||
|
|
||||||
getYesterDayHeroNum() {
|
getYesterDayHeroNum() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user