C# Класс Economy.scripts.EconStructures.EconConfigStruct

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CurrencyName string
DefaultPrices List
DefaultStartingBalance decimal
DefaultTradeRange double
EnableLcds bool
EnableNpcTradezones bool
EnablePlayerPayments bool
EnablePlayerTradezones bool
Language int
LimitedRange bool
LimitedSupply bool
MaximumPlayerTradeZones int
NPCStartingBalance decimal
NpcMerchantName string
PriceScaling bool
ShipTrading bool
TradeNetworkName string
TradeZoneLicenceCostMax decimal
TradeZoneLicenceCostMin decimal
TradeZoneMaxRadius decimal
TradeZoneMinRadius decimal
TradeZoneRelinkRatio decimal

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
CalculateZoneCost ( decimal radius, bool relink ) : decimal
EconConfigStruct ( ) : System

Описание методов

CalculateZoneCost() публичный Метод

public CalculateZoneCost ( decimal radius, bool relink ) : decimal
radius decimal
relink bool
Результат decimal

EconConfigStruct() публичный Метод

public EconConfigStruct ( ) : System
Результат System

Описание свойств

CurrencyName публичное свойство

Name our money. This is NOT the symbol (ie., $).
public string CurrencyName
Результат string

DefaultPrices публичное свойство

public List DefaultPrices
Результат List

DefaultStartingBalance публичное свойство

The starting balance for all new players.
public decimal DefaultStartingBalance
Результат decimal

DefaultTradeRange публичное свойство

Default range of trade zones.
public double DefaultTradeRange
Результат double

EnableLcds публичное свойство

Indicates the LCD panels can be used to display Trade zone information.
public bool EnableLcds
Результат bool

EnableNpcTradezones публичное свойство

Indicates that Npc Tradezones can be used. They can still be created and managed by the Admin, allowing an admin to take the tradezones offline temporarily to fix any issue.
public bool EnableNpcTradezones
Результат bool

EnablePlayerPayments публичное свойство

Indicates that Players can send payments to one another.
public bool EnablePlayerPayments
Результат bool

EnablePlayerTradezones публичное свойство

Indicates the Player Tradezone can be created and used.
public bool EnablePlayerTradezones
Результат bool

Language публичное свойство

Indicates what language the Servre uses for text in game. Mapped aginst: VRage.MyLanguagesEnum Typically retrieved via: MyAPIGateway.Session.Config.Language
public int Language
Результат int

LimitedRange публичное свойство

Should players be near each other to trade or should it be unlimited distance.
public bool LimitedRange
Результат bool

LimitedSupply публичное свойство

Should the NPC market be limited or unlimited supply.
public bool LimitedSupply
Результат bool

MaximumPlayerTradeZones публичное свойство

The maximum number of trade zones a player an create.
public int MaximumPlayerTradeZones
Результат int

NPCStartingBalance публичное свойство

The starting balance for NPC Bankers.
public decimal NPCStartingBalance
Результат decimal

NpcMerchantName публичное свойство

The name that will used to identify the Merchant's server account.
public string NpcMerchantName
Результат string

PriceScaling публичное свойство

Indicates that Players can Trade with on another. This sets if prices should react to available supply.
public bool PriceScaling
Результат bool

ShipTrading публичное свойство

This sets if players can buy and sell ships.
public bool ShipTrading
Результат bool

TradeNetworkName публичное свойство

Name our Trading Network.
public string TradeNetworkName
Результат string

TradeZoneLicenceCostMax публичное свойство

The cost to create a Player trade zone when the zone size is at its Maximum allowed radius.
public decimal TradeZoneLicenceCostMax
Результат decimal

TradeZoneLicenceCostMin публичное свойство

The cost to create a Player trade zone when the zone size is at its Minimum allowed radius.
public decimal TradeZoneLicenceCostMin
Результат decimal

TradeZoneMaxRadius публичное свойство

The cost to create a Player trade zone Maximum allowed radius.
public decimal TradeZoneMaxRadius
Результат decimal

TradeZoneMinRadius публичное свойство

The cost to create a Player trade zone Minimum allowed radius.
public decimal TradeZoneMinRadius
Результат decimal

TradeZoneRelinkRatio публичное свойство

The cost ratio for Relink/Reestablishing a broken trade zone.
public decimal TradeZoneRelinkRatio
Результат decimal