×

GetCategoryDetailsByID

 

The "GetCategoryDetailsByID" event is used to get the Category details like the name or a picture of employee by a Category ID who can be retrieve on "GetAllCategoryDetails" .

 

To get the Category details , you can use the “GetCategoryDetailsByID” interface with the following inputs:

  • ‘Target’ = The “PlayerCode” reference from the “Get player” function
  • ‘CategoryID’ = Here you can enter the Category ID to get Category data details, useful if you want to retrieve an Category's name, image, or other information using a "BREAK" function. (If you don't know the Category IDs, use the "GetAllEmployeeDetails function", which returns the Category IDs.)

 

and the function returns the following parameters:

  • ‘Found?’ = Checked if the Category ID is valid
  • ‘Details’ = A structure which gives access to the variables of the game (via the "break" function) allowing to know the information of the data table on the Category.