Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.377 kB
#include "presents/stable.h"
#include "UpstreamMessage.h"
using namespace presents::net;
DEFINE_STREAMABLE("com.threerings.presents.net.UpstreamMessage", UpstreamMessage);
void UpstreamMessage::readObject (ObjectInputStream& in)
{
messageId = int16(in.readShort());
}
void UpstreamMessage::writeObject (ObjectOutputStream& out) const
{
out.writeShort(messageId);
}
Jump to Line
Something went wrong with that request. Please try again.