EquipLogicServer.java 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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.equip;
  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.equip.action.EquipAction;
  26. import lombok.AccessLevel;
  27. import lombok.Getter;
  28. import lombok.Setter;
  29. import lombok.experimental.FieldDefaults;
  30. /**
  31. * @author 唐斌
  32. * @date 2023-07-31
  33. */
  34. @Getter
  35. @Setter
  36. @FieldDefaults(level = AccessLevel.PRIVATE)
  37. public class EquipLogicServer extends AbstractBrokerClientStartup {
  38. @Override
  39. public BarSkeleton createBarSkeleton() {
  40. // 业务框架构建器
  41. BarSkeletonBuilder builder = LogicServerKit
  42. .createBuilder(EquipAction.class);
  43. extractedSendDco(builder);
  44. return builder.build();
  45. }
  46. @Override
  47. public BrokerClientBuilder createBrokerClientBuilder() {
  48. BrokerClientBuilder builder = LogicServerKit.newBrokerClientBuilder();
  49. builder.appName("装备逻辑服");
  50. return builder;
  51. }
  52. private static void extractedSendDco(BarSkeletonBuilder builder) {
  53. }
  54. }