From cf422a574c002bd2dd68e019e2cb84fdb26dc0c7 Mon Sep 17 00:00:00 2001 From: skeletor Date: Thu, 23 Jan 2020 08:20:42 -0500 Subject: [PATCH] added additonal parameters to photo extra data json string --- sqlupdates/2_3_0_TO_2_3_1.sql | 1 + src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 sqlupdates/2_3_0_TO_2_3_1.sql diff --git a/sqlupdates/2_3_0_TO_2_3_1.sql b/sqlupdates/2_3_0_TO_2_3_1.sql new file mode 100644 index 00000000..6fbdb885 --- /dev/null +++ b/sqlupdates/2_3_0_TO_2_3_1.sql @@ -0,0 +1 @@ +UPDATE `emulator_settings` SET `value`='{\"t\":%timestamp%, \"u\":\"%id%\", \"n\":\"%username%\", \"s\":%user_id%, \"w\":\"%url%\"}' WHERE (`key`='camera.extradata'); diff --git a/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java b/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java index 0632c0b8..04058ab5 100644 --- a/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java +++ b/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java @@ -45,7 +45,7 @@ public class HabboInfo implements Runnable { private TIntIntHashMap currencies; private GamePlayer gamePlayer; private int photoRoomId; - private int photoTimestamp; + private long photoTimestamp; private String photoURL; private String photoJSON; private int webPublishTimestamp; @@ -430,11 +430,11 @@ public class HabboInfo implements Runnable { this.photoRoomId = roomId; } - public int getPhotoTimestamp() { + public long getPhotoTimestamp() { return this.photoTimestamp; } - public void setPhotoTimestamp(int photoTimestamp) { + public void setPhotoTimestamp(long photoTimestamp) { this.photoTimestamp = photoTimestamp; }