Back to project page pink-ponies.
The source code is released under:
Software License Agreement (BSD License) Copyright (c) 2013, Pink Ponies Team All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted prov...
If you think the Android project pink-ponies listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * Copyright (c) 2013 Alexander Konovalov, Andrey Konovalov, Sergey Voronov, Vitaly Malyshev. All * rights reserved. Use of this source code is governed by a BSD-style license that can be found in * the LICENSE file.//from w w w . j a v a 2 s . co m */ package ru.pinkponies.protocol; import org.msgpack.annotation.Message; import org.msgpack.annotation.OrdinalEnum; @Message public class QuestUpdatePacket extends Packet { @OrdinalEnum public enum Status { APPEARED, DISAPPEARED, AVAILABLE, UNAVAILABLE, ACCEPTED, DECLINED, STARTED, FINISHED } public long questId; public Location location; public Status status; public QuestUpdatePacket() { super(); this.questId = -1; this.location = null; this.status = null; } public QuestUpdatePacket(final long questId, final Location location, final Status status) { super(); this.questId = questId; this.location = location; this.status = status; } @Override public String toString() { return "QuestUpdate [questId=" + this.questId + ", " + this.location + ", status=" + this.status + "]"; } }