LevelLogicServer.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * ioGame
  3. * Copyright (C) 2021 - 2023 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
  4. * # iohao.com . 渔民小镇
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU Affero General Public License as
  8. * published by the Free Software Foundation, either version 3 of the
  9. * License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU Affero General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Affero General Public License
  17. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  18. */
  19. package com.iohao.mmo.level;
  20. import com.iohao.game.action.skeleton.core.BarSkeleton;
  21. import com.iohao.game.action.skeleton.core.BarSkeletonBuilder;
  22. import com.iohao.game.bolt.broker.client.AbstractBrokerClientStartup;
  23. import com.iohao.game.bolt.broker.core.client.BrokerClientBuilder;
  24. import com.iohao.mmo.common.logic.server.LogicServerKit;
  25. import com.iohao.mmo.level.action.LevelAction;
  26. /**
  27. * @author 渔民小镇
  28. * @date 2023-07-30
  29. */
  30. public class LevelLogicServer extends AbstractBrokerClientStartup {
  31. @Override
  32. public BarSkeleton createBarSkeleton() {
  33. // 业务框架构建器
  34. BarSkeletonBuilder builder = LogicServerKit
  35. .createBuilder(LevelAction.class);
  36. extractedSendDco(builder);
  37. return builder.build();
  38. }
  39. @Override
  40. public BrokerClientBuilder createBrokerClientBuilder() {
  41. BrokerClientBuilder builder = LogicServerKit.newBrokerClientBuilder();
  42. builder.appName("等级逻辑服");
  43. return builder;
  44. }
  45. private static void extractedSendDco(BarSkeletonBuilder builder) {
  46. }
  47. }