-
Notifications
You must be signed in to change notification settings - Fork 459
Allow BufferSerializer to be used directly in game code #2262
Copy link
Copy link
Closed
Labels
type:featureNew feature, request or improvementNew feature, request or improvement
Description
Is your feature request related to a problem? Please describe.
I want to reuse the network serialization for saving object state for save game, however the BufferSerializer constructor is internal so I can't create my own instance of it.
Describe the solution you'd like
Make the BufferSerializer constructor public, as well as BufferSerializerWriter and BufferSerializerReader.
Describe alternatives you've considered
My solution so far is copying the classes mentioned above into my own code, so I can access them, but this obviously isn't ideal, particularly when I update to a newer version.
Another alternative would be to provide a static function (or functions) that will make me a BufferSerializer instance for writing or reading.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:featureNew feature, request or improvementNew feature, request or improvement