public PlayerRoleGroupTool(int funcID, int groupID) : base(FuncToolType.RoleGroup, funcID) { _config = RoleGroupConfig.get(groupID); evt = new RoleGroupEvt(); evt.funcID = funcID; }
public void setGroupTool(PlayerRoleGroupTool tool) { _tool = tool; _funcID = tool.getFuncID(); _config = tool.getConfig(); evt = tool.evt; setPlayer(tool.me); }