first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace NitroxModel.DataStructures.GameLogic.Bases;
|
||||
|
||||
[Serializable, DataContract]
|
||||
public record struct BuildPieceIdentifier(NitroxTechType Recipe, NitroxBaseFace? BaseFace, NitroxInt3 BaseCell, NitroxInt3 PiecePoint)
|
||||
{
|
||||
[DataMember(Order = 1)]
|
||||
public NitroxTechType Recipe = Recipe;
|
||||
|
||||
[DataMember(Order = 2)]
|
||||
public NitroxBaseFace? BaseFace = BaseFace;
|
||||
|
||||
[DataMember(Order = 3)]
|
||||
public NitroxInt3 BaseCell = BaseCell;
|
||||
|
||||
[DataMember(Order = 4)]
|
||||
public NitroxInt3 PiecePoint = PiecePoint;
|
||||
|
||||
public override readonly string ToString()
|
||||
{
|
||||
return $"BuildPieceIdentifier (Recipe: {Recipe}, BaseFace: {BaseFace}, BaseCell: {BaseCell}, PiecePoint: {PiecePoint})";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user