Change WireLib.TriggerInput
function signature
#2943
Denneisk
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Change
WireLib.TriggerInput
function signature toWireLib.TriggerInput(ent:Entity, name:string, value:any, ext:table?)
(fromWireLib.TriggerInput(ent:Entity, name:string, value:any, ...)
).ext
is a table of extra information to be passed if needed.Currently the function signature takes varargs but it's only used for
OutputIterator
objects (are these even necessary?). The varargs are clearly under-utilized, so mandating it to be a table should not cause a lot of problems and will avoid using varargs.Beta Was this translation helpful? Give feedback.
All reactions