C# 클래스 Content.Shared.Doors.BeforeDoorClosedEvent

Raised when the door is determining whether it is able to close. If the event is canceled, the door will not close. Additionally this event also has a bool that determines whether or not the door should perform a safety/collision check before closing. This check has to be proactively disabled by things like hacked airlocks.
This event is raised both when the door is initially closed, and when it is just about to become "partially" closed (opaque & collidable). If canceled while partially closing, it will start opening again. Useful in case an entity entered the door just as it was about to become "solid".
상속: CancellableEntityEventArgs
파일 보기 프로젝트 열기: space-wizards/space-station-14

공개 프로퍼티들

프로퍼티 타입 설명
PerformCollisionCheck bool

공개 메소드들

메소드 설명
BeforeDoorClosedEvent ( bool performCollisionCheck ) : Content.Shared.Doors.Components

메소드 상세

BeforeDoorClosedEvent() 공개 메소드

public BeforeDoorClosedEvent ( bool performCollisionCheck ) : Content.Shared.Doors.Components
performCollisionCheck bool
리턴 Content.Shared.Doors.Components

프로퍼티 상세

PerformCollisionCheck 공개적으로 프로퍼티

public bool PerformCollisionCheck
리턴 bool