Class UnturnedUser
Represents an Unturned user.
Inheritance
System.Object
UnturnedUser
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
Properties
|
Improve this Doc
View Source
Id
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
|
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
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Equals(UnturnedUser)
Declaration
public bool Equals(UnturnedUser other)
Parameters
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
|
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
|
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
Explicit Interface Implementations
|
Improve this Doc
View Source
IPlayerUser.Player
Declaration
IPlayer IPlayerUser.Player { get; }
Returns
Implements
IEquatable<>
IEquatable<>
Extension Methods