Skip to main content
Version: 1.0.0

Struct CellSeeding

Namespace: OblivionMp.Sdk.Common.Archetypes.Mixins
Assembly: OblivionMp.Sdk.Common.dll

Whether the server has seeded a cell from the game files, and when the cell last respawned.

[ArchetypeMixin]
[Extends(typeof(Cell), "")]
public readonly struct CellSeeding : IArchetypeMixin, IArchetypeQueryable, IEntityShape

Implements​

IArchetypeMixin, IArchetypeQueryable, IEntityShape

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties​

IsSeeded​

Whether the server has filled the cell with its containers, plants and items from the game files.

public bool IsSeeded { get; set; }

Property Value​

bool

RespawnedAtGameHours​

The game time, in hours since the game started, when the cell was last filled.

public float RespawnedAtGameHours { get; set; }

Property Value​

float

Methods​

Keep()​

This entity, which it already is: a loop over this shape hands over the shape itself.

public CellSeeding Keep()

Returns​

CellSeeding

Remarks​

Here so taking something out of a loop reads the same whichever way the loop walks. Whether a shape is walked by chunk follows from what it includes, which the call site cannot see and which changes when an include does.