Minor refactor for LuaUserData.lua
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
local Register = LuaSetup.Register
|
||||
local RegisterBarotrauma = LuaSetup.RegisterBarotrauma
|
||||
local Register = LuaSetup.LuaUserData.RegisterType
|
||||
local RegisterBarotrauma = LuaSetup.LuaUserData.RegisterTypeBarotrauma
|
||||
|
||||
Register("System.TimeSpan")
|
||||
Register("System.Exception")
|
||||
@@ -8,6 +8,9 @@ RegisterBarotrauma("LuaByte")
|
||||
RegisterBarotrauma("LuaUShort")
|
||||
RegisterBarotrauma("LuaFloat")
|
||||
|
||||
RegisterBarotrauma("Range`1[System.Single]")
|
||||
RegisterBarotrauma("Range`1[System.Int32]")
|
||||
|
||||
RegisterBarotrauma("Level+InterestingPosition")
|
||||
|
||||
RegisterBarotrauma("RichString")
|
||||
@@ -245,6 +248,8 @@ RegisterBarotrauma("Decal")
|
||||
RegisterBarotrauma("DecalPrefab")
|
||||
RegisterBarotrauma("DecalManager")
|
||||
|
||||
RegisterBarotrauma("PriceInfo")
|
||||
|
||||
Register("Microsoft.Xna.Framework.Vector2")
|
||||
Register("Microsoft.Xna.Framework.Vector3")
|
||||
Register("Microsoft.Xna.Framework.Vector4")
|
||||
|
||||
Reference in New Issue
Block a user