Added serverGame library

This commit is contained in:
Anonymous
2014-01-15 03:59:18 -07:00
parent 89291fb38c
commit 0196cf51d0
1032 changed files with 256379 additions and 0 deletions
@@ -0,0 +1,57 @@
// ======================================================================
//
// PatrolPathNodeProperty.h
// Copyright 2001 Sony Online Entertainment Inc.
// All Rights Reserved.
//
// ======================================================================
#ifndef INCLUDED_PatrolPathNodeProperty_H
#define INCLUDED_PatrolPathNodeProperty_H
// ======================================================================
#include "sharedObject/CachedNetworkId.h"
#include "sharedObject/Property.h"
// ======================================================================
class PatrolPathNodeProperty : public Property
{
public:
static PropertyId getClassPropertyId();
public:
PatrolPathNodeProperty(Object& thisObject);
~PatrolPathNodeProperty();
void addRoot(const ServerObject & root);
const stdset<CachedNetworkId>::fwd & getRoots() const;
bool hasRoot(const ServerObject & root) const;
private:
stdset<CachedNetworkId>::fwd * m_roots;
private:
PatrolPathNodeProperty();
PatrolPathNodeProperty(const PatrolPathNodeProperty&);
PatrolPathNodeProperty& operator= (const PatrolPathNodeProperty&);
};
// ======================================================================
inline const stdset<CachedNetworkId>::fwd & PatrolPathNodeProperty::getRoots() const
{
return *m_roots;
}
// ======================================================================
#endif