core / pragma.playerdata / PlayerDataSnapshot /
PlayerDataSnapshot #
class PlayerDataSnapshot(entityData: EntityData, uuidProxy: UUIDProxy = UUIDProxy.defaultInstance)
Provides access to a player’s Entities and provides functions to add, update, and delete.
Constructors #
PlayerDataSnapshot | fun PlayerDataSnapshot(entityData: EntityData, uuidProxy: UUIDProxy = UUIDProxy.defaultInstance) |
Functions #
Name | Summary |
---|---|
Will throw a pragma.ApplicationErrorException if there are multiple entities assigned the provided name, or if the underlying Entity has a corrupted EntityId | |
Returns the underlying structure EntityData | |
Will throw a pragma.ApplicationErrorException if there are multiple entities assigned the provided name. |