mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-11 07:23:40 +08:00
052e70e488
* 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
26 lines
456 B
Java
26 lines
456 B
Java
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;
|
|
}
|