C# Class Economy.scripts.EconStructures.EconConfigStruct

Afficher le fichier Open project: jpcsupplies/Economy_mod Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Свойство Type Description

Méthodes publiques

Méthode Description
CalculateZoneCost ( decimal radius, bool relink ) : decimal
EconConfigStruct ( ) : System

Method Details

CalculateZoneCost() public méthode

public CalculateZoneCost ( decimal radius, bool relink ) : decimal
radius decimal
relink bool
Résultat decimal

EconConfigStruct() public méthode

public EconConfigStruct ( ) : System
Résultat System

Property Details

CurrencyName public_oe property

Name our money. This is NOT the symbol (ie., $).
public string CurrencyName
Résultat string

DefaultPrices public_oe property

public List DefaultPrices
Résultat List

DefaultStartingBalance public_oe property

The starting balance for all new players.
public decimal DefaultStartingBalance
Résultat decimal

DefaultTradeRange public_oe property

Default range of trade zones.
public double DefaultTradeRange
Résultat double

EnableLcds public_oe property

Indicates the LCD panels can be used to display Trade zone information.
public bool EnableLcds
Résultat bool

EnableNpcTradezones public_oe property

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
Résultat bool

EnablePlayerPayments public_oe property

Indicates that Players can send payments to one another.
public bool EnablePlayerPayments
Résultat bool

EnablePlayerTradezones public_oe property

Indicates the Player Tradezone can be created and used.
public bool EnablePlayerTradezones
Résultat bool

Language public_oe property

Indicates what language the Servre uses for text in game. Mapped aginst: VRage.MyLanguagesEnum Typically retrieved via: MyAPIGateway.Session.Config.Language
public int Language
Résultat int

LimitedRange public_oe property

Should players be near each other to trade or should it be unlimited distance.
public bool LimitedRange
Résultat bool

LimitedSupply public_oe property

Should the NPC market be limited or unlimited supply.
public bool LimitedSupply
Résultat bool

MaximumPlayerTradeZones public_oe property

The maximum number of trade zones a player an create.
public int MaximumPlayerTradeZones
Résultat int

NPCStartingBalance public_oe property

The starting balance for NPC Bankers.
public decimal NPCStartingBalance
Résultat decimal

NpcMerchantName public_oe property

The name that will used to identify the Merchant's server account.
public string NpcMerchantName
Résultat string

PriceScaling public_oe property

Indicates that Players can Trade with on another. This sets if prices should react to available supply.
public bool PriceScaling
Résultat bool

ShipTrading public_oe property

This sets if players can buy and sell ships.
public bool ShipTrading
Résultat bool

TradeNetworkName public_oe property

Name our Trading Network.
public string TradeNetworkName
Résultat string

TradeZoneLicenceCostMax public_oe property

The cost to create a Player trade zone when the zone size is at its Maximum allowed radius.
public decimal TradeZoneLicenceCostMax
Résultat decimal

TradeZoneLicenceCostMin public_oe property

The cost to create a Player trade zone when the zone size is at its Minimum allowed radius.
public decimal TradeZoneLicenceCostMin
Résultat decimal

TradeZoneMaxRadius public_oe property

The cost to create a Player trade zone Maximum allowed radius.
public decimal TradeZoneMaxRadius
Résultat decimal

TradeZoneMinRadius public_oe property

The cost to create a Player trade zone Minimum allowed radius.
public decimal TradeZoneMinRadius
Résultat decimal

TradeZoneRelinkRatio public_oe property

The cost ratio for Relink/Reestablishing a broken trade zone.
public decimal TradeZoneRelinkRatio
Résultat decimal