Basic combat works now, fixed /pvp, added waypoint mail attachments, fixed several bugs

This commit is contained in:
Light2
2013-08-04 21:15:12 +02:00
parent 8c6d56bef3
commit a8c61f8e50
24 changed files with 547 additions and 62 deletions
+16 -1
View File
@@ -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;
}
}