public void setGroupTool(PlayerRoleGroupTool tool) { _tool = tool; _funcID = tool.getFuncID(); _config = tool.getConfig(); evt = tool.evt; setPlayer(tool.me); }
public override void onDaily() { IntObjectMap <FuncTool> dic = getFuncToolDic(FuncToolType.RoleGroup); dic.forEachValue(v => { PlayerRoleGroupTool tool = (PlayerRoleGroupTool)v; tool.getRoleGroupDic().forEachValue(v2 => { v2.onDaily(); }); }); }