1
This commit is contained in:
20
Assets/BITFALL/Cosmetic/Cosmetic_Types.cs
Normal file
20
Assets/BITFALL/Cosmetic/Cosmetic_Types.cs
Normal 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>();
|
||||
}
|
||||
}
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user