Class Page
레이아웃 페이지 컨트롤 입니다.
상속
object
Page
네임스페이스: Game.Scripts.UI
어셈블리: Assembly-CSharp.dll
Syntax
[MoonSharpUserData]
public class Page
생성자
Page(TGameLayoutPage, ScriptClient, bool, bool)
레이아웃 페이지 컨트롤 입니다.
선언
public Page(TGameLayoutPage page, ScriptClient client, bool autoRatation, bool load = true)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
TGameLayoutPage | page | |
ScriptClient | client | |
bool | autoRatation | |
bool | load |
프로퍼티
autoRun
페이지의 자동 로드 여부
선언
public bool autoRun { get; }
프로퍼티 값
타입 | 설명 |
---|---|
bool |
controls
페이지의 자식 컨트롤
선언
public List<Control> controls { get; }
프로퍼티 값
타입 | 설명 |
---|---|
System.Collections.Generic.List<T><Control> |
name
페이지의 이름
선언
public string name { get; }
프로퍼티 값
타입 | 설명 |
---|---|
string |
함수
Destroy()
페이지의 모든 자식 컨트롤 파괴
선언
public void Destroy()
GetControl(string)
페이지의 자식 컨트롤 검색(BFS)후 반환, 전체 로드되지 않은 페이지에선 최상단 컨트롤을 로드하여 반환
선언
public Control GetControl(string name)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
string | name |
반환
타입 | 설명 |
---|---|
Control |
GetControls(string)
로드된 페이지의 같은 이름의 컨트롤 검색(BFS)후 반환
선언
public List<Control> GetControls(string name)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
string | name |
반환
타입 | 설명 |
---|---|
System.Collections.Generic.List<T><Control> |