3 This file is part of R²C²
4 Copyright © 2009 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
15 add<TrainInfoPacket>() (&TrainInfoPacket::address)
16 (&TrainInfoPacket::loco_type) (&TrainInfoPacket::name);
17 add<TrainControlPacket>() (&TrainControlPacket::address)
18 (&TrainControlPacket::control) (&TrainControlPacket::value);
19 add<TrainFunctionPacket>() (&TrainFunctionPacket::address)
20 (&TrainFunctionPacket::functions);
21 add<TrainStatusPacket>() (&TrainStatusPacket::address)
22 (&TrainStatusPacket::status);
23 add<RouteInfoPacket>() (&RouteInfoPacket::name);
24 add<TrainRoutePacket>() (&TrainRoutePacket::address)
25 (&TrainRoutePacket::route);
26 add<ErrorPacket>() (&ErrorPacket::message);