C# Класс Engineer.VesselSimulator.ResourceContainer

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

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

Метод Описание
Add ( int type, double amount ) : void
Debug ( ) : void
EmptyOf ( HashSet types ) : bool
GetResourceDensity ( int type ) : float
GetResourceFlowMode ( int type ) : ResourceFlowMode
GetResourceMass ( int type ) : double
GetResourceName ( int type ) : string
GetResourceTransferMode ( int type ) : ResourceTransferMode
HasType ( int type ) : bool
Reset ( ) : void
this ( int type ) : double

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

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

public Add ( int type, double amount ) : void
type int
amount double
Результат void

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

public Debug ( ) : void
Результат void

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

public EmptyOf ( HashSet types ) : bool
types HashSet
Результат bool

GetResourceDensity() публичный статический Метод

public static GetResourceDensity ( int type ) : float
type int
Результат float

GetResourceFlowMode() публичный статический Метод

public static GetResourceFlowMode ( int type ) : ResourceFlowMode
type int
Результат ResourceFlowMode

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

public GetResourceMass ( int type ) : double
type int
Результат double

GetResourceName() публичный статический Метод

public static GetResourceName ( int type ) : string
type int
Результат string

GetResourceTransferMode() публичный статический Метод

public static GetResourceTransferMode ( int type ) : ResourceTransferMode
type int
Результат ResourceTransferMode

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

public HasType ( int type ) : bool
type int
Результат bool

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

public Reset ( ) : void
Результат void

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

public this ( int type ) : double
type int
Результат double