C# Класс Aura.Channel.World.Dungeons.Props.Door

A door, as found in dungeons.
Наследование: Aura.Channel.World.Entities.Prop
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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