Пример #1
0
    public PlayerRoleGroupTool(int funcID, int groupID) : base(FuncToolType.RoleGroup, funcID)
    {
        _config = RoleGroupConfig.get(groupID);

        evt        = new RoleGroupEvt();
        evt.funcID = funcID;
    }
Пример #2
0
 public void setGroupTool(PlayerRoleGroupTool tool)
 {
     _tool   = tool;
     _funcID = tool.getFuncID();
     _config = tool.getConfig();
     evt     = tool.evt;
     setPlayer(tool.me);
 }