(client) feat:定义存档标记相关属性
This commit is contained in:
13
Client/Assets/Scripts/Base/Attributes.cs
Normal file
13
Client/Assets/Scripts/Base/Attributes.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Base
|
||||||
|
{
|
||||||
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
|
||||||
|
public class NeedSaveAttribute : Attribute
|
||||||
|
{
|
||||||
|
}
|
||||||
|
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
||||||
|
public class UnSaveAttribute : Attribute
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
3
Client/Assets/Scripts/Base/Attributes.cs.meta
Normal file
3
Client/Assets/Scripts/Base/Attributes.cs.meta
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bb4eb0442fc54e27955bb860d6dc2fd3
|
||||||
|
timeCreated: 1752635644
|
10
Client/Assets/Scripts/Managers/ArchiveManager.cs
Normal file
10
Client/Assets/Scripts/Managers/ArchiveManager.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
namespace Managers
|
||||||
|
{
|
||||||
|
public class ArchiveManager
|
||||||
|
{
|
||||||
|
public bool Save(string filename)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
3
Client/Assets/Scripts/Managers/ArchiveManager.cs.meta
Normal file
3
Client/Assets/Scripts/Managers/ArchiveManager.cs.meta
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a6952f5a135a4809bdeb721b4761aa6f
|
||||||
|
timeCreated: 1752635779
|
Reference in New Issue
Block a user