ashoulson / RailgunNet

A Client/Server Network State-Synchronization Layer for Games
Other
154 stars 21 forks source link

Support for "initialization only" values on states #14

Closed ashoulson closed 8 years ago

ashoulson commented 8 years ago

If we're doing a full encode, we can just grab the latest state and copy over the initialization only values. Or to be safe, save the very first state and use that. Also can add "created tick" as an initialization value since it may be different from the tick the first state was sent from.

ashoulson commented 8 years ago

enum SendMode { First, Full, Delta, }