roblox_emulator: implement Instance event stubs

This commit is contained in:
2025-04-23 01:17:08 -07:00
parent 67d2a3e398
commit 3ff8ccf58d

View File

@@ -608,6 +608,12 @@ static LAZY_USER_DATA:LUD=phf::phf_map!{
"Touched"=>create_script_signal, "Touched"=>create_script_signal,
"TouchEnded"=>create_script_signal, "TouchEnded"=>create_script_signal,
}, },
"Instance"=>phf::phf_map!{
"ChildAdded"=>create_script_signal,
"ChildRemoved"=>create_script_signal,
"DescendantAdded"=>create_script_signal,
"DescendantRemoved"=>create_script_signal,
},
}; };
#[derive(Default)] #[derive(Default)]
pub struct InstanceValueStore{ pub struct InstanceValueStore{