Beispiel #1
0
 internal static void WritePositionRef(Stream stream, PositionRef position)
 {
     WriteBytes(stream, BitConverter.GetBytes(position.XPos));
     WriteBytes(stream, BitConverter.GetBytes(position.YPos));
     WriteBytes(stream, BitConverter.GetBytes(position.ZPos));
     WriteBytes(stream, BitConverter.GetBytes(position.XRot));
     WriteBytes(stream, BitConverter.GetBytes(position.YRot));
     WriteBytes(stream, BitConverter.GetBytes(position.ZRot));
 }
Beispiel #2
0
 public TravelDestination(PositionRef position, string cellName)
 {
     Position = position;
     CellName = cellName;
 }