「骑马与砍杀2:霸主 MOD API」修訂間的差異
小 (→教程) |
小 (→骑马与砍杀2:霸主 MOD API) |
||
(未顯示同一使用者於中間所作的 32 次修訂) | |||
行 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> | ||
* [[Modding Gauntlet UIs Without C|<big>不使用 C# 的 Gauntlet UI 模组</big>]]<big>(简单)</big> | * [[Modding Gauntlet UIs Without C|<big>不使用 C# 的 Gauntlet UI 模组</big>]]<big>(简单)</big> | ||
* [[Packing your mods for Vortex|<big>使用 Vortex 打包你的模组</big>]]<big>(简单)</big> | * [[Packing your mods for Vortex|<big>使用 Vortex 打包你的模组</big>]]<big>(简单)</big> | ||
+ | * [[How settlements work|<big>编辑/添加定居点</big>]]<big>(简单)</big> | ||
<br> | <br> | ||
=== <big>C# API 文档</big> === | === <big>C# API 文档</big> === | ||
* <big>CampaignSystem</big> | * <big>CampaignSystem</big> | ||
− | ** <big>GameMenu</big> | + | ** <big>[[ChangeOwnerOfSettlementAction]]</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>] | ||
+ | ** [[GameMenu|<big>GameMenu</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>] | ||
* <big>Core</big> | * <big>Core</big> | ||
− | ** <big>BasicCharacterObject</big> | + | ** [[BasicCharacterObject|<big>BasicCharacterObject</big>]] |
− | ** <big>InformationManager</big> | + | ** [https://docs.bannerlordmodding.com/_csharp-api/core/game.html <big>Game</big>] |
− | ** <big>ItemObject</big> | + | ** [https://docs.bannerlordmodding.com/_csharp-api/core/gamemodel.html <big>GameModel</big>] |
− | ** <big>MBObjectManager</big> | + | ** [[InformationManager|<big>InformationManager</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>] | ||
+ | ** [[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>] | ||
* <big>Network</big> | * <big>Network</big> | ||
* <big>PlatformService</big> | * <big>PlatformService</big> | ||
行 34: | 行 62: | ||
=== <big>Gauntlet</big> === | === <big>Gauntlet</big> === | ||
+ | * [https://docs.bannerlordmodding.com/_gauntlet/brush.html <big>Brush</big>] | ||
+ | * [https://docs.bannerlordmodding.com/_gauntlet/gauntletlayer.html <big>GauntletLayer</big>] | ||
+ | * [https://docs.bannerlordmodding.com/_gauntlet/gauntletmovie.html <big>GauntletMovie</big>] | ||
+ | * [https://docs.bannerlordmodding.com/_gauntlet/gauntletview.html <big>GauntletView</big>] | ||
+ | * [[Movie|<big>Movie (XML)</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/viewmodel.html <big>ViewModel</big>] | ||
+ | * [[Widget|<big>Widget</big>]] | ||
<br> | <br> | ||
=== <big>XML 文档</big> === | === <big>XML 文档</big> === | ||
− | * [ | + | * [[Atmosphere|<big>Atmosphere (XML)</big>]] |
− | * [https://docs.bannerlordmodding.com/_xmldocs/cultures <big> | + | * [https://docs.bannerlordmodding.com/_xmldocs/cultures.html <big>SPCultures (XML)</big>] |
* [https://docs.bannerlordmodding.com/_xmldocs/items <big>Items (XML)</big>] | * [https://docs.bannerlordmodding.com/_xmldocs/items <big>Items (XML)</big>] | ||
* [https://docs.bannerlordmodding.com/_xmldocs/npccharacters <big>NPCCharacters (XML)</big>] | * [https://docs.bannerlordmodding.com/_xmldocs/npccharacters <big>NPCCharacters (XML)</big>] | ||
− | * [https://docs.bannerlordmodding.com/_xmldocs/scene <big>Scene ( | + | * [https://docs.bannerlordmodding.com/_xmldocs/scene <big>Scene (XML)</big>] |
* [[SubModule|<big>SubModule (XML)</big>]] | * [[SubModule|<big>SubModule (XML)</big>]] | ||
<br> | <br> |
於 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 文檔