Merge branch 'patch-photo-extradata' into 'dev'

added additonal parameters to photo extra data json string

See merge request morningstar/Arcturus-Community!82
This commit is contained in:
Harmonic 2020-01-23 08:20:43 -05:00
commit f14bd9dbc8
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 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;
}