跳到主要内容
版本:Next

ReadyM.Api.Idents

Structs

ArchetypeId

Represents a unique identifier for an archetype in the ECS. Entities of a given archetype have a fixed set of components, never changed after creation.

AreaId

Identifies an area within the game world. Areas can be main Chapter maps, sub-areas such as the Zodiac Village, or hidden boss arenas. If going somewhere requires a loading screen, it's probably a different area.

CellId

Identifies a cell within an area. CellId has to be unique within its parent area (identified by AreaId). The main difference between a cell and an area is that a player can be only in one area at once, but can have many cells active within that area.

FullCellId

Fully identifies a cell across the whole game world by pairing it with its parent area. A CellId only has to be unique within its parent AreaId, so a cell can only be uniquely identified by the (AreaId, CellId) pair represented by this struct.

PlayerId

A unique identifier for a player in the current session. This is not a persistent identifier and can change over time, especially if players disconnect and reconnect. It should be used for identifying players during the current session, but not for long-term storage or cross-session identification.