Update naming

This commit is contained in:
2024-09-27 21:15:33 +02:00
parent e5f13841fe
commit 54406c7c8a
5 changed files with 9 additions and 10 deletions

View File

@@ -1,6 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MelonTemplate", "MelonTemplate\MelonTemplate.csproj", "{DA9D274E-486F-4F82-84FF-CD9388CB0B09}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArmsTradeTycoonTanks", "ArmsTradeTycoonTanks\ArmsTradeTycoonTanks.csproj", "{DA9D274E-486F-4F82-84FF-CD9388CB0B09}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@@ -1,8 +1,8 @@
using System.Linq;
using MelonLoader;
namespace MelonTemplate {
public class MelonTemplateMod : MelonMod {
namespace ArmsTradeTycoonTanks {
public class ArmsTradeTycoonTanksMelonMod : MelonMod {
public override void OnInitializeMelon() {
LoggerInstance.Msg("Phat Melon mod loaded");
HarmonyLib.Harmony harmony = HarmonyInstance;

View File

@@ -3,7 +3,6 @@
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/>
<PropertyGroup>
<GAME_DIR>C:/Games/Arms Trade Tycoon Tanks</GAME_DIR>
<!--<GAME_MANAGED>$(GAME_DIR)/{foo/bar}}/Managed</GAME_MANAGED>-->
<GAME_MELON>$(GAME_DIR)/MelonLoader</GAME_MELON>
<GAME_MANAGED>$(GAME_MELON)/Il2CppAssemblies</GAME_MANAGED>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -11,8 +10,8 @@
<ProjectGuid>{DA9D274E-486F-4F82-84FF-CD9388CB0B09}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MelonTemplate</RootNamespace>
<AssemblyName>MelonTemplate</AssemblyName>
<RootNamespace>ArmsTradeTycoonTanks</RootNamespace>
<AssemblyName>ArmsTradeTycoonTanks</AssemblyName>
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
@@ -36,7 +35,7 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="MelonTemplate.cs"/>
<Compile Include="ArmsTradeTycoonTanks.cs" />
<Compile Include="Properties\AssemblyInfo.cs"/>
</ItemGroup>
<ItemGroup>

View File

@@ -1,13 +1,13 @@
using System.Reflection;
using System.Runtime.InteropServices;
using ArmsTradeTycoonTanks;
using MelonLoader;
using MelonTemplate;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: MelonInfo(typeof(MelonTemplateMod), "Phat Melon Mod", "1.0.0", "Phat Phuck Dave")]
[assembly: MelonGame("Game Developer", "Game Name")]
[assembly: MelonInfo(typeof(ArmsTradeTycoonTanksMelonMod), "Phat Melon Mod", "1.0.0", "Phat Phuck Dave")]
[assembly: MelonGame("Microprose", "Arms Trade Tycoon Tanks")]
[assembly: AssemblyTitle("Phat Melon Mod")]
[assembly: AssemblyProduct("Phat Melon Mod")]
[assembly: AssemblyDescription("")]