mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-24 06:23:54 +08:00
Update player properties
This commit is contained in:
parent
18bc68774c
commit
64e0379ca5
@ -2,9 +2,10 @@ package emu.grasscutter.game.props;
|
|||||||
|
|
||||||
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
||||||
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
|
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
|
||||||
import java.util.stream.Stream;
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
public enum PlayerProperty {
|
public enum PlayerProperty {
|
||||||
PROP_NONE(0),
|
PROP_NONE(0),
|
||||||
PROP_EXP(1001, 0),
|
PROP_EXP(1001, 0),
|
||||||
@ -56,7 +57,11 @@ public enum PlayerProperty {
|
|||||||
PROP_PLAYER_WORLD_LEVEL_ADJUST_CD(10040),
|
PROP_PLAYER_WORLD_LEVEL_ADJUST_CD(10040),
|
||||||
PROP_PLAYER_LEGENDARY_DAILY_TASK_NUM(10041),
|
PROP_PLAYER_LEGENDARY_DAILY_TASK_NUM(10041),
|
||||||
PROP_PLAYER_HOME_COIN(10042, 0), // Realm currency [0, +inf)
|
PROP_PLAYER_HOME_COIN(10042, 0), // Realm currency [0, +inf)
|
||||||
PROP_PLAYER_WAIT_SUB_HOME_COIN(10043);
|
PROP_PLAYER_WAIT_SUB_HOME_COIN(10043),
|
||||||
|
PROP_IS_AUTO_UNLOCK_SPECIFIC_EQUIP(10044), // New; unknown/un-used.
|
||||||
|
PROP_PLAYER_GCG_COIN(10045), // New; unknown/un-used.
|
||||||
|
PROP_PLAYER_WAIT_SUB_GCG_COIN(10046), // New; unknown/un-used.
|
||||||
|
PROP_PLAYER_ONLINE_TIME(10047); // New; unknown/un-used.
|
||||||
|
|
||||||
private static final int inf = Integer.MAX_VALUE; // Maybe this should be something else?
|
private static final int inf = Integer.MAX_VALUE; // Maybe this should be something else?
|
||||||
private static final Int2ObjectMap<PlayerProperty> map = new Int2ObjectOpenHashMap<>();
|
private static final Int2ObjectMap<PlayerProperty> map = new Int2ObjectOpenHashMap<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user