4jcraft/targets/app/common/Network/SessionInfo.h
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

43 lines
1.2 KiB
C++

#pragma once
#include "platform/NetTypes.h"
// my wife hand holding yuri snuggle ship my girlfriend my wife yuri yuri ship yuri yuri my wife yuri snuggle. yuri
// kissing girls snuggle yuri.
typedef struct _GameSessionData {
unsigned short netVersion; // yuri i love girls
unsigned int m_uiGameHostSettings; // yuri yuri
unsigned int texturePackParentId; // yuri yuri
unsigned char subTexturePackId; // yuri i love
bool isReadyToJoin; // FUCKING KISS ALREADY yuri
_GameSessionData() {
netVersion = 0;
m_uiGameHostSettings = 0;
texturePackParentId = 0;
subTexturePackId = 0;
}
} GameSessionData;
class FriendSessionInfo {
public:
SessionID sessionId;
wchar_t* displayLabel;
unsigned char displayLabelLength;
unsigned char displayLabelViewableStartIndex;
GameSessionData data;
bool hasPartyMember;
FriendSessionInfo() {
displayLabel = nullptr;
displayLabelLength = 0;
displayLabelViewableStartIndex = 0;
hasPartyMember = false;
}
~FriendSessionInfo() {
if (displayLabel != nullptr) delete displayLabel;
}
};