Interface Ownage
- All Known Implementing Classes:
Administrator
,Area
,Blog
,Board
,Bot
,Event
,Guild
,Item
,ItemDefinition
,Method
,Mob
,NormalItem
,Person
,Room
,Shopkeeper
,ShopkeeperList
,User
,UserCommand
,Worldattribute
public interface Ownage
Indicates that an object in the game has an owner. An owner is, in this
context, an administrator allowed to make changed to the object.
- Author:
- maartenl
-
Method Summary
-
Method Details
-
getOwner
Admin getOwner()Retrieves the owner, the administrator, of this object. In case this is null, anyone can edit the object.- Returns:
-
setOwner
Sets the owner, the administrator, of this object.- Parameters:
owner
- the owner/administrator of the object. In case this is null, which is allowed, any administrator can edit this object. This is what happens when an object is "disowned".
-