first commit

This commit is contained in:
2025-07-06 00:23:46 +02:00
commit 38f50c8819
1788 changed files with 112878 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using NitroxClient.GameLogic.PlayerLogic.PlayerModel.ColorSwap;
using UnityEngine;
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
{
public interface IColorSwapManager
{
Action<ColorSwapAsyncOperation> CreateColorSwapTask(INitroxPlayer nitroxPlayer);
void ApplyPlayerColor(Dictionary<string, Color[]> pixelIndex, INitroxPlayer nitroxPlayer);
}
}

View File

@@ -0,0 +1,9 @@
using UnityEngine;
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
{
public interface IColorSwapStrategy
{
Color SwapColor(Color originalColor);
}
}

View File

@@ -0,0 +1,11 @@
using UnityEngine;
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
{
public interface ILocalNitroxPlayer : INitroxPlayer
{
//This serves as a "clean" player model to clone from. The root player model is going to be recolored as well
//which would change our HSV filter parameters. Who wants to hit a moving target?
GameObject BodyPrototype { get; }
}
}

View File

@@ -0,0 +1,13 @@
using NitroxModel.MultiplayerSession;
using UnityEngine;
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
{
public interface INitroxPlayer
{
GameObject Body { get; }
GameObject PlayerModel { get; }
string PlayerName { get; }
PlayerSettings PlayerSettings { get; }
}
}

View File

@@ -0,0 +1,7 @@
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
{
public interface IPlayerModelBuilder
{
void Build(INitroxPlayer player);
}
}