Struct RolledCreature
Namespace: OblivionMp.Sdk.Serverside.Spawners
Assembly: OblivionMp.Sdk.Serverside.dll
A creature or NPC that a leveled list rolled, and how many.
public readonly struct RolledCreature : IEquatable<RolledCreature>
Implements
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
RolledCreature(FormId, int)
A creature or NPC that a leveled list rolled, and how many.
public RolledCreature(FormId Form, int Count)
Parameters
Form FormId
The creature or NPC form.
Count int
How many of it.
Properties
Count
How many of it.
public int Count { get; init; }
Property Value
Form
The creature or NPC form.
public FormId Form { get; init; }
Property Value
FormId
Methods
Deconstruct(out FormId, out int)
public void Deconstruct(out FormId Form, out int Count)
Parameters
Form FormId
Count int
Equals(object)
public override bool Equals(object obj)
Parameters
obj object
Returns
Equals(RolledCreature)
public bool Equals(RolledCreature other)
Parameters
other RolledCreature
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RolledCreature, RolledCreature)
public static bool operator ==(RolledCreature left, RolledCreature right)
Parameters
left RolledCreature
right RolledCreature
Returns
operator !=(RolledCreature, RolledCreature)
public static bool operator !=(RolledCreature left, RolledCreature right)
Parameters
left RolledCreature
right RolledCreature