「骑马与砍杀2:霸主 MOD API」修訂間的差異
(→Gauntlet) |
小 (→骑马与砍杀2:霸主 MOD API) |
||
(未顯示同一使用者於中間所作的 19 次修訂) | |||
行 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> | ||
行 59: | 行 66: | ||
* [https://docs.bannerlordmodding.com/_gauntlet/gauntletmovie.html <big>GauntletMovie</big>] | * [https://docs.bannerlordmodding.com/_gauntlet/gauntletmovie.html <big>GauntletMovie</big>] | ||
* [https://docs.bannerlordmodding.com/_gauntlet/gauntletview.html <big>GauntletView</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>] | * [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>] | ||
− | * [ | + | * [[Widget|<big>Widget</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 文檔