Skip to content
LeaderboardModuleBaseC<T>

UI / LeaderboardModuleBaseC

LeaderboardModuleBaseC<T> Class ​

Ranking module - Client

Type parameters ​

Textends LeaderboardModuleTypeS

Hierarchy ​

  • ModuleC<T, any>

    ↳ LeaderboardModuleBaseC

Table of contents ​

Accessors ​

panel(): LeaderboardMainPanelBase<any> other
UI panel of Leaderboard
click

Accessors ​

data(): S
Module data of local Player
localPlayer(): Player other
Get the current Player
localPlayerId(): number other
Get the current player ID
server(): T other
The server module bound with itself can directly call the server method starting with net_ through this object

Methods ​

creatPanel(): LeaderboardMainPanelBase<any> other
Create Leaderboard UI panel
hidePanel(): void other
Hide UI panel
showPanel(): void other
Show UI panel
click

Methods ​

onAwake(): void other
Life cycle method - call when create module
onDestroy(): void other
Life cycle method - Destroy Module call
onEnterScene(sceneType: number): void other
Life cycle method - enter the scene call
onExecute(type: number, ...params: any[]): void other
External call an operation of this module
onStart(): void other
Life cycle method - call when starting the module
onUpdate(dt: number): void other
Life cycle method - Refresh Module call

Accessors ​


panel ​

• Protected get panel(): LeaderboardMainPanelBase<any> other

UI panel of Leaderboard

Returns ​

LeaderboardMainPanelBase<any>An item sub UI for ranking information

Methods ​

creatPanel ​

• Protected Abstract creatPanel(): LeaderboardMainPanelBase<any> other

Create Leaderboard UI panel

Returns ​

LeaderboardMainPanelBase<any>Leaderboard UI panel

hidePanel ​

• Protected hidePanel(): void other

Hide UI panel


showPanel ​

• showPanel(): void other

Show UI panel