“骑马与砍杀2:霸主 MOD API”的版本间的差异
(→Gauntlet) |
小 (→骑马与砍杀2:霸主 MOD API) |
||
(未显示同一用户的18个中间版本) | |||
第1行: | 第1行: | ||
== <big>骑马与砍杀2:霸主 MOD API</big> == | == <big>骑马与砍杀2:霸主 MOD API</big> == | ||
<big>本文档搬运自非官方说明文档,供各MOD开发者使用,汉化由骑砍中文站汉化组完成,转载请注明出处。</big><br> | <big>本文档搬运自非官方说明文档,供各MOD开发者使用,汉化由骑砍中文站汉化组完成,转载请注明出处。</big><br> | ||
− | + | <big>文档 原文链接:<br></big> | |
+ | # <big>https://docs.bannerlordmodding.com/</big> (第三方 文档 ) | ||
+ | # <big>http://docs.modding.bannerlord.com/zh_cn/</big> (官方文档) | ||
+ | <br> | ||
+ | <big>其他个人或组织翻译及编写的优质文档:</big> | ||
+ | # <big>https://sparrownan.github.io/BannerlordDocument/#/</big> | ||
+ | # <big>https://yigu-studio.gitbook.io/bannerlord-modding-cn/</big>(衣谷三国 编) | ||
<br> | <br> | ||
=== <big>引入</big> === | === <big>引入</big> === | ||
− | * [[Getting Started|<big>准备 | + | * [[Getting Started|<big>准备 开始</big>]] |
* [[Folder Structure|<big>目录结构</big>]] | * [[Folder Structure|<big>目录结构</big>]] | ||
* [[Advanced|<big>进阶</big>]] | * [[Advanced|<big>进阶</big>]] | ||
<br> | <br> | ||
+ | |||
=== <big>教程</big> === | === <big>教程</big> === | ||
* [[Basic Csharp Mod|<big>基于 C# 的模组</big>]]<big>(要求有 C# 基础)</big> | * [[Basic Csharp Mod|<big>基于 C# 的模组</big>]]<big>(要求有 C# 基础)</big> | ||
第17行: | 第24行: | ||
=== <big>C# API 文档</big> === | === <big>C# API 文档</big> === | ||
* <big>CampaignSystem</big> | * <big>CampaignSystem</big> | ||
− | ** | + | ** <big>[[ChangeOwnerOfSettlementAction]]</big> |
** [https://docs.bannerlordmodding.com/_csharp-api/campaignsystem/campaignbehaviorbase.html <big>CampaignBehaviorBase</big>] | ** [https://docs.bannerlordmodding.com/_csharp-api/campaignsystem/campaignbehaviorbase.html <big>CampaignBehaviorBase</big>] | ||
** [https://docs.bannerlordmodding.com/_csharp-api/campaignsystem/campaigngamestarter.html <big>CampaignGameStarter</big>] | ** [https://docs.bannerlordmodding.com/_csharp-api/campaignsystem/campaigngamestarter.html <big>CampaignGameStarter</big>] | ||
− | ** [ | + | ** [[GameMenu|<big>GameMenu</big>]] |
** [https://docs.bannerlordmodding.com/_csharp-api/campaignsystem/hero.html <big>Hero</big>] | ** [https://docs.bannerlordmodding.com/_csharp-api/campaignsystem/hero.html <big>Hero</big>] | ||
** [https://docs.bannerlordmodding.com/_csharp-api/campaignsystem/settlement.html <big>Settlement</big>] | ** [https://docs.bannerlordmodding.com/_csharp-api/campaignsystem/settlement.html <big>Settlement</big>] | ||
* <big>Core</big> | * <big>Core</big> | ||
− | ** [ | + | ** [[BasicCharacterObject|<big>BasicCharacterObject</big>]] |
** [https://docs.bannerlordmodding.com/_csharp-api/core/game.html <big>Game</big>] | ** [https://docs.bannerlordmodding.com/_csharp-api/core/game.html <big>Game</big>] | ||
** [https://docs.bannerlordmodding.com/_csharp-api/core/gamemodel.html <big>GameModel</big>] | ** [https://docs.bannerlordmodding.com/_csharp-api/core/gamemodel.html <big>GameModel</big>] | ||
− | ** [ | + | ** [[InformationManager|<big>InformationManager</big>]] |
** [https://docs.bannerlordmodding.com/_csharp-api/core/itemobject <big>ItemObject</big>] | ** [https://docs.bannerlordmodding.com/_csharp-api/core/itemobject <big>ItemObject</big>] | ||
− | ** [ | + | ** [[MBObjectManager|<big>MBObjectManager</big>]] |
* <big>Engine</big> | * <big>Engine</big> | ||
− | ** [ | + | ** [[GameEntity|<big>GameEntity</big>]] |
** [https://docs.bannerlordmodding.com/_csharp-api/engine/globallayer.html <big>GlobalLayer</big>] | ** [https://docs.bannerlordmodding.com/_csharp-api/engine/globallayer.html <big>GlobalLayer</big>] | ||
− | ** [ | + | ** [[Scene|<big>Scene</big>]] |
− | ** [ | + | ** [[ScriptComponentBehaviour|<big>ScriptComponentBehaviour</big>]] |
* <big>InputSystem</big> | * <big>InputSystem</big> | ||
− | ** [ | + | ** [[Input|<big>Input</big>]] |
* <big>Library</big> | * <big>Library</big> | ||
− | ** [ | + | ** [[ModuleInfo|<big>ModuleInfo</big>]] |
* <big>Localization</big> | * <big>Localization</big> | ||
* <big>MountAndBlade</big> | * <big>MountAndBlade</big> | ||
− | ** [ | + | ** [[Agent|<big>Agent</big>]] |
− | ** [ | + | ** [[MBInitialScreenBase|<big>MBInitialScreenBase</big>]] |
− | ** [ | + | ** [[MBSubModuleBase|<big>MBSubModuleBase</big>]] |
− | ** [ | + | ** [[Mission|<big>Mission</big>]] |
− | ** [ | + | ** [[MissionLogic|<big>MissionLogic</big>]] |
− | ** [ | + | ** [[MissionView|<big>MissionView</big>]] |
** [https://docs.bannerlordmodding.com/_csharp-api/mountandblade/team.html <big>Team</big>] | ** [https://docs.bannerlordmodding.com/_csharp-api/mountandblade/team.html <big>Team</big>] | ||
* <big>Network</big> | * <big>Network</big> | ||
第61行: | 第68行: | ||
* [[Movie|<big>Movie (XML)</big>]] | * [[Movie|<big>Movie (XML)</big>]] | ||
* [https://docs.bannerlordmodding.com/_gauntlet/scenelayer.html <big>SceneLayer</big>] | * [https://docs.bannerlordmodding.com/_gauntlet/scenelayer.html <big>SceneLayer</big>] | ||
− | * [ | + | * [[ScreenBase|<big>ScreenBase</big>]] |
* [https://docs.bannerlordmodding.com/_gauntlet/screenmanager.html <big>ScreenManager</big>] | * [https://docs.bannerlordmodding.com/_gauntlet/screenmanager.html <big>ScreenManager</big>] | ||
* [https://docs.bannerlordmodding.com/_gauntlet/viewmodel.html <big>ViewModel</big>] | * [https://docs.bannerlordmodding.com/_gauntlet/viewmodel.html <big>ViewModel</big>] |
2020年10月14日 (三) 23:32的最新版本
骑马与砍杀2:霸主 MOD API
本文档搬运自非官方说明文档,供各MOD开发者使用,汉化由骑砍中文站汉化组完成,转载请注明出处。
文档原文链接:
其他个人或组织翻译及编写的优质文档:
- https://sparrownan.github.io/BannerlordDocument/#/
- https://yigu-studio.gitbook.io/bannerlord-modding-cn/(衣谷三国 编)
引入
教程
- 基于 C# 的模组(要求有 C# 基础)
- 不使用 C# 的 Gauntlet UI 模组(简单)
- 使用 Vortex 打包你的模组(简单)
- 编辑/添加定居点(简单)
C# API 文档
- CampaignSystem
- Core
- Engine
- InputSystem
- Library
- Localization
- MountAndBlade
- Network
- PlatformService
- SaveSystem
- TwoDimension
Gauntlet
- Brush
- GauntletLayer
- GauntletMovie
- GauntletView
- Movie (XML)
- SceneLayer
- ScreenBase
- ScreenManager
- ViewModel
- Widget
XML 文档