This commit is contained in:
CortexCore
2024-03-18 21:47:41 +08:00
parent 8acd61ea57
commit 0da2773ea6
19 changed files with 403 additions and 121 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections;
using System.Collections.Generic;
using BITKit.Modification;
namespace BITFALL.Cosmetic.Types
{
[Serializable]
public struct PlayerAgent:ICosmeticType
{
public IModifyElement[] Require => Array.Empty<IModifyElement>();
public IModifyElement[] Incompatible => Array.Empty<IModifyElement>();
}
[Serializable]
public struct PlayerWeaponSkin:ICosmeticType
{
public IModifyElement[] Require => Array.Empty<IModifyElement>();
public IModifyElement[] Incompatible => Array.Empty<IModifyElement>();
}
}

View File

@@ -2,17 +2,15 @@ using System;
using System.Collections;
using System.Collections.Generic;
using BITKit;
using BITKit.Modification;
namespace BITFALL.Cosmetic
{
public interface ICosmeticType
public interface ICosmeticType:IModifyElement
{
/// <summary>
/// 排除的饰品类型
/// </summary>
ICosmeticType[] Excludes { get; }
}
public interface ICosmeticContent{}
public interface ICosmetic:IAddressable
{
ulong Id { get; }
@@ -20,7 +18,7 @@ namespace BITFALL.Cosmetic
ICosmeticContent[] Contents { get; }
}
public interface ICosmeticService
public interface ICosmeticService:IModifyManager
{
ICosmetic[] Cosmetics { get; }
event Action OnCosmeticsChanged;