Esempio n. 1
0
 public void setGroupTool(PlayerRoleGroupTool tool)
 {
     _tool   = tool;
     _funcID = tool.getFuncID();
     _config = tool.getConfig();
     evt     = tool.evt;
     setPlayer(tool.me);
 }
Esempio n. 2
0
    public override void onDaily()
    {
        IntObjectMap <FuncTool> dic = getFuncToolDic(FuncToolType.RoleGroup);

        dic.forEachValue(v =>
        {
            PlayerRoleGroupTool tool = (PlayerRoleGroupTool)v;

            tool.getRoleGroupDic().forEachValue(v2 =>
            {
                v2.onDaily();
            });
        });
    }