Skip to content

Commit

Permalink
Merge pull request #757 from 0x5143/main
Browse files Browse the repository at this point in the history
Fix method signature of MemoryPackFormatter for UNITY_2021_3_OR_NEWER
  • Loading branch information
mayuki authored Apr 18, 2024
2 parents cc99d1c + 9d29757 commit 2192e13
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
#pragma warning disable CS8669
#nullable enable

Expand Down Expand Up @@ -37,7 +37,7 @@ public class DynamicArgumentTupleFormatter<T1, T2> : MemoryPackFormatter<Dynamic
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?> value)
#endif
Expand Down Expand Up @@ -76,7 +76,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3> : MemoryPackFormatter<Dyn
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?> value)
#endif
Expand Down Expand Up @@ -117,7 +117,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4> : MemoryPackFormatter
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?> value)
#endif
Expand Down Expand Up @@ -160,7 +160,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5> : MemoryPackForma
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?> value)
#endif
Expand Down Expand Up @@ -205,7 +205,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6> : MemoryPackF
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?> value)
#endif
Expand Down Expand Up @@ -252,7 +252,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7> : MemoryP
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?> value)
#endif
Expand Down Expand Up @@ -301,7 +301,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8> : Mem
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> value)
#endif
Expand Down Expand Up @@ -352,7 +352,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9> :
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> value)
#endif
Expand Down Expand Up @@ -405,7 +405,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> value)
#endif
Expand Down Expand Up @@ -460,7 +460,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?> value)
#endif
Expand Down Expand Up @@ -517,7 +517,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?> value)
#endif
Expand Down Expand Up @@ -576,7 +576,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?> value)
#endif
Expand Down Expand Up @@ -637,7 +637,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?> value)
#endif
Expand Down Expand Up @@ -700,7 +700,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?> value)
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class DynamicArgumentTupleFormatter<T1, T2> : MemoryPackFormatter<Dynamic
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?> value)
#endif
Expand Down Expand Up @@ -76,7 +76,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3> : MemoryPackFormatter<Dyn
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?> value)
#endif
Expand Down Expand Up @@ -117,7 +117,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4> : MemoryPackFormatter
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?> value)
#endif
Expand Down Expand Up @@ -160,7 +160,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5> : MemoryPackForma
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?> value)
#endif
Expand Down Expand Up @@ -205,7 +205,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6> : MemoryPackF
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?> value)
#endif
Expand Down Expand Up @@ -252,7 +252,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7> : MemoryP
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?> value)
#endif
Expand Down Expand Up @@ -301,7 +301,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8> : Mem
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> value)
#endif
Expand Down Expand Up @@ -352,7 +352,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9> :
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> value)
#endif
Expand Down Expand Up @@ -405,7 +405,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> value)
#endif
Expand Down Expand Up @@ -460,7 +460,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?> value)
#endif
Expand Down Expand Up @@ -517,7 +517,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?> value)
#endif
Expand Down Expand Up @@ -576,7 +576,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?> value)
#endif
Expand Down Expand Up @@ -637,7 +637,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?> value)
#endif
Expand Down Expand Up @@ -700,7 +700,7 @@ public class DynamicArgumentTupleFormatter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T
{
[global::MagicOnion.Serialization.MemoryPack.Preserve]
#if UNITY_2021_3_OR_NEWER
public override void Serialize(ref MemoryPackWriter writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?> value)
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?> value)
#else
public override void Serialize<TBufferWriter>(ref MemoryPackWriter<TBufferWriter> writer, scoped ref DynamicArgumentTuple<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?> value)
#endif
Expand Down
Loading

0 comments on commit 2192e13

Please sign in to comment.