mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-14 04:13:14 -04:00
Basic combat works now, fixed /pvp, added waypoint mail attachments, fixed several bugs
This commit is contained in:
@@ -21,10 +21,14 @@
|
||||
******************************************************************************/
|
||||
package services.chat;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
import com.sleepycat.persist.model.Entity;
|
||||
import com.sleepycat.persist.model.PrimaryKey;
|
||||
|
||||
@Entity
|
||||
@Entity(version=1)
|
||||
public class Mail {
|
||||
|
||||
@PrimaryKey
|
||||
@@ -35,6 +39,7 @@ public class Mail {
|
||||
private String message;
|
||||
private byte status;
|
||||
private int timeStamp;
|
||||
private List<WaypointAttachment> attachments;
|
||||
|
||||
public static final byte NEW = 0x4E;
|
||||
public static final byte READ = 0x52;
|
||||
@@ -114,5 +119,15 @@ public class Mail {
|
||||
public void setTimeStamp(int timeStamp) {
|
||||
this.timeStamp = timeStamp;
|
||||
}
|
||||
|
||||
|
||||
public List<WaypointAttachment> getAttachments() {
|
||||
return attachments;
|
||||
}
|
||||
|
||||
|
||||
public void setAttachments(List<WaypointAttachment> attachments) {
|
||||
this.attachments = attachments;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user