39 Commits

Author SHA1 Message Date
c7ea9c03e9 add PSOPacketData derive to enums
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-18 23:27:14 -07:00
30739b5d87 fix manual_flag
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-18 22:31:40 -07:00
908b58f1b9 update to syn 2.0
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-18 22:18:42 -07:00
edb6319189 how has libpso avoided the baleful eye of clippy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-11-14 22:05:13 -07:00
ed278cb8f6 set some versions 2023-02-17 11:49:15 -07:00
2996b176a7 use Formatter::debug_struct for packet debug impl
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-02 21:31:29 -06:00
d0f1de9b0c length_is/length_of 2020-09-24 19:37:45 -06:00
cbb80df311 the size of the command pkt was overflowing urwejrfklweqjflkqw 2020-03-22 18:16:36 -07:00
fd48c896f1 don't include str 'packet' in packet debug output 2020-01-26 21:07:36 -08:00
7f32af6729 packet errors for unknown packets 2019-12-18 21:05:58 -08:00
81d3397c90 PSOPacketData::from_bytes needs + Seek 2019-11-10 21:43:37 -08:00
d2df4f6490 pso_message macro 2019-11-10 21:43:02 -08:00
b692b8b417 manual_flag should only check the first struct field 2019-11-09 23:06:43 -08:00
d9b897d193 pso_packet manual_flag attribute 2019-11-09 22:53:55 -08:00
efb952d4a8 lets impl these too till const generics actually exist 2019-11-08 22:26:03 -08:00
cd3ba96f91 use full Read path in proc_macros 2019-11-08 22:25:27 -08:00
955e284c19 use full type path 2019-11-08 22:25:07 -08:00
94af546d7a derive PSOPacketData macro 2019-11-03 10:43:34 -08:00
60584e0957 remove old pso_packet 2019-11-01 23:11:27 -07:00
f15f157c03 make the structs public 2019-10-31 22:07:53 -07:00
ff8503477b stop being dumb about how I fill arrays 2019-10-26 16:11:21 -07:00
ea488cadca implement nodebug for specific vars 2019-10-26 16:10:56 -07:00
5324ab1188 properly set the size in no_flag packets 2019-10-25 23:31:53 -07:00
dfde2638c5 new pso_packet implementation 2019-10-23 22:50:05 -07:00
c5ffa5bbcf clean up pso_packet 2019-10-23 22:49:43 -07:00
48599ee116 pso_packet: u16 and u32 arrays 2019-10-23 22:49:11 -07:00
Jake Probst
a37856ddcf PSOPacket::from_bytes &Vec<u8> -> &[u8] 2019-09-04 09:09:01 -07:00
Jake Probst
a8b5559ac0 serialize any type that provides information on how to 2019-07-28 23:27:24 -07:00
Jake Probst
7ae27273b4 cloning packets is helpful 2019-07-16 13:44:53 -07:00
Jake Probst
de87b2f89e why did I make these iterators? 2019-07-14 00:40:56 -07:00
Jake Probst
f5c19ad66b utf16 handling when parsing string bytes 2019-06-23 17:07:02 -07:00
Jake Probst
17cf4bb056 make sure packet len is divisible by 4 2019-06-23 15:51:29 -07:00
Jake Probst
8caa48a1e6 check that the entire packet was read 2019-06-23 15:51:11 -07:00
Jake Probst
47a07a63ae handle String objects in pso_packet 2019-06-23 15:47:53 -07:00
Jake Probst
c6ad5f4be6 don't need this enumerated 2019-06-23 15:47:21 -07:00
Jake Probst
7cac700dd5 turns out not everything has a flag, putting it in the struct will be easier at this point 2019-06-12 18:25:07 -07:00
Jake Probst
7c246f5446 silence warnings, print strings in packets 2019-06-08 18:16:07 -07:00
Jake Probst
2181aced53 did that 2019-06-06 16:47:42 -07:00
Jake Probst
53ef5a8efc pso_packet proc_macro for misc things 2019-06-06 16:46:23 -07:00