C# 클래스 House.House

상속: BasePlugin
파일 보기 프로젝트 열기: amarriner/House 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CHECK_ALLOWED int
CHECK_CHEST_LOCK int
CHECK_DOOR_LOCK int
CHECK_SIGN_LOCK int
chatColor Terraria_Server.Misc.Color
houseXML System.Xml.XmlDocument
lastTime double
maxArea int
maxHeight int
maxHouses int
minHeight int
playerHouses List
playersCanMakeHouses bool
playersCanTeleport bool
plugin House
pluginFolder string
properties Properties
tempHouses System.Collections.Hashtable
xmlFilename String
xmlNamespace String

공개 메소드들

메소드 설명
CreatePlayerHouse ( string PlayerName, int houseIndex ) : bool
Disable ( ) : void
Enable ( ) : void
GetHouseCoordsIndexByName ( string PlayerName, string HouseName ) : int
GetHouseNameImInside ( Terraria_Server.Player player ) : string
GetMyHouseNameImInside ( string PlayerName ) : string
GetMyHouseNamePositionInside ( string PlayerName, int x, int y ) : string
GetPlayerHouseIndex ( string PlayerName ) : int
GetTotalPlayerHouses ( string PlayerName ) : int
IsInsideAnotherHouse ( string PlayerName, int x, int y, int check ) : bool
Load ( ) : void
SaveHouseData ( ) : void
UpdateCoordsForPlayer ( string PlayerName, int x, int y, int houseIndex ) : void
onDoorStateChange ( DoorStateChangeEvent Event ) : void
onPlayerEditSign ( PlayerEditSignEvent Event ) : void
onPlayerFlowLiquid ( PlayerFlowLiquidEvent Event ) : void
onPlayerOpenChest ( PlayerChestOpenEvent Event ) : void
onPlayerTileChange ( PlayerTileChangeEvent Event ) : void
onTimeChange ( TimeChangedEvent Event ) : void
validateHouse ( string PlayerName, int houseIndex ) : void

비공개 메소드들

메소드 설명
CreateDirectory ( string dirPath ) : void
LoadHouseData ( ) : void

메소드 상세

CreatePlayerHouse() 공개 메소드

public CreatePlayerHouse ( string PlayerName, int houseIndex ) : bool
PlayerName string
houseIndex int
리턴 bool

Disable() 공개 메소드

public Disable ( ) : void
리턴 void

Enable() 공개 메소드

public Enable ( ) : void
리턴 void

GetHouseCoordsIndexByName() 공개 메소드

public GetHouseCoordsIndexByName ( string PlayerName, string HouseName ) : int
PlayerName string
HouseName string
리턴 int

GetHouseNameImInside() 공개 메소드

public GetHouseNameImInside ( Terraria_Server.Player player ) : string
player Terraria_Server.Player
리턴 string

GetMyHouseNameImInside() 공개 메소드

public GetMyHouseNameImInside ( string PlayerName ) : string
PlayerName string
리턴 string

GetMyHouseNamePositionInside() 공개 메소드

public GetMyHouseNamePositionInside ( string PlayerName, int x, int y ) : string
PlayerName string
x int
y int
리턴 string

GetPlayerHouseIndex() 공개 메소드

public GetPlayerHouseIndex ( string PlayerName ) : int
PlayerName string
리턴 int

GetTotalPlayerHouses() 공개 메소드

public GetTotalPlayerHouses ( string PlayerName ) : int
PlayerName string
리턴 int

IsInsideAnotherHouse() 공개 메소드

public IsInsideAnotherHouse ( string PlayerName, int x, int y, int check ) : bool
PlayerName string
x int
y int
check int
리턴 bool

Load() 공개 메소드

public Load ( ) : void
리턴 void

SaveHouseData() 공개 메소드

public SaveHouseData ( ) : void
리턴 void

UpdateCoordsForPlayer() 공개 메소드

public UpdateCoordsForPlayer ( string PlayerName, int x, int y, int houseIndex ) : void
PlayerName string
x int
y int
houseIndex int
리턴 void

onDoorStateChange() 공개 메소드

public onDoorStateChange ( DoorStateChangeEvent Event ) : void
Event DoorStateChangeEvent
리턴 void

onPlayerEditSign() 공개 메소드

public onPlayerEditSign ( PlayerEditSignEvent Event ) : void
Event PlayerEditSignEvent
리턴 void

onPlayerFlowLiquid() 공개 메소드

public onPlayerFlowLiquid ( PlayerFlowLiquidEvent Event ) : void
Event PlayerFlowLiquidEvent
리턴 void

onPlayerOpenChest() 공개 메소드

public onPlayerOpenChest ( PlayerChestOpenEvent Event ) : void
Event PlayerChestOpenEvent
리턴 void

onPlayerTileChange() 공개 메소드

public onPlayerTileChange ( PlayerTileChangeEvent Event ) : void
Event PlayerTileChangeEvent
리턴 void

onTimeChange() 공개 메소드

public onTimeChange ( TimeChangedEvent Event ) : void
Event TimeChangedEvent
리턴 void

validateHouse() 공개 메소드

public validateHouse ( string PlayerName, int houseIndex ) : void
PlayerName string
houseIndex int
리턴 void

프로퍼티 상세

CHECK_ALLOWED 공개적으로 정적으로 프로퍼티

public static int CHECK_ALLOWED
리턴 int

CHECK_CHEST_LOCK 공개적으로 정적으로 프로퍼티

public static int CHECK_CHEST_LOCK
리턴 int

CHECK_DOOR_LOCK 공개적으로 정적으로 프로퍼티

public static int CHECK_DOOR_LOCK
리턴 int

CHECK_SIGN_LOCK 공개적으로 정적으로 프로퍼티

public static int CHECK_SIGN_LOCK
리턴 int

chatColor 공개적으로 프로퍼티

public Terraria_Server.Misc.Color chatColor
리턴 Terraria_Server.Misc.Color

houseXML 공개적으로 프로퍼티

public XmlDocument,System.Xml houseXML
리턴 System.Xml.XmlDocument

lastTime 공개적으로 프로퍼티

public double lastTime
리턴 double

maxArea 공개적으로 프로퍼티

public int maxArea
리턴 int

maxHeight 공개적으로 프로퍼티

public int maxHeight
리턴 int

maxHouses 공개적으로 프로퍼티

public int maxHouses
리턴 int

minHeight 공개적으로 프로퍼티

public int minHeight
리턴 int

playerHouses 공개적으로 프로퍼티

public List playerHouses
리턴 List

playersCanMakeHouses 공개적으로 프로퍼티

public bool playersCanMakeHouses
리턴 bool

playersCanTeleport 공개적으로 프로퍼티

public bool playersCanTeleport
리턴 bool

plugin 공개적으로 정적으로 프로퍼티

public static House,House plugin
리턴 House

pluginFolder 공개적으로 프로퍼티

public string pluginFolder
리턴 string

properties 공개적으로 프로퍼티

public Properties properties
리턴 Properties

tempHouses 공개적으로 프로퍼티

public Hashtable,System.Collections tempHouses
리턴 System.Collections.Hashtable

xmlFilename 공개적으로 프로퍼티

public String xmlFilename
리턴 String

xmlNamespace 공개적으로 프로퍼티

public String xmlNamespace
리턴 String