Class BarricadeStateSave
- Namespace
- Uncreated.Warfare.FOBs.StateStorage
- Assembly
- Uncreated.Warfare.dll
Represents a default state for a newly placed barricade.
public class BarricadeStateSave
- Inheritance
-
BarricadeStateSave
- Inherited Members
Properties
BarricadeAsset
The type of barricade that this state will be applied to after one is spawned.
public required IAssetLink<ItemBarricadeAsset> BarricadeAsset { get; init; }
Property Value
- IAssetLink<ItemBarricadeAsset>
Base64State
The saved barricade state, encoded as a Base64 string (converted from a byte array). This encodes the barricade's stored items and more.
public required string Base64State { get; init; }
Property Value
FactionId
The associated FactionInfo with this saved state. If present, this save should only be applied to barricades placed by a player belonging to the corresponding faction. Otherwise, this save should be applied to all barricades.
public string? FactionId { get; init; }
Property Value
InertFriendlyName
A friendly name to help humans identify this save after it is stored.
public required string InertFriendlyName { get; init; }