C# 클래스 ARCed.Core.GameResource

Base class for resource classes
상속: IComparable
파일 보기 프로젝트 열기: borisblizzard/arcreator

공개 메소드들

메소드 설명
Compare ( object obj1, object obj2 ) : int

Compares two objects for equality.

CompareTo ( object other ) : int

Compares two GameResource objects. Local resources are listed first, names are sorted alphabetically within their location.

GameResource ( string filename, Location location, ResourceType type ) : System

Constructor with parameters

메소드 상세

Compare() 공개 정적인 메소드

Compares two objects for equality.
public static Compare ( object obj1, object obj2 ) : int
obj1 object First object to compare
obj2 object Second object to compare
리턴 int

CompareTo() 공개 메소드

Compares two GameResource objects. Local resources are listed first, names are sorted alphabetically within their location.
Thrown when object to compare is not a GameResource
public CompareTo ( object other ) : int
other object GameResource object to compare
리턴 int

GameResource() 공개 메소드

Constructor with parameters
public GameResource ( string filename, Location location, ResourceType type ) : System
filename string Filename of the resource
location Location Flag for resource location
type ResourceType Flag for resource type
리턴 System