Fixed RGB summaries in PackedColor

This commit is contained in:
RogueException
2015-10-13 21:21:08 -03:00
parent 72f8e4f5df
commit ea8132f0dc

View File

@@ -19,11 +19,11 @@ namespace Discord
public PackedColor(uint rawValue) { _rawValue = rawValue; }
/// <summary> If True, a user may join channels. </summary>
/// <summary> Gets or sets the red component for this color. </summary>
public byte Red { get { return GetByte(3); } set { SetByte(3, value); } }
/// <summary> If True, a user may send messages. </summary>
/// <summary> Gets or sets the green component for this color. </summary>
public byte Green { get { return GetByte(2); } set { SetByte(2, value); } }
/// <summary> If True, a user may send text-to-speech messages. </summary>
/// <summary> Gets or sets the blue component for this color. </summary>
public byte Blue { get { return GetByte(1); } set { SetByte(1, value); } }
internal void Lock() => _isLocked = true;