dscord ~master (2021-11-07T02:10:19.0578386)
Dub
Repo
IdentifyPacket
dscord
gateway
packets
Undocumented in source.
class
IdentifyPacket :
BasePacket
,
Serializable
{
string
token
;
bool
compress
;
ushort
largeThreshold
;
ushort
[
2
]
shard
;
this
(string token, ushort shard, ushort numShards);
VibeJSON
properties
[@property getter];
VibeJSON
serialize
();
}
Constructors
this
this
(string token, ushort shard, ushort numShards)
Undocumented in source.
Members
Functions
serialize
VibeJSON
serialize
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
properties
VibeJSON
properties
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
compress
bool
compress
;
Undocumented in source.
largeThreshold
ushort
largeThreshold
;
Undocumented in source.
shard
ushort
[
2
]
shard
;
Undocumented in source.
token
string
token
;
Undocumented in source.
Inherited Members
From BasePacket
op
OPCode
op
;
Undocumented in source.
data
VibeJSON
data
;
Undocumented in source.
raw
VibeJSON
raw
;
Undocumented in source.
serialize
VibeJSON
serialize
(ushort op, VibeJSON data)
Undocumented in source. Be warned that the author may not have intended to support it.
From Serializable
serialize
VibeJSON
serialize
()
Undocumented in source.
Meta
Source
See Implementation
dscord
gateway
packets
classes
BasePacket
HeartbeatPacket
IdentifyPacket
RequestGuildMembers
ResumePacket
StatusUpdate
VoiceStateUpdatePacket
enums
OPCode
interfaces
Deserializable
Serializable