Struct CharacterIdentity
Namespace: OblivionMp.Sdk.Common.Archetypes.Mixins
Assembly: OblivionMp.Sdk.Common.dll
Who a player's character is, as picked in character creation: name, race, sex, class and birthsign.
[ArchetypeMixin(Replication.OwnershipBased)]
public readonly struct CharacterIdentity : 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
Birthsign
The form ID of the character's birthsign.
public FormId Birthsign { get; set; }
Property Value
FormId
Class
The form ID of the character's class.
public FormId Class { get; set; }
Property Value
FormId
IsFemale
Whether the character is female.
public bool IsFemale { get; set; }
Property Value
Name
The character's name, as typed in character creation. The player's nickname is NicknameMixin.
public NativeString256 Name { get; set; }
Property Value
NativeString256
Race
The form ID of the character's race.
public FormId Race { get; set; }
Property Value
FormId
Methods
Keep()
This entity, which it already is: a loop over this shape hands over the shape itself.
public CharacterIdentity Keep()
Returns
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.