spencer-melnick / Threshold

Untitled Unreal Engine project
Other
6 stars 2 forks source link

Make input buffering code more portable #39

Closed spencer-melnick closed 3 years ago

spencer-melnick commented 3 years ago

Right now the input buffering code requires a decent amount of boilerplate to set up a buffered input value, transmit it across the network, and wait for the data to be received. This should be made a bit more portable so the ability only provides a simple function for generating the input, and a separate function to be called during ability activation handles splitting the server/client/listen server logic.

spencer-melnick commented 3 years ago

So this seems a bit more challenging than I anticipated, mainly because ability tasks only allow a single type of delegate, but I did add a few helper functions and shortened some of the code in the dodge and interaction abilities.