From 359cc91449490a99ca7d5b23886dfd90d6e5a4a7 Mon Sep 17 00:00:00 2001 From: wwwDayDream Date: Sat, 11 May 2024 23:56:38 -0500 Subject: [PATCH 1/2] Working Implementation --- .../CessilCellsCeaChells.BBTester.csproj | 3 ++- CessilCellsCeaChells.BBTester/Games/Valheim.targets | 8 ++++++++ CessilCellsCeaChells.BBTester/PluginSpecifics.cs | 10 +++++----- Games.targets | 1 + 4 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 CessilCellsCeaChells.BBTester/Games/Valheim.targets diff --git a/CessilCellsCeaChells.BBTester/CessilCellsCeaChells.BBTester.csproj b/CessilCellsCeaChells.BBTester/CessilCellsCeaChells.BBTester.csproj index 1ef6a5f..b0b2b91 100644 --- a/CessilCellsCeaChells.BBTester/CessilCellsCeaChells.BBTester.csproj +++ b/CessilCellsCeaChells.BBTester/CessilCellsCeaChells.BBTester.csproj @@ -12,7 +12,7 @@ $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=./ - Rounds + Valheim @@ -27,6 +27,7 @@ + diff --git a/CessilCellsCeaChells.BBTester/Games/Valheim.targets b/CessilCellsCeaChells.BBTester/Games/Valheim.targets new file mode 100644 index 0000000..996ec27 --- /dev/null +++ b/CessilCellsCeaChells.BBTester/Games/Valheim.targets @@ -0,0 +1,8 @@ + + + Valheim + $(VLHM_GAMEFILES) + 2022.3.17 + assembly_valheim + + \ No newline at end of file diff --git a/CessilCellsCeaChells.BBTester/PluginSpecifics.cs b/CessilCellsCeaChells.BBTester/PluginSpecifics.cs index c902fcf..aed971d 100644 --- a/CessilCellsCeaChells.BBTester/PluginSpecifics.cs +++ b/CessilCellsCeaChells.BBTester/PluginSpecifics.cs @@ -34,15 +34,15 @@ #elif Rounds using TargetType = Player; using TargetEnum = PickerType; +#elif Valheim +using TargetType = Player; +using TargetEnum = Player.PlacementStatus; #endif [assembly: RequiresField(typeof(TargetType), "BB_TestField", typeof(string))] -[assembly: RequiresProperty(typeof(TargetType), "BB_TestProp", typeof(CustomDataStruct))] +[assembly: RequiresProperty(typeof(TargetType), "BB_TestProp", typeof(string))] [assembly: RequiresEnumInsertion(typeof(TargetEnum), "BB_TestEnum")] [assembly: RequiresMethod(typeof(TargetType), "BB_TestMethod", typeof(void), typeof(string), typeof(int))] // void Player::BB_TestMethod(string, int) [assembly: RequiresMethodDefaults(typeof(TargetType), "BB_TestMethod", typeof(void), - [ typeof (bool), typeof(int) ], [ 0 ])] // void Player::BB_TestMethod(bool, int = 0) - -namespace CessilCellsCeaChells.BBTester; -public struct CustomDataStruct { } \ No newline at end of file + [ typeof (bool), typeof(int) ], [ 0 ])] // void Player::BB_TestMethod(bool, int = 0) \ No newline at end of file diff --git a/Games.targets b/Games.targets index a08b521..145243f 100644 --- a/Games.targets +++ b/Games.targets @@ -11,5 +11,6 @@ $(STEAMAPPS)/Atomicrops/ $(STEAMAPPS)/Potion Craft/ $(STEAMAPPS)/ROUNDS/ + $(STEAMAPPS)/Valheim/ \ No newline at end of file From 742649c04dd46a7c755d46c66509ec94c1e9e4b7 Mon Sep 17 00:00:00 2001 From: wwwDayDream Date: Sun, 12 May 2024 00:03:08 -0500 Subject: [PATCH 2/2] Updated README & TOML --- README.md | 12 ++++++------ ts-assets/thunderstore.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6909e03..6f9ea7d 100644 --- a/README.md +++ b/README.md @@ -25,12 +25,12 @@ The wiki contains a [Getting Started](https://github.com/wwwDayDream/CessilCells ### Version Compatability [BepInEx](https://github.com/BepInEx/BepInEx/) - v5.4.x -| | Current Thunderstore Communities | | -|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| [![Content Warning](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2332e01d&label=Content%20Warning&=f)](https://thunderstore.io/c/content-warning/p/www_Day_Dream/CessilCellsCeaChells/) | [![Muck](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2336e0ff&label=Muck)](https://thunderstore.io/c/muck/p/www_Day_Dream/CessilCellsCeaChells/) | [![Mechanica](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23232524&label=Mechanica)](https://thunderstore.io/c/mechanica/p/www_Day_Dream/CessilCellsCeaChells/) | -| [![Enter The Gungeon](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23ff4654&label=Enter%20The%20Gungeon)](https://thunderstore.io/c/enter-the-gungeon/p/www_Day_Dream/CessilCellsCeaChells/) | [![ROUNDS](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23dd4c09&label=ROUNDS)](https://thunderstore.io/c/rounds/p/www_Day_Dream/CessilCellsCeaChells/) | [![Atomicrops](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23e49f31&label=Atomicrops)](https://thunderstore.io/c/atomicrops/p/www_Day_Dream/CessilCellsCeaChells/) | -| [![Dyson Sphere Program](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%238a78eb&label=Dyson%20Sphere%20Program)](https://thunderstore.io/c/dyson-sphere-program/p/www_Day_Dream/CessilCellsCeaChells/) | [![Potion Craft](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23946e44&label=Potion%20Craft)](https://thunderstore.io/c/potion-craft/p/www_Day_Dream/CessilCellsCeaChells/) | [![Risk of Rain 2](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2305379a&label=Risk%20of%20Rain%202)](https://thunderstore.io/package/www_Day_Dream/CessilCellsCeaChells/) | -| [![Last Train Outta' Wormtown](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23b01b5b&label=Last%20Train%20Outta%27%20Wormtown)](https://thunderstore.io/c/last-train-outta-wormtown/p/www_Day_Dream/CessilCellsCeaChells/) | [![Lethal Company](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23b70704&label=Lethal%20Company)](https://thunderstore.io/c/lethal-company/p/www_Day_Dream/CessilCellsCeaChells/) | | +| | Current Thunderstore Communities | | +|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| [![Content Warning](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2332e01d&label=Content%20Warning&=f)](https://thunderstore.io/c/content-warning/p/www_Day_Dream/CessilCellsCeaChells/) | [![Muck](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2336e0ff&label=Muck)](https://thunderstore.io/c/muck/p/www_Day_Dream/CessilCellsCeaChells/) | [![Valheim](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23027d93&label=Valheim)](https://thunderstore.io/c/valheim/p/www_Day_Dream/CessilCellsCeaChells/) | +| [![Enter The Gungeon](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23ff4654&label=Enter%20The%20Gungeon)](https://thunderstore.io/c/enter-the-gungeon/p/www_Day_Dream/CessilCellsCeaChells/) | [![ROUNDS](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23dd4c09&label=ROUNDS)](https://thunderstore.io/c/rounds/p/www_Day_Dream/CessilCellsCeaChells/) | [![Mechanica](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23232524&label=Mechanica)](https://thunderstore.io/c/mechanica/p/www_Day_Dream/CessilCellsCeaChells/) | +| [![Dyson Sphere Program](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%238a78eb&label=Dyson%20Sphere%20Program)](https://thunderstore.io/c/dyson-sphere-program/p/www_Day_Dream/CessilCellsCeaChells/) | [![Potion Craft](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23946e44&label=Potion%20Craft)](https://thunderstore.io/c/potion-craft/p/www_Day_Dream/CessilCellsCeaChells/) | [![Atomicrops](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23e49f31&label=Atomicrops)](https://thunderstore.io/c/atomicrops/p/www_Day_Dream/CessilCellsCeaChells/) | +| [![Last Train Outta' Wormtown](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23b01b5b&label=Last%20Train%20Outta%27%20Wormtown)](https://thunderstore.io/c/last-train-outta-wormtown/p/www_Day_Dream/CessilCellsCeaChells/) | [![Lethal Company](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23b70704&label=Lethal%20Company)](https://thunderstore.io/c/lethal-company/p/www_Day_Dream/CessilCellsCeaChells/) | [![Risk of Rain 2](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2305379a&label=Risk%20of%20Rain%202)](https://thunderstore.io/package/www_Day_Dream/CessilCellsCeaChells/) | ### Publishing To New Thunderstore Communities - Create an issue for the specific community \ No newline at end of file diff --git a/ts-assets/thunderstore.toml b/ts-assets/thunderstore.toml index cc5e152..5c35eaf 100644 --- a/ts-assets/thunderstore.toml +++ b/ts-assets/thunderstore.toml @@ -32,5 +32,5 @@ target = "/BepInEx/patchers/CessilCellsCeaChells/" [publish] communities = [ "content-warning", "lethal-company", "riskofrain2", "dyson-sphere-program", "last-train-outta-wormtown", - "mechanica", "muck", "enter-the-gungeon", "atomicrops", "potion-craft", "rounds" ] + "mechanica", "muck", "enter-the-gungeon", "atomicrops", "potion-craft", "rounds", "valheim" ] categories = [ "libraries" ] \ No newline at end of file