public Dictionary<byte, uint> GetMenuLink()
{
return mMenuLink;
}
//执行对应的选项脚本 //index npc对话框点击选项的索引 //play 玩家对象 //szStr 客户端上传的字符串内容 public void ExecuteOptionId(byte index, PlayerObject play, String szStr = "") { mszStr = szStr; if (play.GetMenuLink().ContainsKey(index)) { ExecuteAction(play.GetMenuLink()[index], play); } }