C# 클래스 Aura.Channel.World.Dungeons.Props.Door

A door, as found in dungeons.
상속: Aura.Channel.World.Entities.Prop
파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 메소드들

메소드 설명
AddConfirmation ( ) : void

Adds confirmation to get into the room.

Close ( int x, int y ) : void

Closes door.

Door ( int propId, int regionId, int x, int y, int direction, DungeonBlockType doorType, string name, string state = "open" ) : Aura.Channel.Network.Sending

Creates new door prop.

Lock ( bool isSwitchDoor = false ) : void

Locks the door.

Open ( ) : void

Opens door.

비공개 메소드들

메소드 설명
DefaultBehavior ( Creature creature, Prop prop ) : void

Door's behavior.

RemoveKey ( Creature character ) : bool

Returns true if character has the key to unlock this door, and removes it from his inventory.

WarpInside ( Creature creature, Prop prop ) : void

Door's behavior when it's not locked.

메소드 상세

AddConfirmation() 공개 메소드

Adds confirmation to get into the room.
public AddConfirmation ( ) : void
리턴 void

Close() 공개 메소드

Closes door.
public Close ( int x, int y ) : void
x int
y int
리턴 void

Door() 공개 메소드

Creates new door prop.
public Door ( int propId, int regionId, int x, int y, int direction, DungeonBlockType doorType, string name, string state = "open" ) : Aura.Channel.Network.Sending
propId int
regionId int
x int
y int
direction int Direction the door faces in, in degree.
doorType DungeonBlockType
name string
state string
리턴 Aura.Channel.Network.Sending

Lock() 공개 메소드

Locks the door.
public Lock ( bool isSwitchDoor = false ) : void
isSwitchDoor bool
리턴 void

Open() 공개 메소드

Opens door.
public Open ( ) : void
리턴 void