Show / Hide Table of Contents

Class MintComponent

Inheritance
System.Object
WorldObjectComponent
MintComponent
Implements
ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasInteractions
IPersistentData
System.ComponentModel.INotifyPropertyChanged
Inherited Members
WorldObjectComponent.IsRPCAuthorized(IWorldObserver, AccessType, Object[])
WorldObjectComponent.PostInitialize()
WorldObjectComponent.Tick()
WorldObjectComponent.LateTick()
WorldObjectComponent.TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
WorldObjectComponent.OnPickup(Player)
WorldObjectComponent.OnBeforeObjectMoved()
WorldObjectComponent.OnAfterObjectMoved()
WorldObjectComponent.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
WorldObjectComponent.UILinkContent()
WorldObjectComponent.Parent
WorldObjectComponent.Name
WorldObjectComponent.IconName
WorldObjectComponent.ForceActiveTab
WorldObjectComponent.ComponentPrefabName
WorldObjectComponent.ComponentTabName
WorldObjectComponent.Enabled
WorldObjectComponent.IsDestroyed
WorldObjectComponent.ShouldRequestEverything
WorldObjectComponent.Owners
WorldObjectComponent.ControllerID
WorldObjectComponent.IOwned.Deed
WorldObjectComponent.Subscriptions
WorldObjectComponent.PropertyChanged
Namespace: Eco.Gameplay.Components
Assembly: Eco.Gameplay.dll
Syntax
[RequireComponent]
[RequireComponent]
[RequireComponent]
[RequireComponent]
public class MintComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IPersistentData, INotifyPropertyChanged

Constructors

MintComponent()

Declaration
public MintComponent()

Fields

AllMints

Declaration
public static List<MintComponent> AllMints
Field Value
Type Description
System.Collections.Generic.List<MintComponent>

CurrencyCreatedEvent

Declaration
public static ThreadSafeAction<User, Currency> CurrencyCreatedEvent
Field Value
Type Description
ThreadSafeAction<User, Currency>

Properties

Availability

Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Type Description
WorldObjectComponentClientAvailability
Overrides
WorldObjectComponent.Availability

CoinsPerItem

Declaration
public float CoinsPerItem { get; }
Property Value
Type Description
System.Single

CurrencyName

Declaration
public string CurrencyName { get; }
Property Value
Type Description
System.String

MintData

Declaration
[NewTooltipChildren]
public MintItemData MintData { get; set; }
Property Value
Type Description
MintItemData

PersistentData

Declaration
public object PersistentData { get; set; }
Property Value
Type Description
System.Object

SelectedItem

Declaration
public SearchAndSelectItem SelectedItem { get; }
Property Value
Type Description
SearchAndSelectItem

Stack

Declaration
public ItemStack Stack { get; }
Property Value
Type Description
ItemStack

TargetAccount

Declaration
public BankAccount TargetAccount { get; set; }
Property Value
Type Description
BankAccount

TotalCirculation

Declaration
public float TotalCirculation { get; }
Property Value
Type Description
System.Single

Methods

CraftCoins(Player, Int32, Single, BankAccount)

Declaration
public bool CraftCoins(Player player, int itemQuantity, float coinsPerItem, BankAccount account)
Parameters
Type Name Description
Player player
System.Int32 itemQuantity
System.Single coinsPerItem
BankAccount account
Returns
Type Description
System.Boolean

CraftCoinsResult(Player, Int32, Single, BankAccount)

Declaration
public Result CraftCoinsResult(Player player, int itemQuantity, float coinsPerItem, BankAccount account)
Parameters
Type Name Description
Player player
System.Int32 itemQuantity
System.Single coinsPerItem
BankAccount account
Returns
Type Description
Result

CreateCurrency(Player, String)

Declaration
public bool CreateCurrency(Player player, string currencyName)
Parameters
Type Name Description
Player player
System.String currencyName
Returns
Type Description
System.Boolean

CurrencyReport(Player)

Declaration
public void CurrencyReport(Player player)
Parameters
Type Name Description
Player player

Destroy()

Declaration
public override void Destroy()
Overrides
WorldObjectComponent.Destroy()

Initialize()

Declaration
public override void Initialize()
Overrides
WorldObjectComponent.Initialize()

InitializeCurrency(Currency)

Declaration
public void InitializeCurrency(Currency currencyHandle)
Parameters
Type Name Description
Currency currencyHandle

OnCreate()

Declaration
public override void OnCreate()
Overrides
WorldObjectComponent.OnCreate()

SetCurrencyName(Player, String)

Declaration
public bool SetCurrencyName(Player player, string currencyName)
Parameters
Type Name Description
Player player
System.String currencyName
Returns
Type Description
System.Boolean

SetCurrencyNameNoCheck(User, LocString)

Declaration
public Result SetCurrencyNameNoCheck(User user, LocString currencyName)
Parameters
Type Name Description
User user
LocString currencyName
Returns
Type Description
Result

UpdateCirculation(Currency)

Declaration
public void UpdateCirculation(Currency changedCurrency)
Parameters
Type Name Description
Currency changedCurrency

Implements

ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
IHasInteractions
IPersistentData
System.ComponentModel.INotifyPropertyChanged

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾