Class PlayerDataExt
Inheritance
System.Object
PlayerDataExt
Assembly: Content.Server.dll
Syntax
public static class PlayerDataExt : object
Methods
|
Improve this Doc
View Source
ContentData(IPlayerSession)
Gets the correctly cast instance of content player data from an engine player data storage.
Declaration
public static PlayerData ContentData(this IPlayerSession session)
Parameters
Type |
Name |
Description |
Robust.Server.Player.IPlayerSession |
session |
|
Returns
|
Improve this Doc
View Source
ContentData(ICommonSession)
Declaration
public static PlayerData ContentData(this ICommonSession session)
Parameters
Type |
Name |
Description |
Robust.Shared.Players.ICommonSession |
session |
|
Returns
|
Improve this Doc
View Source
GetMind(IPlayerSession)
Gets the mind that is associated with this player.
Declaration
public static EntityUid? GetMind(this IPlayerSession session)
Parameters
Type |
Name |
Description |
Robust.Server.Player.IPlayerSession |
session |
|
Returns
Type |
Description |
System.Nullable<EntityUid> |
|