2025-02-24 23:02:49 +08:00
|
|
|
using System;
|
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using BITKit.Modification;
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace Net.Project.B.Cosmetics
|
|
|
|
{
|
|
|
|
public interface ICosmeticsClass
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2025-03-09 13:38:32 +08:00
|
|
|
|
|
|
|
public interface IRequiredCosmeticsClass{}
|
2025-02-24 23:02:49 +08:00
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public struct CosmeticsHand:ICosmeticsClass
|
|
|
|
{
|
2025-03-09 13:38:32 +08:00
|
|
|
public override bool Equals(object obj) => this.GetType() == obj?.GetType();
|
|
|
|
public override int GetHashCode() => GetType().GetHashCode();
|
2025-02-24 23:02:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[Serializable]
|
2025-03-09 13:38:32 +08:00
|
|
|
public struct CosmeticsModel:ICosmeticsClass,IRequiredCosmeticsClass
|
2025-02-24 23:02:49 +08:00
|
|
|
{
|
2025-03-09 13:38:32 +08:00
|
|
|
public override bool Equals(object obj) => this.GetType() == obj?.GetType();
|
|
|
|
public override int GetHashCode() => GetType().GetHashCode();
|
2025-02-24 23:02:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public struct CosmeticsHat:ICosmeticsClass
|
|
|
|
{
|
2025-03-09 13:38:32 +08:00
|
|
|
public override bool Equals(object obj) => this.GetType() == obj?.GetType();
|
|
|
|
public override int GetHashCode() => GetType().GetHashCode();
|
2025-02-24 23:02:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public class CosmeticsCustomizeComponent
|
|
|
|
{
|
|
|
|
public virtual HashSet<int> ComponentIds { get; set; } = new();
|
|
|
|
}
|
|
|
|
}
|