C# Class TShockAPI.DB.RememberedPosManager

显示文件 Open project: NyxStudios/TShock Class Usage Examples

Public Properties

Property Type Description
database IDbConnection

Public Methods

Method Description
CheckLeavePos ( string name ) : Vector2
GetLeavePos ( string name, string IP ) : Vector2
InsertLeavePos ( string name, string IP, int X, int Y ) : void
RememberedPosManager ( IDbConnection db ) : System

Method Details

CheckLeavePos() public method

public CheckLeavePos ( string name ) : Vector2
name string
return Vector2

GetLeavePos() public method

public GetLeavePos ( string name, string IP ) : Vector2
name string
IP string
return Vector2

InsertLeavePos() public method

public InsertLeavePos ( string name, string IP, int X, int Y ) : void
name string
IP string
X int
Y int
return void

RememberedPosManager() public method

public RememberedPosManager ( IDbConnection db ) : System
db IDbConnection
return System

Property Details

database public_oe property

public IDbConnection database
return IDbConnection