Replace runtime MessagePack DTO keys

This commit is contained in:
Meta Vens 2026-06-13 15:02:32 +01:00
commit 066597e70b
41 changed files with 298 additions and 314 deletions

View file

@ -3,14 +3,13 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
using System;
using MessagePack;
using Unity.Mathematics;
using static Unity.Mathematics.math;
[Inspectable, MessagePackObject]
[Inspectable]
public class ConstantWeaponData : WeaponData
{
[InspectablePrefab, Key(17)]
[InspectablePrefab, RuntimeCatalogKey(17)]
public float AmmoInterval = 1;
public override Behavior CreateInstance(EquippedItem item)