roblox_emulator: TweenService:Create() stub
This commit is contained in:
parent
8b2f37d3d5
commit
f8ef17e3f5
@ -438,7 +438,7 @@ const GET_SERVICE:ClassFunctionPointer=cf!(|lua,_this,service:mlua::String|{
|
|||||||
//dom.root_ref()==this.referent ?
|
//dom.root_ref()==this.referent ?
|
||||||
let service=&*service.to_str()?;
|
let service=&*service.to_str()?;
|
||||||
match service{
|
match service{
|
||||||
"Lighting"|"RunService"|"Players"|"Workspace"|"MaterialService"=>{
|
"Lighting"|"RunService"|"Players"|"Workspace"|"MaterialService"|"TweenService"=>{
|
||||||
let referent=find_first_child_of_class(dom,dom.root(),service)
|
let referent=find_first_child_of_class(dom,dom.root(),service)
|
||||||
.map(|instance|instance.referent())
|
.map(|instance|instance.referent())
|
||||||
.unwrap_or_else(||
|
.unwrap_or_else(||
|
||||||
@ -470,6 +470,9 @@ static CLASS_FUNCTION_DATABASE:CFD=phf::phf_map!{
|
|||||||
"Sound"=>phf::phf_map!{
|
"Sound"=>phf::phf_map!{
|
||||||
"Play"=>NO_OP,
|
"Play"=>NO_OP,
|
||||||
},
|
},
|
||||||
|
"TweenService"=>phf::phf_map!{
|
||||||
|
"Create"=>NO_OP,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
/// A store of created functions for each Roblox class.
|
/// A store of created functions for each Roblox class.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user