mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Add IComponentState / struct support (#4610)
Still boxes but hey at least the struct dream is real.
This commit is contained in:
@@ -231,12 +231,12 @@ namespace {nameSpace};
|
||||
public partial class {componentName}
|
||||
{{
|
||||
[System.Serializable, NetSerializable]
|
||||
public class {stateName} : ComponentState
|
||||
public sealed class {stateName} : IComponentState
|
||||
{{{stateFields}
|
||||
}}
|
||||
|
||||
[RobustAutoGenerated]
|
||||
public class {componentName}_AutoNetworkSystem : EntitySystem
|
||||
public sealed class {componentName}_AutoNetworkSystem : EntitySystem
|
||||
{{
|
||||
public override void Initialize()
|
||||
{{
|
||||
|
||||
Reference in New Issue
Block a user