Replace runtime MessagePack DTO keys
This commit is contained in:
parent
98d58cac92
commit
066597e70b
41 changed files with 298 additions and 314 deletions
12
Assets/Scripts/ServerShared/RuntimeCatalogKeyAttribute.cs
Normal file
12
Assets/Scripts/ServerShared/RuntimeCatalogKeyAttribute.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public sealed class RuntimeCatalogKeyAttribute : Attribute
|
||||
{
|
||||
public RuntimeCatalogKeyAttribute(int key)
|
||||
{
|
||||
Key = key;
|
||||
}
|
||||
|
||||
public int Key { get; }
|
||||
}
|
||||
Loading…
Reference in a new issue