跳到主要内容
版本:Next

Struct NicknameMixin

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

A player's display name.

[ArchetypeMixin]
[Extends(typeof(Player), "")]
public readonly struct NicknameMixin : 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​

Nickname​

The player's nickname.

public NativeString256 Nickname { get; set; }

Property Value​

NativeString256

Methods​

Keep()​

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

public NicknameMixin Keep()

Returns​

NicknameMixin

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.