mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-14 03:37:55 -04:00
93 lines
2.5 KiB
C#
93 lines
2.5 KiB
C#
//HintName: PrivateTable.cs
|
|
// <auto-generated />
|
|
#nullable enable
|
|
|
|
partial class PrivateTable : System.IEquatable<PrivateTable>, SpacetimeDB.BSATN.IStructuralReadWrite
|
|
{
|
|
public void ReadFields(System.IO.BinaryReader reader) { }
|
|
|
|
public void WriteFields(System.IO.BinaryWriter writer) { }
|
|
|
|
object SpacetimeDB.BSATN.IStructuralReadWrite.GetSerializer()
|
|
{
|
|
return new BSATN();
|
|
}
|
|
|
|
public override string ToString() => $"PrivateTable {{ }}";
|
|
|
|
public readonly partial struct BSATN : SpacetimeDB.BSATN.IReadWrite<PrivateTable>
|
|
{
|
|
public PrivateTable Read(System.IO.BinaryReader reader)
|
|
{
|
|
var ___result = new PrivateTable();
|
|
___result.ReadFields(reader);
|
|
return ___result;
|
|
}
|
|
|
|
public void Write(System.IO.BinaryWriter writer, PrivateTable value)
|
|
{
|
|
value.WriteFields(writer);
|
|
}
|
|
|
|
public SpacetimeDB.BSATN.AlgebraicType.Ref GetAlgebraicType(
|
|
SpacetimeDB.BSATN.ITypeRegistrar registrar
|
|
) =>
|
|
registrar.RegisterType<PrivateTable>(_ => new SpacetimeDB.BSATN.AlgebraicType.Product(
|
|
new SpacetimeDB.BSATN.AggregateElement[] { }
|
|
));
|
|
|
|
SpacetimeDB.BSATN.AlgebraicType SpacetimeDB.BSATN.IReadWrite<PrivateTable>.GetAlgebraicType(
|
|
SpacetimeDB.BSATN.ITypeRegistrar registrar
|
|
) => GetAlgebraicType(registrar);
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#nullable enable
|
|
public bool Equals(PrivateTable? that)
|
|
{
|
|
if (((object?)that) == null)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
public override bool Equals(object? that)
|
|
{
|
|
if (that == null)
|
|
{
|
|
return false;
|
|
}
|
|
var that_ = that as PrivateTable;
|
|
if (((object?)that_) == null)
|
|
{
|
|
return false;
|
|
}
|
|
return Equals(that_);
|
|
}
|
|
|
|
public static bool operator ==(PrivateTable? this_, PrivateTable? that)
|
|
{
|
|
if (((object?)this_) == null || ((object?)that) == null)
|
|
{
|
|
return object.Equals(this_, that);
|
|
}
|
|
return this_.Equals(that);
|
|
}
|
|
|
|
public static bool operator !=(PrivateTable? this_, PrivateTable? that)
|
|
{
|
|
if (((object?)this_) == null || ((object?)that) == null)
|
|
{
|
|
return !object.Equals(this_, that);
|
|
}
|
|
return !this_.Equals(that);
|
|
}
|
|
#nullable restore
|
|
} // PrivateTable
|