Attach original names to config objects

This commit is contained in:
Melledy
2023-11-23 18:08:02 -08:00
parent 398d3872ae
commit fed64f48d3
9 changed files with 24 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
package emu.lunarcore.data.config;
/**
* Original name: LevelAnchorInfo
*/
public class AnchorInfo extends ObjectInfo {
}

View File

@@ -13,6 +13,9 @@ import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
import lombok.Getter;
/**
* Original name: LevelFloorInfo
*/
@Getter
public class FloorInfo {
private int FloorID;

View File

@@ -4,6 +4,9 @@ import java.util.List;
import lombok.Getter;
/**
* Original name: LevelGroupInfo
*/
@Getter
public class GroupInfo {
private transient int id;

View File

@@ -2,6 +2,9 @@ package emu.lunarcore.data.config;
import lombok.Getter;
/**
* Original name: LevelMonsterInfo
*/
@Getter
public class MonsterInfo extends ObjectInfo {
private int NPCMonsterID;

View File

@@ -2,6 +2,9 @@ package emu.lunarcore.data.config;
import lombok.Getter;
/**
* Original name: LevelNPCInfo
*/
@Getter
public class NpcInfo extends ObjectInfo {
private int NPCID;

View File

@@ -3,6 +3,9 @@ package emu.lunarcore.data.config;
import emu.lunarcore.util.Position;
import lombok.Getter;
/**
* Original name: LevelObjectInfo
*/
@Getter
public class ObjectInfo {
public int ID;
@@ -13,6 +16,7 @@ public class ObjectInfo {
public String Name;
public float RotY;
// Cached position and rotation to avoid recalculating positions all the time
protected transient Position pos;
protected transient Position rot;

View File

@@ -8,6 +8,9 @@ import emu.lunarcore.util.Position;
import lombok.Getter;
import lombok.Setter;
/**
* Original name: LevelPropInfo
*/
@Getter
public class PropInfo extends ObjectInfo {
private float RotX;

View File

@@ -7,7 +7,7 @@ import emu.lunarcore.game.battle.skills.*;
import lombok.Getter;
/**
* The equivalent of the SkillAbilityConfig class in anime game.
* Original name: SkillAbilityConfig
*/
public class SkillAbilityInfo {
private List<AbilityInfo> AbilityList;

View File

@@ -8,7 +8,7 @@ import lombok.AccessLevel;
import lombok.Getter;
/**
* The equivalent of the TaskConfig class in anime game.
* Original name: TaskConfig
*/
@Getter
public class TaskInfo {