mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(net): set os id in GruntLogin::GetLogonMethod
This commit is contained in:
parent
b53f596b82
commit
18a4c5530d
1 changed files with 6 additions and 0 deletions
|
|
@ -49,6 +49,12 @@ void GruntLogin::GetLogonMethod() {
|
||||||
logon.version[2] = 5;
|
logon.version[2] = 5;
|
||||||
logon.build = 12340;
|
logon.build = 12340;
|
||||||
|
|
||||||
|
#if defined(WHOA_SYSTEM_WIN)
|
||||||
|
logon.osID = '\0Win';
|
||||||
|
#elif defined(WHOA_SYSTEM_MAC)
|
||||||
|
logon.osID = '\0OSX';
|
||||||
|
#endif
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
if (this->IsReconnect()) {
|
if (this->IsReconnect()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue