| 90 | import static emu.grasscutter.Configuration.*; |
| 91 | |
| 92 | @Entity(value = "players", useDiscriminator = false) |
| 93 | public class Player { |
| 94 | |
| 95 | @Id private int id; |
| 96 | @Indexed(options = @IndexOptions(unique = true)) private String accountId; |
| 97 | |
| 98 | @Transient private Account account; |
| 99 | private String nickname; |
| 100 | private String signature; |
| 101 | private int headImage; |
| 102 | private int nameCardId = 210001; |
| 103 | private Position pos; |
| 104 | private Position rotation; |
| 105 | private PlayerBirthday birthday; |
| 106 | private PlayerCodex codex; |
| 107 | |
| 108 | private Map<Integer, Integer> properties; |
| 109 | private Set<Integer> nameCardList; |
| 110 | private Set<Integer> flyCloakList; |
| 111 | private Set<Integer> costumeList; |
| 112 | private Set<Integer> unlockedForgingBlueprints; |
| 113 | private Set<Integer> unlockedCombines; |
| 114 | private Set<Integer> unlockedFurniture; |
| 115 | private Set<Integer> unlockedFurnitureSuite; |
| 116 | private List<ActiveForgeData> activeForges; |
| 117 | private Map<Integer, Integer> unlockedRecipies; |
| 118 | |
| 119 | private Integer widgetId; |
| 120 | |
| 121 | private Set<Integer> realmList; |
| 122 | private Integer currentRealmId; |
| 123 | |
| 124 | @Transient private long nextGuid = 0; |
| 125 | @Transient private int peerId; |
| 126 | @Transient private World world; |
| 127 | @Transient private Scene scene; |
| 128 | @Transient @Getter private int weatherId = 0; |
| 129 | @Transient @Getter private ClimateType climate = ClimateType.CLIMATE_SUNNY; |
| 130 | @Transient private GameSession session; |
| 131 | @Transient private AvatarStorage avatars; |
| 132 | @Transient private Inventory inventory; |
| 133 | @Transient private FriendsList friendsList; |
| 134 | @Transient private MailHandler mailHandler; |
| 135 | @Transient private MessageHandler messageHandler; |
| 136 | @Transient private AbilityManager abilityManager; |
| 137 | @Transient private QuestManager questManager; |
| 138 | |
| 139 | @Transient private SotSManager sotsManager; |
| 140 | @Transient private InsectCaptureManager insectCaptureManager; |
| 141 | |
| 142 | private TeamManager teamManager; |
| 143 | |
| 144 | @Transient private TowerManager towerManager; |
| 145 | private TowerData towerData; |
| 146 | private PlayerGachaInfo gachaInfo; |
| 147 | private PlayerProfile playerProfile; |
| 148 | private boolean showAvatar; |
| 149 | private ArrayList<AvatarProfileData> shownAvatars; |
nothing calls this directly
no outgoing calls
no test coverage detected