Skip to content

Commit

Permalink
Sync buildPreview.tilt
Browse files Browse the repository at this point in the history
  • Loading branch information
starfi5h committed Jun 5, 2024
1 parent 1834f07 commit bedda93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NebulaModel/Packets/Factory/CreatePrebuildsRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public static void DeserializeBuildPreview(BuildPreview buildPreview, IReadOnlyL
buildPreview.lpos2 = new Vector3(br.ReadSingle(), br.ReadSingle(), br.ReadSingle());
buildPreview.lrot = new Quaternion(br.ReadSingle(), br.ReadSingle(), br.ReadSingle(), br.ReadSingle());
buildPreview.lrot2 = new Quaternion(br.ReadSingle(), br.ReadSingle(), br.ReadSingle(), br.ReadSingle());
buildPreview.tilt = br.ReadSingle();
buildPreview.condition = (EBuildCondition)br.ReadInt32();
}

Expand Down Expand Up @@ -184,6 +185,7 @@ public static void SerializeBuildPreview(BuildPreview buildPreview, IList<BuildP
bw.Write(buildPreview.lrot2.y);
bw.Write(buildPreview.lrot2.z);
bw.Write(buildPreview.lrot2.w);
bw.Write(buildPreview.tilt);
bw.Write((int)buildPreview.condition);
}
}

0 comments on commit bedda93

Please sign in to comment.