Show / Hide Table of Contents

Class MyObjectBuilder_FactionDefinition

Inheritance
System.Object
MyObjectBuilder_Base
MyObjectBuilder_DefinitionBase
MyObjectBuilder_FactionDefinition
Inherited Members
MyObjectBuilder_DefinitionBase.Id
MyObjectBuilder_DefinitionBase.DisplayName
MyObjectBuilder_DefinitionBase.Description
MyObjectBuilder_DefinitionBase.Icons
MyObjectBuilder_DefinitionBase.Public
MyObjectBuilder_DefinitionBase.Enabled
MyObjectBuilder_DefinitionBase.AvailableInSurvival
MyObjectBuilder_DefinitionBase.DescriptionArgs
MyObjectBuilder_DefinitionBase.DLCs
MyObjectBuilder_Base.ShouldSerializeSubtypeId()
MyObjectBuilder_Base.Clone()
MyObjectBuilder_Base.Equals(MyObjectBuilder_Base)
MyObjectBuilder_Base.SubtypeId
MyObjectBuilder_Base.SubtypeName
MyObjectBuilder_Base.TypeId
Namespace: VRage.Game.ObjectBuilders.Definitions
Assembly: VRage.Game.dll
Syntax
[MyObjectBuilderDefinition]
public class MyObjectBuilder_FactionDefinition : MyObjectBuilder_DefinitionBase

Constructors

MyObjectBuilder_FactionDefinition()

Declaration
public MyObjectBuilder_FactionDefinition()

Fields

AcceptHumans

Declaration
public bool AcceptHumans
Field Value
Type Description
System.Boolean

AutoAcceptMember

Declaration
public bool AutoAcceptMember
Field Value
Type Description
System.Boolean

BackgroundColor

Declaration
[Serialize]
public Nullable<ColorDefinitionRGBA> BackgroundColor
Field Value
Type Description
System.Nullable<ColorDefinitionRGBA>

DefaultRelation

Default faction relation to the other factions. Enemies state is with highest prority and does not care if other faction want to be friend.

Declaration
public MyRelationsBetweenFactions DefaultRelation
Field Value
Type Description
MyRelationsBetweenFactions

DiscoveredByDefault

Declaration
public bool DiscoveredByDefault
Field Value
Type Description
System.Boolean

EnableFriendlyFire

Declaration
public bool EnableFriendlyFire
Field Value
Type Description
System.Boolean

FactionIcon

Path to banner icon.

Declaration
[ModdableContentFile(new string[]{"dds", "png"})]
public string FactionIcon
Field Value
Type Description
System.String

FactionIconWorkshopId

Declaration
public Nullable<WorkshopId> FactionIconWorkshopId
Field Value
Type Description
System.Nullable<WorkshopId>

Founder

Declaration
public string Founder
Field Value
Type Description
System.String

IconColor

Declaration
[Serialize]
public Nullable<ColorDefinitionRGBA> IconColor
Field Value
Type Description
System.Nullable<ColorDefinitionRGBA>

IsDefault

This value indicates if fraction should be created by default for every new world and its owner will be visible in Ownership dropdown.

Declaration
public bool IsDefault
Field Value
Type Description
System.Boolean

Name

Declaration
public string Name
Field Value
Type Description
System.String

StartingBalance

Starting balance of the faction.

Declaration
public long StartingBalance
Field Value
Type Description
System.Int64

StartingReputation

Declaration
[Serialize]
public Nullable<int> StartingReputation
Field Value
Type Description
System.Nullable<System.Int32>

StaticReputation

Declaration
public bool StaticReputation
Field Value
Type Description
System.Boolean

StringType

Declaration
public string StringType
Field Value
Type Description
System.String

Tag

Declaration
public string Tag
Field Value
Type Description
System.String

Type

Declaration
public MyFactionTypes Type
Field Value
Type Description
MyFactionTypes

Extension Methods

MyObjectBuilderExtensions.GetId(MyObjectBuilder_Base)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾