(methods: &mut T)
| 41 | impl UserData for EntityWrapper {} |
| 42 | impl UserData for SocietyHandle { |
| 43 | fn add_methods<'lua, T: UserDataMethods<'lua, Self>>(methods: &mut T) { |
| 44 | methods.add_meta_function(MetaMethod::ToString, |_, this: Self| { |
| 45 | Ok(format!("{:?}", this)) |
| 46 | }); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | impl Scripting for LuaScripting { |
nothing calls this directly
no outgoing calls
no test coverage detected