EventHelperCreateLifeSkillSelectRequestOfCharacter 方法 |
为指定事件创建一个选择技艺的需求
注意:这个接口只能在OnEventEnter调用,如果调用了此接口,请勿在当前事件的OnEventEnter调用ToEvent跳转到其他事件
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static void CreateLifeSkillSelectRequestOfCharacter(
TaiwuEventItem eventItem,
int optionIndex,
int charId,
string resultSaveKey,
List<short> lifeSKillIdList
)
参数
- eventItem TaiwuEventItem
- 点击弹出选择技艺的选项所属的事件的配置对象
- optionIndex Int32
- 点击弹出选择技艺的选项在本事件中的index,从0开始
- charId Int32
- 要选择的技艺所属的角色id
- resultSaveKey String
- 选择结果保存的key
- lifeSKillIdList ListInt16
- 所有可以选择的技艺id列表
参见