networking
This commit is contained in:
40
external/steamworks/steamworksexample/Friends.h
vendored
Normal file
40
external/steamworks/steamworksexample/Friends.h
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
//========= Copyright © 1996-2009, Valve LLC, All rights reserved. ============
|
||||
//
|
||||
// Purpose: Class for tracking friends list
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
#ifndef FRIENDS_H
|
||||
#define FRIENDS_H
|
||||
|
||||
#include "SpaceWar.h"
|
||||
#include "GameEngine.h"
|
||||
#include "SpaceWarClient.h"
|
||||
|
||||
|
||||
class CSpaceWarClient;
|
||||
class CFriendsListMenu;
|
||||
|
||||
class CFriendsList
|
||||
{
|
||||
public:
|
||||
// Constructor
|
||||
CFriendsList( IGameEngine *pGameEngine );
|
||||
|
||||
// Run a frame
|
||||
void RunFrame();
|
||||
|
||||
// shows / refreshes friends list
|
||||
void Show();
|
||||
|
||||
// handles input from friends list menu
|
||||
void OnMenuSelection( FriendsListMenuItem_t selection );
|
||||
|
||||
private:
|
||||
// Engine
|
||||
IGameEngine *m_pGameEngine;
|
||||
|
||||
CFriendsListMenu *m_pFriendsListMenu;
|
||||
};
|
||||
|
||||
#endif // FRIENDS_H
|
||||
Reference in New Issue
Block a user