forked from StrafesNET/strafe-project
roblox_emulator: Sound:Play() stub
This commit is contained in:
@@ -450,9 +450,10 @@ const GET_SERVICE:ClassFunctionPointer=cf!(|lua,_this,service:mlua::String|{
|
||||
}
|
||||
})
|
||||
});
|
||||
const GET_PLAYERS:ClassFunctionPointer=cf!(|_lua,_this,()|{
|
||||
Ok::<_,mlua::Error>(Vec::<Instance>::new())
|
||||
const GET_PLAYERS:ClassFunctionPointer=cf!(|_lua,_this,()|->mlua::Result<_>{
|
||||
Ok(Vec::<Instance>::new())
|
||||
});
|
||||
const NO_OP:ClassFunctionPointer=cf!(|_lua,_this,_:mlua::MultiValue|->mlua::Result<_>{Ok(())});
|
||||
static CLASS_FUNCTION_DATABASE:CFD=phf::phf_map!{
|
||||
"DataModel"=>phf::phf_map!{
|
||||
"service"=>GET_SERVICE,
|
||||
@@ -465,7 +466,10 @@ static CLASS_FUNCTION_DATABASE:CFD=phf::phf_map!{
|
||||
"Players"=>phf::phf_map!{
|
||||
"players"=>GET_PLAYERS,
|
||||
"GetPlayers"=>GET_PLAYERS,
|
||||
}
|
||||
},
|
||||
"Sound"=>phf::phf_map!{
|
||||
"Play"=>NO_OP,
|
||||
},
|
||||
};
|
||||
|
||||
/// A store of created functions for each Roblox class.
|
||||
|
||||
Reference in New Issue
Block a user