Data Objects

CAS Part

class CommonCASPart(cas_part_id, body_type=None)

Bases: object

A class that contains information about a CAS Part.

Parameters:
  • cas_part_id (int) – The decimal identifier of a CAS Part.
  • body_type (Union[CommonBodySlot, BodyType, int, None], optional) – The place on a Sims person the CAS Part gets applied to. If not specified, then the Body Type of the CAS Part itself will be used. Default is None.
body_type

The place on a Sims person the CAS Part gets applied to.

cas_part_id

The decimal identifier of a CAS Part.

Outfit

Object Containment Slot

class CommonObjectContainmentSlot(slot_name_hash, slot_types)

Bases: object

A slot used for containing other objects within an object.

Note

A place that other objects can be placed at on an object.

Parameters:
  • slot_name_hash (int) – The hashed name of the slot.
  • slot_types (Tuple[SlotType]) – A collection of slot types within this containment slot.
slot_name_hash

The hashed name of the slot.

slot_types

The types of slots.