Nebula
Loading...
Searching...
No Matches
gamecontentserverbase.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
14#include "core/refcounted.h"
15#include "core/singleton.h"
16
17//------------------------------------------------------------------------------
18namespace Base
19{
56
57//------------------------------------------------------------------------------
60inline bool
62{
63 return this->isValid;
64}
65
66//------------------------------------------------------------------------------
69inline void
71{
72 this->title = t;
73}
74
75//------------------------------------------------------------------------------
78inline const Util::String&
80{
81 return this->title;
82}
83
84//------------------------------------------------------------------------------
87inline void
89{
90 this->titleId = tid;
91}
92
93//------------------------------------------------------------------------------
96inline const Util::String&
98{
99 return this->titleId;
100}
101
102//------------------------------------------------------------------------------
105inline void
107{
108 this->version = v;
109}
110
111//------------------------------------------------------------------------------
114inline const Util::String&
116{
117 return this->version;
118}
119
120} // namespace Base
121//------------------------------------------------------------------------------
122
The game content server initializes access to game content on console platforms.
Definition gamecontentserverbase.h:21
void SetTitle(const Util::String &title)
set human readable game title
Definition gamecontentserverbase.h:70
Util::String version
Definition gamecontentserverbase.h:53
__DeclareInterfaceSingleton(GameContentServerBase)
Util::String titleId
Definition gamecontentserverbase.h:52
void SetVersion(const Util::String &version)
set title version
Definition gamecontentserverbase.h:106
const Util::String & GetTitle() const
get human readable game title
Definition gamecontentserverbase.h:79
GameContentServerBase()
constructor
Definition gamecontentserverbase.cc:17
bool isValid
Definition gamecontentserverbase.h:54
__DeclareClass(GameContentServerBase)
void SetTitleId(const Util::String &titleId)
set title id
Definition gamecontentserverbase.h:88
bool IsValid() const
return true if object has been setup
Definition gamecontentserverbase.h:61
const Util::String & GetVersion() const
get title version
Definition gamecontentserverbase.h:115
void Discard()
discard the object
Definition gamecontentserverbase.cc:49
const Util::String & GetTitleId() const
get title id
Definition gamecontentserverbase.h:97
virtual ~GameContentServerBase()
destructor
Definition gamecontentserverbase.cc:26
Util::String title
Definition gamecontentserverbase.h:51
void Setup()
setup the object
Definition gamecontentserverbase.cc:36
The common base class of Nebula.
Definition refcounted.h:38
Definition gamecontentserverbase.cc:10
Nebula's universal string class.
Definition string.h:50