合集-Trinitycore学习

摘要:win 下 生成 compile_commands.json 在 visual studio 202X 的 【拓展-拓展管理器】下载 Clang Power Tools 2022 插件。 在项目右键,就会出现 Export Compilation Database 的选项。 选择后就会生成 comp 阅读全文
posted @ 2025-02-03 22:39 最美的期待 阅读(1138) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2025-02-03 23:01 最美的期待 阅读(65) 评论(0) 推荐(0)
摘要:代码地址:https://github.com/rushrushgogogo/test_cmake 注意: * 虽然生成的动态/静态库名字是 libxxxx.a 或者.so , 在CMakeLists.txt中,target_link_libraries链接别的库时,库名最好还是使用简短的名字xxx 阅读全文
posted @ 2025-01-24 18:17 最美的期待 阅读(67) 评论(0) 推荐(0)
摘要:整体安装流程见官方网站: https://trinitycore.info/ ,linux 下和 windows 安装步骤大致相同,略有区别。 零、git clone 提示端口 22 失效 这里是因为本地如果启动了 github 加速器 Watt ToolKit,会强制更改 host 文件,将 gi 阅读全文
posted @ 2025-02-01 18:24 最美的期待 阅读(472) 评论(0) 推荐(0)
摘要:常见特性: 智能指针 右值、移动语义、std::move() 万能引用T&& 完美转发std::forward<>() lambda表达式 可变参数模板,参数包,std::tuple<> + std::get<>() 模板类/成员函数,全局方法 显式实例化 模板非类型参数 placement new 阅读全文
posted @ 2025-02-06 19:41 最美的期待 阅读(89) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2025-02-08 19:33 最美的期待 阅读(36) 评论(0) 推荐(0)
摘要:整体类图 一、写数据 整体流程: 具体代码见下方《代码解析》 起服时通过全局静态对象 WorldSocketMgr,在成员方法 WorldSocketMgr::StartNetwork 内,根据配置创建多个(默认为2个)网络线程对象 NetWorkThread 。 同时创建 AsyncAccepto 阅读全文
posted @ 2025-02-25 16:54 最美的期待 阅读(253) 评论(0) 推荐(0)
摘要:阿斯顿撒旦 阅读全文
posted @ 2025-03-06 17:49 最美的期待 阅读(76) 评论(1) 推荐(0)

levels of contents