Skip to content

Commit

Permalink
Merge branch 'changes-on-top-of-everything' into tri-inspector-AND-cs…
Browse files Browse the repository at this point in the history
…c-settings
  • Loading branch information
Alexejhero committed Nov 5, 2023
2 parents 7035b58 + ebf1633 commit 0e6171c
Show file tree
Hide file tree
Showing 42 changed files with 54 additions and 132 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Reflection;
using HarmonyLib;
using SCHIZO.Attributes.Visual;
using SCHIZO.Attributes;
using SCHIZO.Items.Data.Crafting;
using UnityEditor;
using UnityEngine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using SCHIZO.Helpers;
using UnityEditor;
using UnityEngine;
Expand Down
2 changes: 1 addition & 1 deletion Unity/Assets/Scripts/ECCLibrary/SwimInSchoolFieldSetter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using SCHIZO.TriInspector;
using TriInspector;
using UnityEngine;
Expand Down
11 changes: 11 additions & 0 deletions Unity/Assets/Scripts/SCHIZO/Attributes/CarefulAttribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System;
using System.Diagnostics;
using UnityEngine;

namespace SCHIZO.Attributes;

[AttributeUsage(AttributeTargets.Field)]
[Conditional("UNITY_STANDALONE")]
internal sealed class CarefulAttribute : PropertyAttribute
{
}
12 changes: 12 additions & 0 deletions Unity/Assets/Scripts/SCHIZO/Attributes/ExposedTypeAttribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Diagnostics;
using UnityEngine;

namespace SCHIZO.Attributes;

[AttributeUsage(AttributeTargets.Field)]
[Conditional("UNITY_STANDALONE")]
internal sealed class ExposedTypeAttribute(string typeName) : PropertyAttribute
{
public readonly string typeName = typeName;
}
3 changes: 0 additions & 3 deletions Unity/Assets/Scripts/SCHIZO/Attributes/Typing.meta

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions Unity/Assets/Scripts/SCHIZO/Attributes/Visual.meta

This file was deleted.

12 changes: 0 additions & 12 deletions Unity/Assets/Scripts/SCHIZO/Attributes/Visual/CarefulAttribute.cs

This file was deleted.

2 changes: 1 addition & 1 deletion Unity/Assets/Scripts/SCHIZO/Creatures/Ermshark/Ermshark.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using JetBrains.Annotations;
using SCHIZO.Attributes;
using TriInspector;

Check failure on line 3 in Unity/Assets/Scripts/SCHIZO/Creatures/Ermshark/Ermshark.cs

View workflow job for this annotation

GitHub Actions / build (BelowZero)

The type or namespace name 'TriInspector' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 3 in Unity/Assets/Scripts/SCHIZO/Creatures/Ermshark/Ermshark.cs

View workflow job for this annotation

GitHub Actions / build (Subnautica)

The type or namespace name 'TriInspector' could not be found (are you missing a using directive or an assembly reference?)
using SCHIZO.Interop.Subnautica;
using SCHIZO.Attributes.Typing;
using SCHIZO.Sounds.Players;
using UnityEngine;

Expand Down
2 changes: 1 addition & 1 deletion Unity/Assets/Scripts/SCHIZO/HullPlates/HullPlate.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using SCHIZO.Attributes.Visual;
using SCHIZO.Attributes;
using TriInspector;
using UnityEngine;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using SCHIZO.TriInspector;
using TriInspector;
using UnityEngine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("CaveCrawler")]
public abstract partial class _CaveCrawler
{
protected const string CAVE_CRAWLER_GROUP = "basecavecrawler";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using SCHIZO.TriInspector;
using TriInspector;
using UnityEngine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("CaveCrawlerGravity")]
public abstract partial class _CaveCrawlerGravity
{
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using SCHIZO.TriInspector;
using TriInspector;
using UnityEngine;
Expand Down
5 changes: 1 addition & 4 deletions Unity/Assets/Scripts/SCHIZO/Interop/Subnautica/_Creature.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("Creature")]
public abstract partial class _Creature
{
protected const string CREATURE_GROUP = "basecreature";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using SCHIZO.TriInspector;
using TriInspector;
using UnityEngine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
{
[ActualType("CreatureAction")]
public abstract partial class _CreatureAction
{
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using SCHIZO.TriInspector;
using TriInspector;
using UnityEngine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("CreatureTool")]
public abstract partial class _CreatureTool
{
}
Expand Down
5 changes: 1 addition & 4 deletions Unity/Assets/Scripts/SCHIZO/Interop/Subnautica/_DropTool.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("DropTool")]
public abstract partial class _DropTool
{
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("FMOD_CustomEmitter")]
public abstract partial class _FMOD_CustomEmitter
{
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using SCHIZO.TriInspector;
using TriInspector;
using UnityEngine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("LandCreatureGravity")]
public abstract partial class _LandCreatureGravity
{
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using TriInspector;
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using TriInspector;
using SCHIZO.TriInspector;
using UnityEngine;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("MeleeAttack")]
public abstract partial class _MeleeAttack
{
}
Expand Down
5 changes: 1 addition & 4 deletions Unity/Assets/Scripts/SCHIZO/Interop/Subnautica/_ModelPlug.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("ModelPlug")]
public abstract partial class _ModelPlug
{
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using SCHIZO.Attributes.Typing;
using SCHIZO.Attributes;
using SCHIZO.TriInspector;
using TriInspector;
using UnityEngine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using SCHIZO.Attributes.Typing;

namespace SCHIZO.Interop.Subnautica
namespace SCHIZO.Interop.Subnautica
{
[ActualType("PlayerTool")]
public abstract partial class _PlayerTool
{
}
Expand Down
2 changes: 1 addition & 1 deletion Unity/Assets/Scripts/SCHIZO/Items/Data/ItemData.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Linq;
using JetBrains.Annotations;
using SCHIZO.Attributes;
using SCHIZO.Interop.Subnautica.Enums;
using SCHIZO.Interop.Subnautica.Enums.BelowZero;
using SCHIZO.Interop.Subnautica.Enums.Subnautica;
using SCHIZO.Items.Data.Crafting;
using SCHIZO.Registering;
using SCHIZO.Attributes.Visual;
using SCHIZO.Sounds;
using TriInspector;
using UnityEngine;
Expand Down
2 changes: 1 addition & 1 deletion Unity/Assets/Scripts/SCHIZO/Jukebox/CustomJukeboxTrack.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using TriInspector;
using SCHIZO.Registering;
using JetBrains.Annotations;
using SCHIZO.Attributes.Visual;
using SCHIZO.Attributes;
using UnityEngine;

namespace SCHIZO.Jukebox
Expand Down
4 changes: 2 additions & 2 deletions Unity/Assets/Scripts/SCHIZO/Loading/LoadingBackground.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using SCHIZO.Registering;
using SCHIZO.Attributes.Visual;
using SCHIZO.Attributes;
using SCHIZO.Registering;
using UnityEngine;

namespace SCHIZO.Loading
Expand Down
2 changes: 1 addition & 1 deletion Unity/Assets/Scripts/SCHIZO/Options/Generic/ModOption.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using SCHIZO.Attributes;
using SCHIZO.Options.Bool;
using SCHIZO.Attributes.Visual;
using TriInspector;
using UnityEngine;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Linq;
using JetBrains.Annotations;
using SCHIZO.Attributes;
using SCHIZO.Options.Float;
using SCHIZO.Attributes.Typing;
using TriInspector;
using UnityEngine;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using JetBrains.Annotations;
using SCHIZO.Attributes;
using SCHIZO.Options.Float;
using SCHIZO.Attributes.Typing;
using UnityEngine;

namespace SCHIZO.Sounds.Players
Expand Down
9 changes: 0 additions & 9 deletions Unity/Assets/Scripts/SCHIZO/Utilities/STRINGS.Unity.cs

This file was deleted.

3 changes: 0 additions & 3 deletions Unity/Assets/Scripts/SCHIZO/Utilities/STRINGS.Unity.cs.meta

This file was deleted.

0 comments on commit 0e6171c

Please sign in to comment.