virtualize all net ids to reduce net traffic
This commit is contained in:
@@ -69,7 +69,9 @@ namespace Content.Shared.GameObjects.Components.Research
|
||||
public class MaterialStorageState : ComponentState
|
||||
{
|
||||
public readonly Dictionary<string, int> Storage;
|
||||
public MaterialStorageState(Dictionary<string, int> storage) : base(ContentNetIDs.MATERIAL_STORAGE)
|
||||
public override uint NetID => ContentNetIDs.MATERIAL_STORAGE;
|
||||
|
||||
public MaterialStorageState(Dictionary<string, int> storage)
|
||||
{
|
||||
Storage = storage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user