![]() |
VOOZH | about |
dotnet add package War3Net.Build --version 6.0.2
NuGet\Install-Package War3Net.Build -Version 6.0.2
<PackageReference Include="War3Net.Build" Version="6.0.2" />
<PackageVersion Include="War3Net.Build" Version="6.0.2" />Directory.Packages.props
<PackageReference Include="War3Net.Build" />Project file
paket add War3Net.Build --version 6.0.2
#r "nuget: War3Net.Build, 6.0.2"
#:package War3Net.Build@6.0.2
#addin nuget:?package=War3Net.Build&version=6.0.2Install as a Cake Addin
#tool nuget:?package=War3Net.Build&version=6.0.2Install as a Cake Tool
War3Net.Build is a library for generating complete Warcraft III map scripts (JASS) from map data and compiling C# source code to Lua for use in Warcraft III maps. It is part of the War3Net modding library.
Map objectsusing War3Net.Build;
// Load or create your map
var map = Map.Open("path/to/map.w3x");
// Create the script builder and configure it
var scriptBuilder = new MapScriptBuilder();
scriptBuilder.SetDefaultOptionsForMap(map);
// Generate the JASS script
string jassScript = scriptBuilder.Build(map);
using War3Net.Build;
var map = Map.Open("path/to/map.w3x");
var scriptBuilder = new MapScriptBuilder();
scriptBuilder.SetDefaultOptionsForCSharpLua(lobbyMusic: "Sound\\Music\\mp3Music\\War3IntroX.mp3");
string jassScript = scriptBuilder.Build(map);
using System.IO;
using War3Net.Build;
using War3Net.Build.Script;
using War3Net.CodeAnalysis;
var writer = new IndentedTextWriter(new StringWriter());
var triggerData = TriggerData.Default;
var variables = map.Triggers.Variables;
var renderer = new TriggerRenderer(writer, triggerData, variables);
renderer.RenderTrigger(triggerDefinition);
The main types provided by this library are:
War3Net.Build.MapScriptBuilder - Generates complete JASS map scripts from Map objects with customizable outputWar3Net.Build.TriggerRenderer - Renders individual trigger definitions into JASS codeWar3Net.Build.TriggerRendererContext - Context for trigger rendering operationsWar3Net.Build.TrigFunctionIdentifierBuilder - Helper for building unique trigger function identifiersWar3Net.Build.BuildResult - Result of a build operation with success status and diagnosticsWar3Net.Build.CompileResult - Result of a compilation operationWar3Net.Build is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
This README was generated with the assistance of AI and may contain inaccuracies. Please verify the information and consult the source code for authoritative details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.2 | 219 | 3/1/2026 |
| 6.0.1 | 266 | 2/1/2026 |
| 6.0.0 | 194 | 1/25/2026 |
| 5.8.2 | 1,914 | 9/27/2025 |
| 5.8.1 | 207 | 9/12/2025 |
| 5.8.0 | 213 | 9/6/2025 |
| 5.7.1 | 6,348 | 1/19/2023 |
| 5.7.0 | 535 | 1/8/2023 |
| 5.6.1 | 543 | 1/7/2023 |
| 5.6.0.1 | 547 | 12/28/2022 |
| 5.6.0 | 532 | 12/20/2022 |
| 5.5.7 | 1,782 | 12/14/2022 |
| 5.5.6 | 695 | 11/30/2022 |
| 5.5.5 | 531 | 11/13/2022 |
| 5.5.3 | 604 | 10/29/2022 |
| 5.5.2 | 584 | 10/25/2022 |
| 5.5.0 | 1,397 | 8/20/2022 |
| 5.4.5 | 905 | 5/27/2022 |
| 5.4.2 | 1,636 | 4/24/2022 |
| 5.4.1 | 909 | 2/13/2022 |