The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Additional documentation and release notes are available at [Multiplayer Documentation](https://docs-multiplayer.unity3d.com). ## [1.0.0] - 2022-06-27 ### Changed - Changed version to 1.0.0. (#2046)
16 lines
709 B
C#
16 lines
709 B
C#
|
|
namespace Unity.Netcode
|
|
{
|
|
/// <summary>
|
|
/// This interface is a "tag" that can be applied to a struct to mark that struct as being serializable
|
|
/// by memcpy. It's up to the developer of the struct to analyze the struct's contents and ensure it
|
|
/// is actually serializable by memcpy. This requires all of the members of the struct to be
|
|
/// `unmanaged` Plain-Old-Data values - if your struct contains a pointer (or a type that contains a pointer,
|
|
/// like `NativeList<T>`), it should be serialized via `INetworkSerializable` or via
|
|
/// `FastBufferReader`/`FastBufferWriter` extension methods.
|
|
/// </summary>
|
|
public interface INetworkSerializeByMemcpy
|
|
{
|
|
}
|
|
}
|