This commit is contained in:
2025-07-02 00:00:38 +08:00
commit 6751b3dd8c
264 changed files with 140627 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
//========= Copyright © 1996-2009, Valve LLC, All rights reserved. ============
//
// Purpose: Class for joining and showing clan chat rooms
//
//=============================================================================
#ifndef CLANCHATROOM_H
#define CLANCHATROOM_H
#include "SpaceWar.h"
#include "GameEngine.h"
#include "StatsAndAchievements.h"
#include "SpaceWarClient.h"
class ISteamUser;
class CClanChatRoom
{
public:
// Constructor
CClanChatRoom( IGameEngine *pGameEngine );
// Run a frame
void RunFrame();
// shows / refreshes chat
void Show();
private:
// Engine
IGameEngine *m_pGameEngine;
// Called when SteamFriends()->JoinClanChatRoom() returns asynchronously
void OnJoinChatRoom( JoinClanChatRoomCompletionResult_t *pResult, bool bIOFailure );
CCallResult<CClanChatRoom, JoinClanChatRoomCompletionResult_t> m_SteamCallResultJoinChatRoom;
CSteamID m_steamIDChat;
};
#endif // CLANCHATROOM_H