namespace ODMO.Commons.Models { public partial class Location { /// /// Updates the current value of X. /// /// The new value public void SetX(int x) => X = x; /// /// Updates the current value of Y. /// /// The new value public void SetY(int y) => Y = y; /// /// Updates the current value of Z. /// /// The new value public void SetZ(float z) => Z = z; public void SetTicksCount(int ticksCount) => TicksCount = ticksCount; /// /// Updates the current value of MapId. /// /// The new value public void SetMapId(short mapId) => MapId = mapId; public Location() { } public Location(short mapId, int x, int y) { MapId = mapId; X = x; Y = y; } } }