Chunks
Moddable voxel sandbox for room-scale VR.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Chunks.Plugins.ResourceName Struct Reference

Represents the name of a resource. More...

Inheritance diagram for Chunks.Plugins.ResourceName:

Public Member Functions

override bool Equals (object obj)
 Tests for equality between a resource name and another object. More...
 
bool Equals (ResourceName other)
 Tests for equality between this resource name and another. More...
 
override int GetHashCode ()
 Returns the hash code for this instance. More...
 
override string ToString ()
 Returns the resource name as a string. More...
 

Static Public Member Functions

static implicit operator ResourceName (string name)
 Converts a string to a resource name. More...
 
static implicit operator string (ResourceName name)
 Converts a resource name to a string. More...
 

Public Attributes

readonly string Name
 Resource name. More...
 

Detailed Description

Represents the name of a resource.

Member Function Documentation

override bool Chunks.Plugins.ResourceName.Equals ( object  obj)

Tests for equality between a resource name and another object.

Parameters
objObject to test for equality with.
bool Chunks.Plugins.ResourceName.Equals ( ResourceName  other)

Tests for equality between this resource name and another.

Parameters
otherResource name to test for equality with.
override int Chunks.Plugins.ResourceName.GetHashCode ( )

Returns the hash code for this instance.

Returns
A 32-bit signed integer that is the hash code for this instance.

<filterpriority>2</filterpriority>

static implicit Chunks.Plugins.ResourceName.operator ResourceName ( string  name)
static

Converts a string to a resource name.

Parameters
nameString to convert.
static implicit Chunks.Plugins.ResourceName.operator string ( ResourceName  name)
static

Converts a resource name to a string.

Parameters
nameString to convert.
override string Chunks.Plugins.ResourceName.ToString ( )

Returns the resource name as a string.

Member Data Documentation

readonly string Chunks.Plugins.ResourceName.Name

Resource name.


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