1
This commit is contained in:
16
Assets/BITFALL/Cosmetic/BITFALL.Cosmetic.asmdef
Normal file
16
Assets/BITFALL/Cosmetic/BITFALL.Cosmetic.asmdef
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "BITFALL.Cosmetic",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:14fe60d984bf9f84eac55c6ea033a8f4"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": true
|
||||
}
|
29
Assets/BITFALL/Cosmetic/ICosmetic.cs
Normal file
29
Assets/BITFALL/Cosmetic/ICosmetic.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit;
|
||||
|
||||
namespace BITFALL.Cosmetic
|
||||
{
|
||||
public interface ICosmeticType
|
||||
{
|
||||
/// <summary>
|
||||
/// 排除的饰品类型
|
||||
/// </summary>
|
||||
ICosmeticType[] Excludes { get; }
|
||||
}
|
||||
public interface ICosmeticContent{}
|
||||
public interface ICosmetic:IAddressable
|
||||
{
|
||||
ulong Id { get; }
|
||||
ICosmeticType Type { get; }
|
||||
ICosmeticContent[] Contents { get; }
|
||||
}
|
||||
|
||||
public interface ICosmeticService
|
||||
{
|
||||
ICosmetic[] Cosmetics { get; }
|
||||
event Action OnCosmeticsChanged;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user