|
@@ -28,7 +28,7 @@ export class game_list extends Component {
|
|
@property(SpriteFrame) sf_btn_normal:SpriteFrame = null;
|
|
@property(SpriteFrame) sf_btn_normal:SpriteFrame = null;
|
|
@property(SpriteFrame) sf_btn_select:SpriteFrame = null;
|
|
@property(SpriteFrame) sf_btn_select:SpriteFrame = null;
|
|
@property(Node) long_story_list:Node = null;
|
|
@property(Node) long_story_list:Node = null;
|
|
- private m_select_level_type:number = config.LevelType.LEVEL
|
|
|
|
|
|
+ private m_select_level_type:number = config.LevelType.LONG_STORY
|
|
private m_back_call = null;
|
|
private m_back_call = null;
|
|
private m_loading_finish_call = null;
|
|
private m_loading_finish_call = null;
|
|
private m_data:LevelMessage = null;
|
|
private m_data:LevelMessage = null;
|
|
@@ -107,7 +107,8 @@ export class game_list extends Component {
|
|
ClientEvent.off(config.EventRun.WIN_LATER_AUTO_UNLOCK_NEXT_LEVEL,this.autoUnlockNextLevel.bind(this),this)
|
|
ClientEvent.off(config.EventRun.WIN_LATER_AUTO_UNLOCK_NEXT_LEVEL,this.autoUnlockNextLevel.bind(this),this)
|
|
ClientEvent.on(config.EventRun.WIN_LATER_AUTO_UNLOCK_NEXT_LEVEL,this.autoUnlockNextLevel.bind(this),this)
|
|
ClientEvent.on(config.EventRun.WIN_LATER_AUTO_UNLOCK_NEXT_LEVEL,this.autoUnlockNextLevel.bind(this),this)
|
|
this.initContentTouch()
|
|
this.initContentTouch()
|
|
- this.loadLevelView()
|
|
|
|
|
|
+ this.loadLevelView()
|
|
|
|
+ this.requestLongStoryData()
|
|
}
|
|
}
|
|
|
|
|
|
private requestLongStoryData() {
|
|
private requestLongStoryData() {
|