Class MsgPlayTime
Sent server -> client to inform the client of their play times.
Inheritance
System.Object
Robust.Shared.Network.NetMessage
MsgPlayTime
Namespace: Content.Shared.Players.PlayTimeTracking
Assembly: Content.Shared.dll
Syntax
public sealed class MsgPlayTime : NetMessage
Fields
| Improve this Doc View SourceTrackers
Declaration
public Dictionary<string, TimeSpan> Trackers
Field Value
Type | Description |
---|---|
Dictionary<System.String, TimeSpan> |
Properties
| Improve this Doc View SourceMsgGroup
Declaration
public override MsgGroups MsgGroup { get; }
Property Value
Type | Description |
---|---|
Robust.Shared.Network.MsgGroups |
Overrides
Robust.Shared.Network.NetMessage.MsgGroup
Methods
| Improve this Doc View SourceReadFromBuffer(NetIncomingMessage, IRobustSerializer)
Declaration
public override void ReadFromBuffer(NetIncomingMessage buffer, IRobustSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Lidgren.Network.NetIncomingMessage | buffer | |
Robust.Shared.Serialization.IRobustSerializer | serializer |
Overrides
Robust.Shared.Network.NetMessage.ReadFromBuffer(Lidgren.Network.NetIncomingMessage, Robust.Shared.Serialization.IRobustSerializer)
|
Improve this Doc
View Source
WriteToBuffer(NetOutgoingMessage, IRobustSerializer)
Declaration
public override void WriteToBuffer(NetOutgoingMessage buffer, IRobustSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Lidgren.Network.NetOutgoingMessage | buffer | |
Robust.Shared.Serialization.IRobustSerializer | serializer |
Overrides
Robust.Shared.Network.NetMessage.WriteToBuffer(Lidgren.Network.NetOutgoingMessage, Robust.Shared.Serialization.IRobustSerializer)