Class ClaimPaperItemBase
This is the base class for all claim papers.
Inheritance
System.Object
ClaimPaperItemBase
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public abstract class ClaimPaperItemBase : Item, IItem, ILinkableParameterized<LinkConfig>, ILinkable, IHasIcon, ISettlementAssociated, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions
Constructors
ClaimPaperItemBase()
Declaration
protected ClaimPaperItemBase()
Properties
IsStackable
Declaration
public override bool IsStackable { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Settlement
Claiming is limited to this settlement, if set.
Declaration
public Settlement Settlement { get; set; }
Property Value
StackingHash
Declaration
public override int StackingHash { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Subscriptions
Declaration
public ref ThreadSafeSubscriptions Subscriptions { get; }
Property Value
Methods
CanBeAddedToStake(WorldObject, Deed)
Check whether these papers can be added to the specified claim stake or not.
Declaration
public abstract Result CanBeAddedToStake(WorldObject claimStake, Deed parentDeed)
Parameters
Returns
CanBeCountedForStakePlots(WorldObject, Deed)
We check whether these papers can be counted toward the maximum of allowed plots of the specified claim stake or not.
Declaration
public abstract Result CanBeCountedForStakePlots(WorldObject claimStake, Deed parentDeed)
Parameters
Returns
Clone()
Declaration
public override Item Clone()
Returns
Overrides
Deduct(Int32)
Declaration
protected abstract void Deduct(int quantity)
Parameters
Type |
Name |
Description |
System.Int32 |
quantity |
|
Destroy(Int32)
Declaration
public override void Destroy(int quantity = 1)
Parameters
Type |
Name |
Description |
System.Int32 |
quantity |
|
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
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods