Command Service Parameters

Required Sim Info

class CommonRequiredSimInfoConsoleCommandParameter(*args, **kwargs)

Bases: CommonConsoleCommandParameter

A param that requires a Sim ID, a Sims First Name, or a Sims First and Last Name of a Sim to be specified.

classmethod get_value(output, *args)

Retrieve the number of arguments taken and the value returned.

Return type:

SimInfo

Optional Sim Info

class CommonOptionalSimInfoConsoleCommandParameter(*args, **kwargs)

Bases: CommonRequiredSimInfoConsoleCommandParameter

A param that optionally requires a Sim ID, a Sims First Name, or a Sims First and Last Name of a Sim to be specified. If not provided, the active SimInfo will be supplied instead.

classmethod get_value(output, *args)

Retrieve the number of arguments taken and the value returned.

Return type:

SimInfo

Required Game Object

class CommonRequiredGameObjectConsoleCommandParameter(*args, **kwargs)

Bases: CommonConsoleCommandParameter

A param that requires the ID of a Game Object to specified.

classmethod get_value(output, *args)

Retrieve the number of arguments taken and the value returned.

Return type:

GameObject