Show / Hide Table of Contents

Class BenefitInfo

Inheritance
System.Object
BenefitInfo
Implements
IBsonSerialize
IBsonSerializable
IBsonDeserializable
Namespace: Eco.Shared.Items
Assembly: Eco.Shared.dll
Syntax
[BsonAutoSerialize]
public class BenefitInfo : Object, IBsonSerialize, IBsonSerializable, IBsonDeserializable

Constructors

BenefitInfo()

Declaration
public BenefitInfo()

Fields

BonusDescriptions

Declaration
public List<string> BonusDescriptions
Field Value
Type Description
System.Collections.Generic.List<System.String>

Description

Declaration
public List<string> Description
Field Value
Type Description
System.Collections.Generic.List<System.String>

Name

Declaration
public string Name
Field Value
Type Description
System.String

NameForLevel

Declaration
public List<string> NameForLevel
Field Value
Type Description
System.Collections.Generic.List<System.String>

Values

Declaration
public List<float> Values
Field Value
Type Description
System.Collections.Generic.List<System.Single>

Methods

FromBson(BSONArray)

Declaration
public void FromBson(BSONArray bson)
Parameters
Type Name Description
BSONArray bson

ToBson()

Declaration
public BSONArray ToBson()
Returns
Type Description
BSONArray

Implements

IBsonSerialize
IBsonSerializable
IBsonDeserializable

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾