This repository was archived by the owner on Dec 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
[A2] Distinction between boolean and flagsΒ #40
Copy link
Copy link
Open
Description
autoconnectis the first bit of the byteuseCertificatethe second bituseLoginTokenthe third bit
Those booleans are flags.
We should be able to distinguish them from regular booleans like in https://github.com/bot4dofus/Datafus/blob/master/data/A/DofusInvoker/scripts/com/ankamagames/dofus/network/messages/game/basic/BasicWhoIsRequestMessage.as#L120
Content of events.json:
"IdentificationMessage": {
"file": "data/A/DofusInvoker/scripts/com/ankamagames/dofus/network/messages/connection/IdentificationMessage.as",
"id": "7755",
"superclass": "NetworkMessage",
"interfaces": [
"INetworkMessage"
],
"attributes": {
"version": "Version",
"lang": "String",
"credentials": "Vector<VarInt,Byte>",
"serverId": "Short",
"autoconnect": "Boolean",
"useCertificate": "Boolean",
"useLoginToken": "Boolean",
"sessionOptionalSalt": "VarLong",
"failedAttempts": "Vector<Short,VarShort>"
}
},Metadata
Metadata
Assignees
Labels
No labels