Run formatter on code

This commit is contained in:
KingRainbow44
2023-08-27 23:23:01 -04:00
parent 40887b17fe
commit 154ace3d7e
24 changed files with 117 additions and 131 deletions

View File

@@ -1,9 +1,8 @@
package emu.grasscutter.game.props;
import it.unimi.dsi.fastutil.ints.*;
import lombok.Getter;
import java.util.stream.Stream;
import lombok.Getter;
public enum PlayerProperty {
PROP_NONE(0),
@@ -62,8 +61,10 @@ public enum PlayerProperty {
PROP_PLAYER_WAIT_SUB_GCG_COIN(10046), // New; unknown/un-used.
PROP_PLAYER_ONLINE_TIME(10047), // New; unknown/un-used.
PROP_PLAYER_CAN_DIVE(10048, 0, 1), // Can the player dive? [0, 1]
PROP_DIVE_MAX_STAMINA(10049, 0, 10000), // The maximum stamina of the player when diving. [0, 10000]
PROP_DIVE_CUR_STAMINA(10050, 0, 10000); // The current stamina of the player when diving. [0, 10000]
PROP_DIVE_MAX_STAMINA(
10049, 0, 10000), // The maximum stamina of the player when diving. [0, 10000]
PROP_DIVE_CUR_STAMINA(
10050, 0, 10000); // The current stamina of the player when diving. [0, 10000]
private static final int inf = Integer.MAX_VALUE; // Maybe this should be something else?
private static final Int2ObjectMap<PlayerProperty> map = new Int2ObjectOpenHashMap<>();