Marks fields and properties as to be serialized and deserialized by INetSerializableStruct. Also contains settings for some types like maximum and minimum values for numbers to reduce bits used.
More...
Marks fields and properties as to be serialized and deserialized by INetSerializableStruct. Also contains settings for some types like maximum and minimum values for numbers to reduce bits used.
struct NetPurchasedItem : INetSerializableStruct
{
public string Identifier;
public string[] Tags;
public int Amount;
}
Marks fields and properties as to be serialized and deserialized by INetSerializableStruct....
Definition INetSerializableStruct.cs:40
Using the attribute on the struct will make all fields and properties serialized
◆ NetworkSerialize()
| Barotrauma.NetworkSerialize.NetworkSerialize |
( |
[CallerLineNumber] int | lineNumber = 0 | ) |
|
◆ ArrayMaxSize
| int Barotrauma.NetworkSerialize.ArrayMaxSize = ushort.MaxValue |
◆ IncludeColorAlpha
| bool Barotrauma.NetworkSerialize.IncludeColorAlpha = false |
◆ MaxValueFloat
| float Barotrauma.NetworkSerialize.MaxValueFloat = float.MaxValue |
◆ MaxValueInt
| int Barotrauma.NetworkSerialize.MaxValueInt = int.MaxValue |
◆ MinValueFloat
| float Barotrauma.NetworkSerialize.MinValueFloat = float.MinValue |
◆ MinValueInt
| int Barotrauma.NetworkSerialize.MinValueInt = int.MinValue |
◆ NumberOfBits
| int Barotrauma.NetworkSerialize.NumberOfBits = 8 |
◆ OrderKey
| readonly int Barotrauma.NetworkSerialize.OrderKey |
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Networking/INetSerializableStruct.cs