This commit is contained in:
CortexCore
2025-03-09 13:38:32 +08:00
parent 787ae12bf8
commit 88f1ff1b04
14 changed files with 181 additions and 35 deletions

View File

@@ -10,23 +10,28 @@ namespace Net.Project.B.Cosmetics
{
}
public interface IRequiredCosmeticsClass{}
[Serializable]
public struct CosmeticsHand:ICosmeticsClass
{
public override bool Equals(object obj) => this.GetType() == obj?.GetType();
public override int GetHashCode() => GetType().GetHashCode();
}
[Serializable]
public struct CosmeticsModel:ICosmeticsClass
public struct CosmeticsModel:ICosmeticsClass,IRequiredCosmeticsClass
{
public override bool Equals(object obj) => this.GetType() == obj?.GetType();
public override int GetHashCode() => GetType().GetHashCode();
}
[Serializable]
public struct CosmeticsHat:ICosmeticsClass
{
public override bool Equals(object obj) => this.GetType() == obj?.GetType();
public override int GetHashCode() => GetType().GetHashCode();
}
public class CosmeticsCustomizeComponent