C# 클래스 TShockAPI.DB.WarpManager

파일 보기 프로젝트 열기: NyxStudios/TShock 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Warps List

공개 메소드들

메소드 설명
Add ( int x, int y, string name ) : bool

Adds a warp.

Find ( string warpName ) : Warp

Finds the warp with the given name.

Hide ( string warpName, bool state ) : bool

Sets the hidden state of a warp.

Position ( string warpName, int x, int y ) : bool

Sets the position of a warp.

ReloadWarps ( ) : void

Reloads all warps.

Remove ( string warpName ) : bool

Removes a warp.

비공개 메소드들

메소드 설명
FindWarp ( string warpName ) : Warp
WarpManager ( IDbConnection db ) : System

메소드 상세

Add() 공개 메소드

Adds a warp.
public Add ( int x, int y, string name ) : bool
x int The X position.
y int The Y position.
name string The name.
리턴 bool

Find() 공개 메소드

Finds the warp with the given name.
public Find ( string warpName ) : Warp
warpName string The name.
리턴 Warp

Hide() 공개 메소드

Sets the hidden state of a warp.
public Hide ( string warpName, bool state ) : bool
warpName string The warp name.
state bool The state.
리턴 bool

Position() 공개 메소드

Sets the position of a warp.
public Position ( string warpName, int x, int y ) : bool
warpName string The warp name.
x int The X position.
y int The Y position.
리턴 bool

ReloadWarps() 공개 메소드

Reloads all warps.
public ReloadWarps ( ) : void
리턴 void

Remove() 공개 메소드

Removes a warp.
public Remove ( string warpName ) : bool
warpName string The warp name.
리턴 bool

프로퍼티 상세

Warps 공개적으로 프로퍼티

The list of warps.
public List Warps
리턴 List