dont register the InputType enum, leaving it as numbers is more convenient

This commit is contained in:
Evil Factory
2022-04-02 15:59:05 -03:00
parent 3bcf97201a
commit a404ed1680
2 changed files with 3 additions and 2 deletions

View File

@@ -42,7 +42,9 @@ defaultLib["TraitorMessageType"] = CreateStatic("Barotrauma.Networking.TraitorMe
defaultLib["CombatMode"] = CreateStatic("Barotrauma.AIObjectiveCombat+CombatMode")
defaultLib["CauseOfDeathType"] = CreateStatic("Barotrauma.CauseOfDeathType")
defaultLib["CharacterTeamType"] = CreateStatic("Barotrauma.CharacterTeamType")
defaultLib["InputType"] = CreateStatic("Barotrauma.InputType")
defaultLib["InputType"] = {
Select = 0, Use = 1, Aim = 2, Up = 3, Down = 4, Left = 5, Right = 6, Attack = 7, Run = 8, Crouch = 9, InfoTab = 10, Chat = 11, RadioChat = 12, CrewOrders = 13, Ragdoll = 14, Health = 15, Grab = 16, SelectNextCharacter = 17, SelectPreviousCharacter = 18, Voice = 19, LocalVoice = 20, Deselect = 21, Shoot = 22, Command = 23, ToggleInventory = 24, TakeOneFromInventorySlot = 25, TakeHalfFromInventorySlot = 26, NextFireMode = 27, PreviousFireMode = 28
}
defaultLib["ClientPermissions"] = {
None = 0x0,

View File

@@ -200,7 +200,6 @@ Register("FarseerPhysics.Dynamics.Fixture")
RegisterBarotrauma("Physics")
RegisterBarotrauma("Camera")
RegisterBarotrauma("InputType")
RegisterBarotrauma("Key")
RegisterBarotrauma("PrefabCollection`1[[Barotrauma.ItemPrefab]]")