game-common / pragma.playerdata / PlayerDataContentLibrary /

PlayerDataContentLibrary #

interface PlayerDataContentLibrary

Provides access to content in a PlayerDataOperation

Functions #

NameSummary

getCatalog

abstract fun <T : PlayerDataContentSchema> getCatalog(resourcePath: String, clazz: KClass<T>): Map<String, T>

Returns content defined using the PlayerDataContentSchema interface

getContentData

abstract fun <ContentProto : GeneratedMessageV3> getContentData(resourcePath: String): ContentData<ContentProto>

Returns content defined in protobuf