PredictionV2 Generic Types #545
Replies: 2 comments
-
This would be pretty useful to enforce in-house rules about how networked code should be organized and written. For example:
I've got ~3 projects looking to use FishNet for various things (a Fighting Game's Lobby and a couple of other experimental prototypes). This would be a great help for all these projects as it would really support my teams preferred coding-style. (I'd be happy to discuss more about my use-cases and the projects themselves if you need further clarity) |
Beta Was this translation helpful? Give feedback.
-
This would very much require some rework in the codegen. I can see the uses of this change but it would be a significant amount of work which isn't on the table at the moment. Normally I'd keep something like this open if I could provide a reasonable turn-around time, but I really cannot so I'll be closing it out. Sorry. |
Beta Was this translation helpful? Give feedback.
-
It would be nice to support generic types for the replicate and reconcile methods so that abstract template methods can simply be filled out in derived classes. The derived classes would not need to directly use Tick or PostTick, nor the attributes.
Currently, a simple setup like the one shown above will generate the following unhandled error in the IL postprocessor:
Beta Was this translation helpful? Give feedback.
All reactions