public VoteVerdictMessage(byte[] bytes) : base(bytes) { Time = SalemUtil.GetGameTime(); Player = GetPlayer(PlayerNumberIndex); Verdict = Bytes.Length > VoteVerdictIndex ? Bytes[VoteVerdictIndex].GetVoteVerdict() : VoteVerdict.Unknown; }
public ChatMessage(byte[] bytes) : base(bytes) { Time = SalemUtil.GetGameTime(); Player = GetPlayer(PlayerNumberIndex); CleanText = GetTextAt(TextStartIndex); }