
29 Mar
2008
29 Mar
'08
9:53 p.m.
Hi Roberts,
On 3/30/08, Robert Dailey
.............................................................................. Something like this might be in order:
struct Packet { virtual PacketId GetId() const = 0; };
struct WalkPacket : Packet { static const PacketId ID = PID_WALKPACKET; virtual PacketId GetId() const { return ID; } };
That's exactly what I was trying to say in my earlier reply. -- Best regards, Asif