C# Class WhiteCore.Services.GenericServices.SystemEstateService.SystemEstateService

Basically a provision to allow user configuration of the system Estate Owner 'name and Estate' details
Inheritance: ISystemEstateService, IService
Datei anzeigen Open project: WhiteCoreSim/WhiteCore-Dev

Public Methods

Method Description
FinishedStartup ( ) : void
GetSystemEstateName ( int estateID ) : string
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

Protected Methods

Method Description
CreateEstateCommand ( IScene scene, string cmd ) : void

Creates a new estate.

DeleteEstateCommand ( IScene scene, string cmd ) : void

Deletes an estate.

HandleResetMainlandEstate ( IScene scene, string cmd ) : void
HandleResetSystemEstate ( IScene scene, string cmd ) : void
SetEstateNameCommand ( IScene scene, string cmd ) : void

Sets(renames) an existing estate name.

SetEstateOwnerCommand ( IScene scene, string cmd ) : void

Sets the estate owner.

Private Methods

Method Description
AddCommands ( ) : void
CheckGridOwnerEstate ( ) : void

Checks for the grid owner estate on initial startup.

CheckSystemEstateInfo ( int estateID, string estateName, UUID ownerUUID ) : void

Checks for a valid system estate. Adds or corrects if required

EstateLinkRegionCommand ( IScene scene, string cmd ) : void

Link a region to an estate.

EstateUnLinkRegionCommand ( IScene scene, string cmd ) : void

Un-link a region from an estate region.

ShowEstateRegionsCommand ( IScene scene, string cmd ) : void

Shows estate regions.

ShowEstatesCommand ( IScene scene, string cmd ) : void

Shows details of all estates.

UpdateConsoleRegionEstate ( string regionName, WhiteCore.Framework.SceneInfo.EstateSettings estateSettings ) : void
UpdateSystemEstates ( IEstateConnector estateConnector, WhiteCore.Framework.SceneInfo.EstateSettings eS, int newEstateID ) : void

Correct the system estate ID and update any linked regions.

Method Details

CreateEstateCommand() protected method

Creates a new estate.
protected CreateEstateCommand ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string Cmd.
return void

DeleteEstateCommand() protected method

Deletes an estate.
protected DeleteEstateCommand ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string Cmd.
return void

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

GetSystemEstateName() public method

public GetSystemEstateName ( int estateID ) : string
estateID int
return string

HandleResetMainlandEstate() protected method

protected HandleResetMainlandEstate ( IScene scene, string cmd ) : void
scene IScene
cmd string
return void

HandleResetSystemEstate() protected method

protected HandleResetSystemEstate ( IScene scene, string cmd ) : void
scene IScene
cmd string
return void

Initialize() public method

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

SetEstateNameCommand() protected method

Sets(renames) an existing estate name.
protected SetEstateNameCommand ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string Cmd.
return void

SetEstateOwnerCommand() protected method

Sets the estate owner.
protected SetEstateOwnerCommand ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string Cmd.
return void

Start() public method

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void