Skip to main content

SFurniture

Index

Functions Index

Function Name
void StoreCustomData (string key, string value)
string GetCustomData (string key)

Properties Index

Property Name
int InventoryItemID get
SRoomFloor Floor get
SCollider MainCollider get
SGameObject GameObject get

Functions

StoreCustomData

void StoreCustomData (string key, string value)

Function Description

ParameterTypeDescription
Space.Host.ExecutingObject.Furniture.StoreCustomData("AKey", "AValue")

GetCustomData

string GetCustomData (string key)

Function Description

ParameterTypeDescription
theValue = Space.Host.ExecutingObject.Furniture.GetCustomData("AKey")

Properties

InventoryItemID

int InventoryItemID get

Return the inventory ID of furniture.

inventoryID = Space.Host.ExecutingObject.Furniture.InventoryItemID

Floor

SRoomFloor Floor get

Return an SRoomFloor component of the floor this furniture is placed on.

sRoomFloor = Space.Host.ExecutingObject.Furniture.Floor

MainCollider

SCollider MainCollider get

Property Description

collider = Space.Host.ExecutingObject.Furniture.MainCollider

GameObject

SGameObject GameObject get

Property Description

theGameObject = Space.Host.ExecutingObject.Furniture.GameObject