Example #1
0
 internal ChatSettings(IReadOnlyPacket packet)
 {
     Flow                = (ChatFlow)packet.ReadInt();
     BubbleWidth         = (ChatBubbleWidth)packet.ReadInt();
     ScrollSpeed         = (ChatScrollSpeed)packet.ReadInt();
     TalkHearingDistance = packet.ReadInt();
     FloodProtection     = (ChatFloodProtection)packet.ReadInt();
 }
Example #2
0
 public ChatSettings()
 {
     Flow                = ChatFlow.LineByLine;
     BubbleWidth         = ChatBubbleWidth.Normal;
     ScrollSpeed         = ChatScrollSpeed.Normal;
     TalkHearingDistance = 14;
     FloodProtection     = ChatFloodProtection.Standard;
 }