Esempio n. 1
0
 public void Read(BinaryReader reader)
 {
     _text       = Serializers.String.read(reader);
     Timestamp   = DateTimeExtensions.DateTimeFromUnixTimestampSeconds(reader.ReadInt64());
     MessageType = (Type)reader.ReadInt32();
     RandomId    = reader.ReadInt64();
 }
Esempio n. 2
0
 public static string FormatTimeWasOnlineUnix(int seconds)
 {
     return(FormatTimeWasOnline(DateTimeExtensions.DateTimeFromUnixTimestampSeconds(seconds)));
 }
Esempio n. 3
0
 public static string FormatDialogDateTimestampUnix(int seconds)
 {
     return(FormatDialogDateTimestamp(DateTimeExtensions.DateTimeFromUnixTimestampSeconds(seconds)));
 }