Commit graph

20 commits

Author SHA1 Message Date
ChillerDragon a98295bc23 Do not detach in sample code
the sample code should be batteries included ready to go
putting the detach sample in a ruby file and running it
does not keep running
2023-09-17 11:03:40 +02:00
ChillerDragon 27bfbc22ff Sample input timing code 2023-09-17 10:59:37 +02:00
ChillerDragon 0dad3f9ca9 Auto generate message class docs 2022-11-26 12:16:36 +01:00
ChillerDragon 93b4b136af Auto generate input timing 2022-11-26 11:50:28 +01:00
ChillerDragon c85f740915 Manually add doc example 2022-11-26 11:47:39 +01:00
ChillerDragon e4cd8956be Regenerate some docs 2022-11-26 11:46:30 +01:00
ChillerDragon 6cad2f6bbc Call chunks messages (closed #6) 2022-11-26 11:25:23 +01:00
ChillerDragon 653ee661e9 Fix english cancle -> cancel ty swarfey and rcon 2022-11-16 10:50:54 +01:00
ChillerDragon 3a219f406b Change context api! And add input timing msg
Remove the client attribute from the Context class
The block that exposes a Context class has to be called on a client
anyways so also passing it to the block args is redundant.

Replace it by a parsed version of the chunk which has yet to be properly
named current working title is: todo_rename_this
2022-11-15 10:39:44 +01:00
ChillerDragon fe3e581f86 Make client callbacks arrays
Allows to setup multiple on_* hook blocks as a lib user

closed #10
2022-11-14 10:25:28 +01:00
ChillerDragon 6275508a18 Documentation refactor 2022-11-13 13:50:21 +01:00
ChillerDragon 8b6a867525 Generate hooks documentation 2022-11-13 13:13:14 +01:00
ChillerDragon 3358cc6608 Parse start info on server side 2022-11-13 10:37:46 +01:00
ChillerDragon a248ae1ed8 Properly versioned documentation 2022-11-05 19:33:08 +01:00
ChillerDragon 672e05a16e Fix data docs 2022-11-05 19:02:11 +01:00
ChillerDragon db106ba70e Add on_client_drop() 2022-11-05 11:59:36 +01:00
ChillerDragon 771bdfe859 Holy sh*t this lib is actually usable 2022-11-05 11:07:16 +01:00
ChillerDragon 7689d2725a Strong control over lib using Context objects 2022-11-05 10:35:40 +01:00
ChillerDragon 1d3076e34b Break api hook_chat -> on_chat 2022-11-05 09:39:16 +01:00
ChillerDragon 57dfc76588 Stabilize api yikes 2022-11-04 16:57:50 +01:00