You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Role.cs 732 B

12345678910111213141516171819202122232425
  1. #pragma warning disable CS1591
  2. using Newtonsoft.Json;
  3. namespace Discord.API
  4. {
  5. internal class Role
  6. {
  7. [JsonProperty("id")]
  8. public ulong Id { get; set; }
  9. [JsonProperty("name")]
  10. public string Name { get; set; }
  11. [JsonProperty("color")]
  12. public uint Color { get; set; }
  13. [JsonProperty("hoist")]
  14. public bool Hoist { get; set; }
  15. [JsonProperty("mentionable")]
  16. public bool Mentionable { get; set; }
  17. [JsonProperty("position")]
  18. public int Position { get; set; }
  19. [JsonProperty("permissions"), Int53]
  20. public ulong Permissions { get; set; }
  21. [JsonProperty("managed")]
  22. public bool Managed { get; set; }
  23. }
  24. }