Dissonity
Unity SDK for Discord activities
Loading...
Searching...
No Matches
Dissonity.Models Namespace Reference

Namespaces

namespace  Builders
 
namespace  Interop
 

Classes

class  Activity
 
class  ActivityAssets
 
class  ActivityParty
 
class  ActivitySecrets
 
class  ActivityTimestamps
 
class  Application
 
class  Attachment
 
class  AuthenticatedApplication
 
class  AuthenticatedUser
 
class  AuthorizeResponseType
 
class  AvatarDecoration
 
class  BaseUser
 This class is the parent for all the user-like structures.

It's also the "user" object sent on start. More...
 
class  ChannelMention
 
class  ChannelRpc
 
class  ConsoleLevel
 
class  CurrencyCode
 
class  Embed
 
class  EmbedAuthor
 
class  EmbedField
 
class  EmbedFooter
 
class  EmbedProvider
 
class  Emoji
 
class  Entitlement
 
class  GuildMember
 
class  GuildMemberRpc
 
class  Image
 
class  Locale
 
class  Message
 
class  MessageActivity
 
class  MessageReference
 
class  MultiEvent
 This is not a normal RPC event, this "event" is sent through hiRPC once the authentication process has finished successfully and Unity has loaded. More...
 
class  OauthScope
 
class  Participant
 
class  Platform
 
class  Presence
 
class  Reaction
 
class  ReadyConfig
 
class  Relationship
 
class  Sku
 
class  SkuPrice
 
class  SpeakingData
 
class  User
 
class  UserVoiceState
 
class  Video
 
class  VoiceState
 

Enumerations

enum  ActivityType {
  Unknown = -1 , Playing = 0 , Streaming = 1 , Listening = 2 ,
  Watching = 3 , Custom = 4 , Competing = 5
}
 
enum  ChannelType {
  Unknown = -1 , GuildText = 0 , Dm = 1 , GuildVoice = 2 ,
  GroupDm = 3 , GuildCategory = 4 , GuildAnnouncement = 5 , GuildStore = 6 ,
  AnnouncementThread = 10 , PublicThread = 11 , PrivateThread = 12 , GuildStageVoice = 13 ,
  GuildDirectory = 14 , GuildForum = 15
}
 
enum  EntitlementType {
  Unknown = -1 , Purchase = 1 , PremiumSubscription = 2 , DeveloperGift = 3 ,
  TestModePurchase = 4 , FreePurchase = 5 , UserGift = 6 , PremiumPurchase = 7
}
 
enum  GuildMemberFlags : long {
  DidRejoin = 1 << 0 , CompletedOnboarding = 1 << 1 , BypassesVerification = 1 << 2 , StartedOnboarding = 1 << 3 ,
  IsGuest = 1 << 4 , StartedHomeActions = 1 << 5 , CompletedHomeActions = 1 << 6 , AutomodQuarantinedUsername = 1 << 7 ,
  DmSettingsUpsellAcknowledged = 1 << 9
}
 
enum  LayoutModeType { Unknown = -1 , Focused = 0 , Pip = 1 , Grid = 2 }
 
enum  MessageActivityType {
  Unknown = -1 , Join = 1 , Spectate = 2 , Listen = 3 ,
  JoinRequest = 5
}
 
enum  OrientationLockStateType { Unknown = -1 , Unlocked = 1 , Portrait = 2 , Landscape = 3 }
 
enum  OrientationType { Unknown = -1 , Portrait = 0 , Landscape = 1 }
 
enum  PermissionFlags : long {
  CreateInstantInvite = 1 << 0 , KickMembers = 1 << 1 , BanMembers = 1 << 2 , Administrator = 1 << 3 ,
  ManageChannels = 1 << 4 , ManageGuild = 1 << 5 , AddReactions = 1 << 6 , ViewAuditLog = 1 << 7 ,
  PrioritySpeaker = 1 << 8 , Stream = 1 << 9 , ViewChannel = 1 << 10 , SendMessages = 1 << 11 ,
  SendTtsMessages = 1 << 12 , ManageMessages = 1 << 13 , EmbedLinks = 1 << 14 , AttachFiles = 1 << 15 ,
  ReadMessageHistory = 1 << 16 , MentionEveryone = 1 << 17 , UseExternalEmojis = 1 << 18 , ViewGuildInsights = 1 << 19 ,
  Connect = 1 << 20 , Speak = 1 << 21 , MuteMembers = 1 << 22 , DeafenMembers = 1 << 23 ,
  MoveMembers = 1 << 24 , UseVad = 1 << 25 , ChangeNickname = 1 << 26 , ManageNicknames = 1 << 27 ,
  ManageRoles = 1 << 28 , ManageWebhooks = 1 << 29 , ManageGuildExpressions = 1 << 30 , UseApplicationCommands = 1 << 31 ,
  RequestToSpeak = 1 << 32 , ManageEvents = 1 << 33 , ManageThreads = 1 << 34 , CreatePublicThreads = 1 << 35 ,
  CreatePrivateThreads = 1 << 36 , UseExternalStickers = 1 << 37 , SendMessagesInThreads = 1 << 38 , UseEmbeddedActivities = 1 << 39 ,
  ModerateMembers = 1 << 40 , ViewCreatorMonetizationAnalytics = 1 << 41 , UseSoundboard = 1 << 42 , CreateGuildExpressions = 1 << 43 ,
  CreateEvents = 1 << 44 , UseExternalSounds = 1 << 45 , SendVoiceMessages = 1 << 46 , SendPolls = 1 << 49 ,
  UseExternalApps = 1 << 50
}
 
enum  PremiumType {
  Unknown = -1 , None = 0 , NitroClassic = 1 , Nitro = 2 ,
  NitroBasic = 3
}
 
enum  RelationshipType {
  Unknown = -1 , None = 0 , Friend = 1 , Blocked = 2 ,
  PendingIncoming = 3 , PendingOutgoing = 4 , Implicit = 5 , Suggestion = 6
}
 
enum  SkuFlags : long { Available = 1 << 2 , GuildSubscription = 1 << 7 , UserSubscription = 1 << 8 }
 
enum  SkuType {
  Unknown = -1 , Application = 1 , Dlc = 2 , Consumable = 3 ,
  Bundle = 4 , Subscription = 5
}
 
enum  ThermalStateType {
  Unknown = -1 , Nominal = 0 , Fair = 1 , Serious = 2 ,
  Critical = 3
}
 
enum  UserFlags : long {
  Staff = 1 << 0 , Partner = 1 << 1 , Hypesquad = 1 << 2 , BugHunterLevel1 = 1 << 3 ,
  HypesquadOnlineHouse1 = 1 << 6 , HypesquadOnlineHouse2 = 1 << 7 , HypesquadOnlineHouse3 = 1 << 8 , PremiumEarlySupporter = 1 << 9 ,
  TeamPseudoUser = 1 << 10 , BugHunterLevel2 = 1 << 14 , VerifiedBot = 1 << 16 , VerifiedDeveloper = 1 << 17 ,
  CertifiedModerator = 1 << 18 , BotHttpInteractions = 1 << 19 , ActiveDeveloper = 1 << 22
}
 

Enumeration Type Documentation

◆ ActivityType

Enumerator
Unknown 
Playing 
Streaming 
Listening 
Watching 
Custom 
Competing 

◆ ChannelType

Enumerator
Unknown 
GuildText 
Dm 
GuildVoice 
GroupDm 
GuildCategory 
GuildAnnouncement 
GuildStore 
AnnouncementThread 
PublicThread 
PrivateThread 
GuildStageVoice 
GuildDirectory 
GuildForum 

◆ EntitlementType

Enumerator
Unknown 
Purchase 
PremiumSubscription 
DeveloperGift 
TestModePurchase 
FreePurchase 
UserGift 
PremiumPurchase 

◆ GuildMemberFlags

Enumerator
DidRejoin 
CompletedOnboarding 
BypassesVerification 
StartedOnboarding 
IsGuest 
StartedHomeActions 
CompletedHomeActions 
AutomodQuarantinedUsername 
DmSettingsUpsellAcknowledged 

◆ LayoutModeType

Enumerator
Unknown 
Focused 
Pip 
Grid 

◆ MessageActivityType

Enumerator
Unknown 
Join 
Spectate 
Listen 
JoinRequest 

◆ OrientationLockStateType

Enumerator
Unknown 
Unlocked 
Portrait 
Landscape 

◆ OrientationType

Enumerator
Unknown 
Portrait 
Landscape 

◆ PermissionFlags

Enumerator
CreateInstantInvite 
KickMembers 
BanMembers 
Administrator 
ManageChannels 
ManageGuild 
AddReactions 
ViewAuditLog 
PrioritySpeaker 
Stream 
ViewChannel 
SendMessages 
SendTtsMessages 
ManageMessages 
EmbedLinks 
AttachFiles 
ReadMessageHistory 
MentionEveryone 
UseExternalEmojis 
ViewGuildInsights 
Connect 
Speak 
MuteMembers 
DeafenMembers 
MoveMembers 
UseVad 
ChangeNickname 
ManageNicknames 
ManageRoles 
ManageWebhooks 
ManageGuildExpressions 
UseApplicationCommands 
RequestToSpeak 
ManageEvents 
ManageThreads 
CreatePublicThreads 
CreatePrivateThreads 
UseExternalStickers 
SendMessagesInThreads 
UseEmbeddedActivities 
ModerateMembers 
ViewCreatorMonetizationAnalytics 
UseSoundboard 
CreateGuildExpressions 
CreateEvents 
UseExternalSounds 
SendVoiceMessages 
SendPolls 
UseExternalApps 

◆ PremiumType

Enumerator
Unknown 
None 
NitroClassic 
Nitro 
NitroBasic 

◆ RelationshipType

Enumerator
Unknown 
None 
Friend 
Blocked 
PendingIncoming 
PendingOutgoing 
Implicit 
Suggestion 

◆ SkuFlags

Enumerator
Available 
GuildSubscription 
UserSubscription 

◆ SkuType

Enumerator
Unknown 
Application 
Dlc 
Consumable 
Bundle 
Subscription 

◆ ThermalStateType

Enumerator
Unknown 
Nominal 
Fair 
Serious 
Critical 

◆ UserFlags

Enumerator
Staff 
Partner 
Hypesquad 
BugHunterLevel1 
HypesquadOnlineHouse1 
HypesquadOnlineHouse2 
HypesquadOnlineHouse3 
PremiumEarlySupporter 
TeamPseudoUser 
BugHunterLevel2 
VerifiedBot 
VerifiedDeveloper 
CertifiedModerator 
BotHttpInteractions 
ActiveDeveloper