added additonal parameters to photo extra data json string

This commit is contained in:
skeletor 2020-01-23 08:20:42 -05:00 committed by Harmonic
parent d799550128
commit cf422a574c
2 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1 @@
UPDATE `emulator_settings` SET `value`='{\"t\":%timestamp%, \"u\":\"%id%\", \"n\":\"%username%\", \"s\":%user_id%, \"w\":\"%url%\"}' WHERE (`key`='camera.extradata');

View File

@ -45,7 +45,7 @@ public class HabboInfo implements Runnable {
private TIntIntHashMap currencies; private TIntIntHashMap currencies;
private GamePlayer gamePlayer; private GamePlayer gamePlayer;
private int photoRoomId; private int photoRoomId;
private int photoTimestamp; private long photoTimestamp;
private String photoURL; private String photoURL;
private String photoJSON; private String photoJSON;
private int webPublishTimestamp; private int webPublishTimestamp;
@ -430,11 +430,11 @@ public class HabboInfo implements Runnable {
this.photoRoomId = roomId; this.photoRoomId = roomId;
} }
public int getPhotoTimestamp() { public long getPhotoTimestamp() {
return this.photoTimestamp; return this.photoTimestamp;
} }
public void setPhotoTimestamp(int photoTimestamp) { public void setPhotoTimestamp(long photoTimestamp) {
this.photoTimestamp = photoTimestamp; this.photoTimestamp = photoTimestamp;
} }