We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92cf193 + 0733e84 commit 2ed36b6Copy full SHA for 2ed36b6
1 file changed
src/retroshare/rsstatus.h
@@ -50,7 +50,7 @@ enum class RsStatusValue: int32_t {
50
/*!
51
* data object used for peer status information
52
*/
53
-class StatusInfo
+class StatusInfo : public RsSerializable
54
{
55
public:
56
StatusInfo() : status(RsStatusValue::RS_STATUS_OFFLINE), time_stamp(0) {}
@@ -59,6 +59,13 @@ class StatusInfo
59
RsPeerId id;
60
RsStatusValue status;
61
rstime_t time_stamp; /// for owner time set, and for their peers time sent
62
+
63
+ void serial_process( RsGenericSerializer::SerializeJob j, RsGenericSerializer::SerializeContext& ctx ) override
64
+ {
65
+ RS_SERIAL_PROCESS(id);
66
+ RS_SERIAL_PROCESS(status);
67
+ RS_SERIAL_PROCESS(time_stamp);
68
+ }
69
};
70
71
0 commit comments