×

GetEmployeeDetailsByID

 

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

 

To get the employee details , you can use the “GetEmployeeDetailsByID” interface with the following inputs:

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

 

and the function returns the following parameters:

  • ‘Found?’ = Checked if the Employee 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 employee.