Game Record

Portex Game Record provides cloud save functionality for game users.

API Documentation

  • Get Game Record

getGameRecord(name: string): Promise<GameRecordResult>
  • Set Game Record

saveGameRecord(name: string, record: string): Promise<boolean>
  • List Game Record

listGameRecordNames(): Promise<ListGameRecordNamesResult>

Interface

interface GameRecordResult {
    record: string;
}

interface ListGameRecordNamesResult {
    names: string[];
}

Notes

  • record string must be base64 string

Last updated