From f3f116ca971cea73da5c6e4a0de60d089c8e50c7 Mon Sep 17 00:00:00 2001 From: thecraftianman <64441307+thecraftianman@users.noreply.github.com> Date: Mon, 8 Jan 2024 17:39:19 -0500 Subject: [PATCH] Document the last untouched hooks --- lua/acf/hooks/hooks_cl.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lua/acf/hooks/hooks_cl.lua b/lua/acf/hooks/hooks_cl.lua index 3ae50aba1..55ea85745 100644 --- a/lua/acf/hooks/hooks_cl.lua +++ b/lua/acf/hooks/hooks_cl.lua @@ -194,4 +194,16 @@ Hooks.Add("ACF_Base_Client", function(Gamemode) -- @param Trace The TraceResult from the player's eye trace. function Gamemode:ACF_OnDrawBoxes() end + + --- Called after requesting a newly spawned model's data from the server. + -- Model data will always be invalid at this point. + -- @param Model The model that has had its data requested. + function Gamemode:ACF_OnRequestedModelData() + end + + --- Called after receiving a newly spawned model's data from the server. + -- @param Model The model that has received new data. + -- @param Data The data about the model that was received from the server. + function Gamemode:ACF_OnReceivedModelData() + end end)