OneClient2.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.client;
  20. import com.iohao.game.external.client.kit.ClientUserConfigs;
  21. import lombok.extern.slf4j.Slf4j;
  22. /**
  23. * 模拟客户端启动类
  24. *
  25. * @author 渔民小镇
  26. * @date 2023-07-29
  27. */
  28. @Slf4j
  29. public class OneClient2 {
  30. public static void main(String[] args) {
  31. // 关闭模拟请求相关日志 - 如果想看模拟请求更多的日志,请删除下面这行代码。
  32. ClientUserConfigs.closeLog();
  33. // 模拟玩家 2
  34. long userId = 2;
  35. CommonClient.start(userId);
  36. }
  37. }