mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-11 18:08:02 +08:00
Fix inconformity of Player Object at TowerManager (#1226)
* Fix inconformity of Player Object at TowerManager Fix inconformity of Player Object at TowerManager class from GameSession * fix with a reasonable resolution * Make sure towerManager'player is online player * Make sure towerManager'player is online player * Obsolete storage * Fix build * fix build * fix build * add @Entity * set record map * replace tab with space * add Entity to TowerData * make infomater more accurate * move player register to onLogin
This commit is contained in:
committed by
GitHub
Unverified
parent
2b88487cd2
commit
052e70e488
@@ -0,0 +1,25 @@
|
||||
package emu.grasscutter.game.tower;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import dev.morphia.annotations.Entity;
|
||||
import dev.morphia.annotations.Transient;
|
||||
|
||||
@Entity
|
||||
public class TowerData{
|
||||
/**
|
||||
* the floor players chose
|
||||
*/
|
||||
int currentFloorId;
|
||||
int currentLevel;
|
||||
@Transient
|
||||
int currentLevelId;
|
||||
|
||||
/**
|
||||
* floorId - Record
|
||||
*/
|
||||
Map<Integer, TowerLevelRecord> recordMap;
|
||||
|
||||
@Transient
|
||||
int entryScene;
|
||||
}
|
||||
Reference in New Issue
Block a user