mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
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
33 lines
934 B
C#
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;
|
|
}
|
|
}
|
|
}
|