Class EmployeeManager
Provides methods for managing employee appearances and related data.
public static class EmployeeManager
- Inheritance
-
EmployeeManager
- Inherited Members
Methods
GetAppearance(bool, int)
Gets an employee appearance by index.
public static EmployeeAppearance? GetAppearance(bool male, int index)
Parameters
maleboolWhether to choose from male employee appearance pool
indexintThe index of the appearance to retrieve
Returns
- EmployeeAppearance
An EmployeeAppearance representing the employee appearance at the specified index if successful; otherwise, null.
GetRandomAppearance(bool, out int, out AvatarSettings?)
Gets a random employee appearance.
public static bool GetRandomAppearance(bool male, out int index, out AvatarSettings? settings)
Parameters
maleboolWhether to choose from male employee appearance pool
indexintThe index of the appearance that was retrieved
settingsAvatarSettingsThe avatar settings of the appearance that was retrieved
Returns
- bool
True if an appearance was successfully retrieved; otherwise, false.