Commit graph

19 commits

Author SHA1 Message Date
Cain
1b13d39856
[Crate] Add formatting (#22)
* chore: add standard for formatting

* chore: manually tidy up imports and format

* chore: remove vscode and add to gitignore

* chore: alphabetically order and fix

* chore: format

* chore: fix format issue with payload

* chore: format as merge had unformatted code

* [format] Fix comments, change max width and binop operator

---------

Co-authored-by: CosminPerRam <cosmin.p@live.com>
2023-03-14 10:31:37 +02:00
CosminPerRam
59994bc086 [Games] Use port.unwrap_or instead of matching it 2023-03-03 18:02:54 +02:00
CosminPerRam
150bc1762e [Protocol] Valve: support app and dedicated app id 2023-02-18 21:44:17 +02:00
CosminPerRam
caa7329a68 Added socket timeout capability and reduced PACKET_SIZE to 1400 as specified from protocol 2022-11-15 21:07:15 +02:00
CosminPerRam
d3a1dba3c1
Restructured app format, goldsrc full support and added implementation for Day of Defeat and Counter-Strike: Condition Zero (#5)
* [valve_app_restructure] Initial change

* [valve_app_restructure] Some GoldSrc split packet changes

* [valve_app_restructure] Counter-Strike: Condition Zero implementation.

* [valve_app_restructure] Docs changes

* [valve_app_restructure] Added obsolete gold src response

* [valve_app_restructure] Day of Defeat implementation.
2022-10-27 01:01:11 +03:00
cosminperram
9df4bddc09 Modularized reusable structs and changed files structure a bit 2022-10-23 17:34:22 +03:00
cosminperram
3ac6a8b603 Changed uses to have a better structure 2022-10-23 14:03:59 +03:00
cosminperram
c0d07cf6f9 Valve Protocol now support anonymously querying 2022-10-23 13:34:40 +03:00
cosminperram
88a4c82158 Removed examples, added a master_querant change gather_settings to none (representing all) 2022-10-22 23:50:32 +03:00
CosminPerRam
675ed13493 Renamed players and online_players to players_details and players 2022-10-20 23:25:17 +03:00
CosminPerRam
15e6ad5892 Replaced Result<T, GDError> with GDResult<T> 2022-10-20 23:19:57 +03:00
CosminPerRam
526aef9acc
Games structures (#2)
* tf2 skeleton

* tf2 structure done

* csgo structure

* the_ship structure
2022-10-20 23:08:45 +03:00
CosminPerRam
00ead6d946 Documentation update 2022-10-20 12:49:22 +03:00
CosminPerRam
192d50a11d Specified MIT license and made the valve protocol check if the queried game is the right game 2022-10-18 18:20:37 +03:00
CosminPerRam
92d9649008 Valve PLAYERS and RULES request first implementations 2022-10-18 01:40:37 +03:00
CosminPerRam
9ab4b8a7fd Error handling and better structure 2022-10-17 23:22:46 +03:00
CosminPerRam
544ce897c5 Better protocol parameters and utils tests 2022-10-17 11:11:40 +03:00
CosminPerRam
c9eb725a51 Almost completed the valve protocol 2022-10-16 02:42:17 +03:00
CosminPerRam
8098136d09 Initial valve setup and tf2 game setup 2022-10-15 22:20:01 +03:00