Chunks
Moddable voxel sandbox for room-scale VR.
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
Chunks.Geometry.WorldProperties Class Reference
Inheritance diagram for Chunks.Geometry.WorldProperties:

Public Member Functions

Graphics.Texture GetThumbnail ()
 
void SetThumbnail (Graphics.Texture texture)
 
void SetGameMode (PluginName plugin, GameModeInfo gameMode)
 
void AddPlugin (PluginName name)
 
void RemovePlugin (PluginName name)
 
override bool Equals (object obj)
 
bool Equals (WorldProperties other)
 
override int GetHashCode ()
 

Static Public Member Functions

static IEnumerable< WorldPropertiesGetAll ()
 
static WorldProperties Get (string worldName)
 

Public Attributes

bool HasThumbnail => ThumbnailPath != null && File.Exists(ThumbnailPath)
 
bool CanDelete => ParentId == 0 && !IsReadOnly
 
bool CanUpload => ParentId == 0 && !IsReadOnly
 
IEnumerable< PluginNamePluginNames => _pluginNames
 

Properties

string Name [get]
 
string SaveDirectory [get]
 
PluginName GameModePluginName [get]
 
string GameModeTypeName [get]
 
string GameModeTitle [get]
 
ulong WorkshopId [get, set]
 
ulong ParentId [get, set]
 
bool IsReadOnly [get]
 
int Seed [get, set]
 
DateTime DateCreated [get, set]
 
DateTime DateModified [get, set]
 

Member Function Documentation

void Chunks.Geometry.WorldProperties.AddPlugin ( PluginName  name)
override bool Chunks.Geometry.WorldProperties.Equals ( object  obj)
bool Chunks.Geometry.WorldProperties.Equals ( WorldProperties  other)
static WorldProperties Chunks.Geometry.WorldProperties.Get ( string  worldName)
static
static IEnumerable<WorldProperties> Chunks.Geometry.WorldProperties.GetAll ( )
static
override int Chunks.Geometry.WorldProperties.GetHashCode ( )
Graphics.Texture Chunks.Geometry.WorldProperties.GetThumbnail ( )
void Chunks.Geometry.WorldProperties.RemovePlugin ( PluginName  name)
void Chunks.Geometry.WorldProperties.SetGameMode ( PluginName  plugin,
GameModeInfo  gameMode 
)
void Chunks.Geometry.WorldProperties.SetThumbnail ( Graphics.Texture  texture)

Member Data Documentation

bool Chunks.Geometry.WorldProperties.CanDelete => ParentId == 0 && !IsReadOnly
bool Chunks.Geometry.WorldProperties.CanUpload => ParentId == 0 && !IsReadOnly
bool Chunks.Geometry.WorldProperties.HasThumbnail => ThumbnailPath != null && File.Exists(ThumbnailPath)
IEnumerable<PluginName> Chunks.Geometry.WorldProperties.PluginNames => _pluginNames

Property Documentation

DateTime Chunks.Geometry.WorldProperties.DateCreated
getset
DateTime Chunks.Geometry.WorldProperties.DateModified
getset
PluginName Chunks.Geometry.WorldProperties.GameModePluginName
get
string Chunks.Geometry.WorldProperties.GameModeTitle
get
string Chunks.Geometry.WorldProperties.GameModeTypeName
get
bool Chunks.Geometry.WorldProperties.IsReadOnly
get
string Chunks.Geometry.WorldProperties.Name
get
ulong Chunks.Geometry.WorldProperties.ParentId
getset
string Chunks.Geometry.WorldProperties.SaveDirectory
get
int Chunks.Geometry.WorldProperties.Seed
getset
ulong Chunks.Geometry.WorldProperties.WorkshopId
getset

The documentation for this class was generated from the following file: