game-common / pragma.playerdata /

Package pragma.playerdata #

Types #

NameSummary

Component

interface Component

Interface used with classes that store data for a player

Context

interface Context

Param of a PlayerDataOperation.

Entity

data class Entity(entityName: EntityName, instancedId: UUID, componentContainers: MutableList<ComponentContainer>)

A logical grouping of Components with a unique identifier

EntityData

data class EntityData(entityByInstanceId: MutableMap<UUID, Entity>, changedEntities: MutableSet<UUID>, entitiesToDelete: MutableSet<UUID>)

Contains reference to the player’s entities and used to keep track of changes to apply in the db

HiddenComponent

interface HiddenComponent : Component

A Component but used to store data that should never be visible to the player and will be filtered out of a PlayerDataServiceRpc.GetV1Response

PlayerDataContentLibrary

interface PlayerDataContentLibrary

Provides access to content in a PlayerDataOperation

PlayerDataContentSchema

interface PlayerDataContentSchema

Use this interface when defining content in Kotlin classes

PlayerDataLifecyclePlugin

interface PlayerDataLifecyclePlugin

Plugin to inspect and modify player data on lifecycle events

PlayerDataSnapshot

class PlayerDataSnapshot(entityData: EntityData)

Provides access to a player’s Entities in a PlayerDataOperation