OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class UnturnedUser

Represents an Unturned user.

Inheritance
System.Object
UnturnedUser
Implements
IEquatable<UnturnedUser>
IEquatable<UnturnedPendingUser>
IPlayerUser<UnturnedPlayer>
IPlayerUser
IUser
Namespace: OpenMod.Unturned.Users
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedUser : UserBase, IEquatable<UnturnedUser>, IEquatable<UnturnedPendingUser>, IPlayerUser<UnturnedPlayer>, IPlayerUser, IUser

Constructors

| Improve this Doc View Source

UnturnedUser(UnturnedUserProvider, IUserDataStore, Player, UnturnedPendingUser)

Declaration
protected UnturnedUser(UnturnedUserProvider userProvider, IUserDataStore userDataStore, Player player, UnturnedPendingUser pending = null)
Parameters
Type Name Description
UnturnedUserProvider userProvider
IUserDataStore userDataStore
Player player
UnturnedPendingUser pending

Properties

| Improve this Doc View Source

Id

See SteamId.

Declaration
public override string Id { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Player

Declaration
public UnturnedPlayer Player { get; }
Property Value
Type Description
UnturnedPlayer
| Improve this Doc View Source

SteamId

The Steam ID of the Unturned user.

Declaration
public CSteamID SteamId { get; }
Property Value
Type Description
CSteamID

Methods

| Improve this Doc View Source

Equals(UnturnedPendingUser)

Declaration
public bool Equals(UnturnedPendingUser other)
Parameters
Type Name Description
UnturnedPendingUser other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(UnturnedUser)

Declaration
public bool Equals(UnturnedUser other)
Parameters
Type Name Description
UnturnedUser other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
| Improve this Doc View Source

PrintMessageAsync(String)

Declaration
public override Task PrintMessageAsync(string message)
Parameters
Type Name Description
System.String message
Returns
Type Description
Task
| Improve this Doc View Source

PrintMessageAsync(String, Color)

Declaration
public override Task PrintMessageAsync(string message, Color color)
Parameters
Type Name Description
System.String message
Color color
Returns
Type Description
Task
| Improve this Doc View Source

PrintMessageAsync(String, Color, Boolean, String)

Declaration
public Task PrintMessageAsync(string message, Color color, bool isRich, string iconUrl)
Parameters
Type Name Description
System.String message
Color color
System.Boolean isRich
System.String iconUrl
Returns
Type Description
Task

Explicit Interface Implementations

| Improve this Doc View Source

IPlayerUser.Player

Declaration
IPlayer IPlayerUser.Player { get; }
Returns
Type Description
IPlayer

Implements

IEquatable<>
IEquatable<>
IPlayerUser<T>
IPlayerUser
IUser

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)