jlirochon / rakpy

Pythonic implementation of the RakNet protocol
6 stars 1 forks source link

add TimestampField #2

Open jlirochon opened 8 years ago

jlirochon commented 8 years ago

There should be a TimestampField to represent RakNet::Time (time in microseconds since Epoch)

Actually we map this as a long long (64 bits). This is incorrect, it should be unsigned long long (Epoch is 0).

We should convert from/to a python datetime.datetime.

We should verify all long_long fields in packets.yml and see if they should be replaced by a timestamp field.

jlirochon commented 8 years ago

Oops, tests are failing on Travis. Maybe related to time zone ?