@ -49,9 +49,12 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@@ -49,9 +49,12 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@ -368,11 +368,11 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -368,11 +368,11 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
returnfalse;
}
//cannot place on grid until bane is live
// Attackers cannot place on grid until bane is live
@ -25,11 +26,20 @@ public class BuildingLocation extends AbstractGameObject {
@@ -25,11 +26,20 @@ public class BuildingLocation extends AbstractGameObject {
privatefinalinttype;
privatefinalintslot;
privatefinalintunknown;
privatefinalVector3fImmutableloc;
privatefinalVector3fImmutablerot;
privatefinalfloatw;
privatefinalVector3fImmutablelocation;
privatefinalQuaternionrotation;
publicBuildingLocation(){
this.buildingUUID=0;
this.type=0;
this.slot=0;
this.unknown=0;
this.location=Vector3fImmutable.ZERO;
this.rotation=newQuaternion();
}
/**
*ResultSetConstructor
*/
@ -39,9 +49,8 @@ public class BuildingLocation extends AbstractGameObject {
@@ -39,9 +49,8 @@ public class BuildingLocation extends AbstractGameObject {
@ -52,24 +61,6 @@ public class BuildingLocation extends AbstractGameObject {
@@ -52,24 +61,6 @@ public class BuildingLocation extends AbstractGameObject {
@ -83,42 +74,22 @@ public class BuildingLocation extends AbstractGameObject {
@@ -83,42 +74,22 @@ public class BuildingLocation extends AbstractGameObject {
}
publicfloatgetLocX(){
returnthis.loc.x;
returnthis.location.x;
}
publicfloatgetLocY(){
returnthis.loc.y;
}
publicfloatgetLocZ(){
returnthis.loc.z;
}
publicfloatgetRotX(){
returnthis.rot.x;
returnthis.location.y;
}
publicfloatgetRotY(){
returnthis.rot.y;
}
publicfloatgetRotZ(){
returnthis.rot.z;
}
publicfloatgetW(){
returnthis.w;
}
publicVector3fImmutablegetLoc(){
returnthis.loc;
publicVector3fImmutablegetLocation(){
returnthis.location;
}
publicVector3fImmutablegetRot(){
returnthis.rot;
publicQuaterniongetRotation(){
returnthis.rotation;
}
@Override
publicvoidupdateDatabase(){
}
@ -141,7 +112,7 @@ public class BuildingLocation extends AbstractGameObject {
@@ -141,7 +112,7 @@ public class BuildingLocation extends AbstractGameObject {
break;
}
// Add location to the collection in BuildingManager