Class ShovelableInfo
- Namespace
- Uncreated.Warfare.FOBs.Construction
- Assembly
- Uncreated.Warfare.dll
public class ShovelableInfo : ITranslationArgument, IBuildableFobEntityInfo
- Inheritance
-
ShovelableInfo
- Implements
- Inherited Members
- Extension Methods
Properties
CombatEngineerCanPlaceAnywhere
public bool CombatEngineerCanPlaceAnywhere { get; set; }
Property Value
CompletedEffect
public IAssetLink<EffectAsset>? CompletedEffect { get; set; }
Property Value
- IAssetLink<EffectAsset>
CompletedStructure
public IAssetLink<ItemPlaceableAsset>? CompletedStructure { get; set; }
Property Value
- IAssetLink<ItemPlaceableAsset>
ConstuctionType
public required ShovelableType ConstuctionType { get; set; }
Property Value
Emplacement
public EmplacementInfo? Emplacement { get; set; }
Property Value
Foundation
public required IAssetLink<ItemPlaceableAsset> Foundation { get; set; }
Property Value
- IAssetLink<ItemPlaceableAsset>
FoundationIcon
Used for FOBs after they've been built at least once.
public string? FoundationIcon { get; set; }
Property Value
Icon
public string? Icon { get; set; }
Property Value
IconOffset
public Vector3 IconOffset { get; set; }
Property Value
- Vector3
MaxAllowedPerFob
public int? MaxAllowedPerFob { get; set; }
Property Value
- int?
RequiredShovelHits
public required int RequiredShovelHits { get; set; }
Property Value
SupplyCost
public required float SupplyCost { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Translate(ITranslationValueFormatter, in ValueFormatParameters)
Allows objects to define how they're translated in their own definition instead of creating a value converter.
public string Translate(ITranslationValueFormatter formatter, in ValueFormatParameters parameters)
Parameters
formatterITranslationValueFormatterparametersValueFormatParameters