Photon Server API
Public Member Functions | Static Public Attributes | List of all members
Photon.MmoDemo.Server.WorldCache Class Reference

This is a cache for Worlds that have a unique name. More...

Inheritance diagram for Photon.MmoDemo.Server.WorldCache:

Public Member Functions

void Clear ()
 
bool TryCreate (string name, BoundingBox boundingBox, Vector tileDimensions, out World world)
 
bool TryGet (string name, out World world)
 
void Dispose ()
 

Static Public Attributes

static readonly WorldCache Instance = new WorldCache()
 

Detailed Description

This is a cache for Worlds that have a unique name.

Member Function Documentation

void Photon.MmoDemo.Server.WorldCache.Clear ( )
inline
void Photon.MmoDemo.Server.WorldCache.Dispose ( )
inline
bool Photon.MmoDemo.Server.WorldCache.TryCreate ( string  name,
BoundingBox  boundingBox,
Vector  tileDimensions,
out World  world 
)
inline
bool Photon.MmoDemo.Server.WorldCache.TryGet ( string  name,
out World  world 
)
inline

Member Data Documentation

readonly WorldCache Photon.MmoDemo.Server.WorldCache.Instance = new WorldCache()
static