Table of Contents

Class EmployeeManager

Namespace
S1API.Entities.Employees
Assembly
S1API.dll

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

male bool

Whether to choose from male employee appearance pool

index int

The 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

male bool

Whether to choose from male employee appearance pool

index int

The index of the appearance that was retrieved

settings AvatarSettings

The avatar settings of the appearance that was retrieved

Returns

bool

True if an appearance was successfully retrieved; otherwise, false.