Creates an instance of the Home
class.
The home to create.
Optional
format_version?: stringThe version of the add-on that this home was saved with.
Optional
home_format_version?: stringThe format version the home system was on when this home was saved.
The location and dimension of the home.
The name of the home.
Optional
owner?: PlayerThe owner of the home.
Optional
ownerId?: stringThe ID of the owner of the home.
Optional
ownerName?: stringThe name of the owner of the home.
The save ID of the home.
The created home.
Optional
format_The version of the add-on that this home was saved with.
Optional
home_The format version the home system was on when this home was saved.
The location and dimension of the home.
The name of the home.
The ID of the owner of the home.
Optional
ownerThe name of the owner of the home.
The save ID of the home.
Checks if the owner of the home is online.
True if the owner of the home is online, false otherwise.
Checks if the home is saved.
True if the home is saved, false otherwise.
Returns the owner of the home if they are online, otherwise returns undefined.
The owner of the home if they are online, otherwise returns undefined.
Removes the home.
Saves the home.
Optional
otherDataToChange: Partial<Additional data to add to the home.
Optional
keepOldFormatVersion: boolean = falseIf set to true, the format version won't be set to the current version.
Converts the home to a JSON object.
The JSON object representing this home.
Static
deleteDeletes the home with the given save ID.
This function just deletes the world dynamic property with the given ID.
The save ID of the home to delete.
Static
get
Represents a home for the home system.