roblox_emulator: TweenService:Create() stub

This commit is contained in:
Quaternions 2025-04-23 12:23:35 -07:00
parent 8b2f37d3d5
commit f8ef17e3f5
Signed by: Quaternions
GPG Key ID: D0DF5964F79AC131

@ -438,7 +438,7 @@ const GET_SERVICE:ClassFunctionPointer=cf!(|lua,_this,service:mlua::String|{
//dom.root_ref()==this.referent ?
let service=&*service.to_str()?;
match service{
"Lighting"|"RunService"|"Players"|"Workspace"|"MaterialService"=>{
"Lighting"|"RunService"|"Players"|"Workspace"|"MaterialService"|"TweenService"=>{
let referent=find_first_child_of_class(dom,dom.root(),service)
.map(|instance|instance.referent())
.unwrap_or_else(||
@ -470,6 +470,9 @@ static CLASS_FUNCTION_DATABASE:CFD=phf::phf_map!{
"Sound"=>phf::phf_map!{
"Play"=>NO_OP,
},
"TweenService"=>phf::phf_map!{
"Create"=>NO_OP,
},
};
/// A store of created functions for each Roblox class.