ace/Source/ACE.Entity/Models/PropertiesPosition.cs
Mag-nus f8ceb00f5b
Step 1. Add new adapter classes and models (#2691)
All classes and objects added are in new namespaces.

This add has 0 interraction on existing ACE code.

This sets the groundwork for Step 2. Moving World DB caching to the new models
2020-02-14 08:10:33 -06:00

33 lines
934 B
C#

using System;
namespace ACE.Entity.Models
{
public class PropertiesPosition
{
public uint ObjCellId { get; set; }
public float PositionX { get; set; }
public float PositionY { get; set; }
public float PositionZ { get; set; }
public float RotationW { get; set; }
public float RotationX { get; set; }
public float RotationY { get; set; }
public float RotationZ { get; set; }
public PropertiesPosition Clone()
{
var result = new PropertiesPosition
{
ObjCellId = ObjCellId,
PositionX = PositionX,
PositionY = PositionY,
PositionZ = PositionZ,
RotationW = RotationW,
RotationX = RotationX,
RotationY = RotationY,
RotationZ = RotationZ,
};
return result;
}
}
}