Stop network serializing prototypes (#38602)
* Stop network serializing prototypes Send the damn proto ID instead. * Fix sandbox violation
This commit is contained in:
committed by
GitHub
parent
bb7e7c3e5f
commit
73df3b1593
@@ -29,16 +29,16 @@ public sealed class DeviceListUserInterfaceState : BoundUserInterfaceState
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class DeviceLinkUserInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
public readonly List<SourcePortPrototype> Sources;
|
||||
public readonly List<SinkPortPrototype> Sinks;
|
||||
public readonly ProtoId<SourcePortPrototype>[] Sources;
|
||||
public readonly ProtoId<SinkPortPrototype>[] Sinks;
|
||||
public readonly HashSet<(ProtoId<SourcePortPrototype> source, ProtoId<SinkPortPrototype> sink)> Links;
|
||||
public readonly List<(string source, string sink)>? Defaults;
|
||||
public readonly string SourceAddress;
|
||||
public readonly string SinkAddress;
|
||||
|
||||
public DeviceLinkUserInterfaceState(
|
||||
List<SourcePortPrototype> sources,
|
||||
List<SinkPortPrototype> sinks,
|
||||
ProtoId<SourcePortPrototype>[] sources,
|
||||
ProtoId<SinkPortPrototype>[] sinks,
|
||||
HashSet<(ProtoId<SourcePortPrototype> source, ProtoId<SinkPortPrototype> sink)> links,
|
||||
string sourceAddress,
|
||||
string sinkAddress,
|
||||
|
||||
Reference in New Issue
Block a user