Beamable SDK
Public Member Functions | List of all members
Beamable.Server.MongoSerializationService Class Reference
Inheritance diagram for Beamable.Server.MongoSerializationService:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Server.MongoSerializationService:
Collaboration graph
[legend]

Public Member Functions

void Init ()
 
IMongoSerializationService RegisterStruct< T > ()
 The MongoDB driver won't automatically serialize structs correctly. You'll need to manually register your structs with this function. This function will enable serialization of the T, and List<T> More...
 

Member Function Documentation

◆ RegisterStruct< T >()

IMongoSerializationService Beamable.Server.MongoSerializationService.RegisterStruct< T > ( )
inline

The MongoDB driver won't automatically serialize structs correctly. You'll need to manually register your structs with this function. This function will enable serialization of the T, and List<T>

Template Parameters
TSome type of struct.
Returns
The same IMongoSerializationService instance to support method chaining

Implements Beamable.Server.IMongoSerializationService.

Type Constraints
T :struct 

The documentation for this class was generated from the following file: