C# 클래스 Aura.Channel.World.Location

Representation of a location in the world.
Used to save locations, ie a location to warp back to.
파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
RegionId int
X int

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int
Location ( int regionId, Position pos ) : Aura.Data

Creates new Location based on region id and position.

Location ( int regionId, int x, int y ) : Aura.Data

Creates new Location based on region id and coordinates.

Location ( long locationId ) : Aura.Data

New Location based on location id (i.e. 0x3000RRRRXXXXYYYY).

Location ( string location ) : Aura.Data

Creates new location based on "client path". E.g. "Ula_DgnHall_Runda_after/_Ula_DgnHall_Runda_after"

Officials use "paths" to describe locations in some cases, based on the world files. "MapName/Area/Event", etc. The coordinates are the center of the element for regions and areas and the actual coordinates of the event for events.

ToLocationId ( ) : long

Returns location id (i.e. 0x3000RRRRXXXXYYYY).

ToString ( ) : string

Returns a string representing this Location.

operator ( ) : bool

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Location() 공개 메소드

Creates new Location based on region id and position.
public Location ( int regionId, Position pos ) : Aura.Data
regionId int
pos Position
리턴 Aura.Data

Location() 공개 메소드

Creates new Location based on region id and coordinates.
public Location ( int regionId, int x, int y ) : Aura.Data
regionId int
x int
y int
리턴 Aura.Data

Location() 공개 메소드

New Location based on location id (i.e. 0x3000RRRRXXXXYYYY).
public Location ( long locationId ) : Aura.Data
locationId long
리턴 Aura.Data

Location() 공개 메소드

Creates new location based on "client path". E.g. "Ula_DgnHall_Runda_after/_Ula_DgnHall_Runda_after"
Officials use "paths" to describe locations in some cases, based on the world files. "MapName/Area/Event", etc. The coordinates are the center of the element for regions and areas and the actual coordinates of the event for events.
Invalid location. Region, area, or event not found.
public Location ( string location ) : Aura.Data
location string
리턴 Aura.Data

ToLocationId() 공개 메소드

Returns location id (i.e. 0x3000RRRRXXXXYYYY).
public ToLocationId ( ) : long
리턴 long

ToString() 공개 메소드

Returns a string representing this Location.
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

RegionId 공개적으로 프로퍼티

public int RegionId
리턴 int

X 공개적으로 프로퍼티

public int X
리턴 int