question

Marcel Ernst avatar image
Marcel Ernst asked

ID formats

Hi,

are there any definitions for the different IDs used across the APIs? I would like to implement a rough validation for safer use in client <-> server communication in my game.

  • User ID format -> 64-bit Value, I assume hex encoded, anything on the character range?
  • Entity ID format -> Hex ID with 15-16 characters?
  • Catalog Item ID format -> Hex + '-' ID with 36 characters?
apis
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Rick Chen avatar image
Rick Chen answered

There is no document about the ID format.

User ID/Player ID: refer to the master_player_account id of a Player.

Entity ID: refers to the title_player_account id of a player.

They both contain 16 hexadecimal characters.

Catalog Item ID: defined by developer, any character is allowed.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.