Class SettlementClaimStakeItem
A settlement claim stake item is different than a homestead one in that it is locked to a given settlement permanently.
Also will make the store match them to the required settlement in the config options, so you can buy/sell and maintain the settlement associated.
Inheritance
System.Object
SettlementClaimStakeItem
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
[RequiresSettlement]
public abstract class SettlementClaimStakeItem : ClaimStakeItemBase, IItem, ILinkableParameterized<LinkConfig>, ILinkable, IHasIcon, IPlaceableItem, ISettlementAssociated, IController, IViewController, IHasUniversalID, INotifyPropertyChanged
Constructors
SettlementClaimStakeItem()
Declaration
protected SettlementClaimStakeItem()
Properties
IsStackable
Declaration
public override bool IsStackable { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Settlement
The settlement that generaed the claim stake
Declaration
public Settlement Settlement { get; set; }
Property Value
SettlementType
Declaration
public abstract SettlementType SettlementType { get; }
Property Value
StackingHash
Declaration
public override int StackingHash { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
WorldObjectType
Declaration
public override Type WorldObjectType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
Methods
CanClaim(Player, Vector3i)
Declaration
public override bool CanClaim(Player player, Vector3i worldPos)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
CanStack(Item)
Declaration
public override bool CanStack(Item other)
Parameters
Type |
Name |
Description |
Item |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Clone()
Declaration
public override Item Clone()
Returns
Overrides
DeedName(User)
Declaration
protected override LocString DeedName(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Overrides
Destroy(Int32)
Declaration
public override void Destroy(int quantity = 1)
Parameters
Type |
Name |
Description |
System.Int32 |
quantity |
|
Overrides
OnPickup(WorldObject)
Declaration
public override void OnPickup(WorldObject placedObject)
Parameters
Overrides
OnPreWorldObjectPlaced(WorldObject)
Declaration
public override void OnPreWorldObjectPlaced(WorldObject placedObject)
Parameters
Overrides
OnSelected(Player)
Declaration
public override void OnSelected(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
Overrides
RepresentativeHash()
Declaration
public override int RepresentativeHash()
Returns
Type |
Description |
System.Int32 |
|
Overrides
RepresentsItem(Item)
Declaration
public override bool RepresentsItem(Item other)
Parameters
Type |
Name |
Description |
Item |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods