Beamable SDK
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UndoPro.SerializableActionHelper.SerializableObjectTwoLevel Class Reference

Wrapper for an arbitrary object that handles basic serialization, both System.Object, UnityEngine.Object, and even basic unserializable types (the same way, but one-level only, unserializable members will be default or null if previously null) More...

Inheritance diagram for UndoPro.SerializableActionHelper.SerializableObjectTwoLevel:
Inheritance graph
[legend]
Collaboration diagram for UndoPro.SerializableActionHelper.SerializableObjectTwoLevel:
Collaboration graph
[legend]

Public Member Functions

 SerializableObjectTwoLevel (object srcObject)
 Create a new SerializableObject from an arbitrary object More...
 
 SerializableObjectTwoLevel (object srcObject, string name)
 Create a new SerializableObject from an arbitrary object with the specified name More...
 
- Public Member Functions inherited from UndoPro.SerializableActionHelper.SerializableObjectOneLevel
 SerializableObjectOneLevel (object srcObject)
 
 SerializableObjectOneLevel (object srcObject, string name)
 

Protected Member Functions

override void Serialize ()
 Serializes the given object and stores it into this SerializableObject More...
 
override void Deserialize ()
 Deserializes this SerializableObject More...
 

Protected Attributes

List< SerializableObjectOneLevelcollectionObjects
 
- Protected Attributes inherited from UndoPro.SerializableActionHelper.SerializableObjectOneLevel
object _object
 
bool isNullObject
 
SerializableType objectType
 
UnityEngine.Object unityObject
 
string serializedSystemObject
 

Additional Inherited Members

- Public Attributes inherited from UndoPro.SerializableActionHelper.SerializableObjectOneLevel
string Name
 
- Static Protected Member Functions inherited from UndoPro.SerializableActionHelper.SerializableObjectOneLevel
static string SerializeToString< T > (T value)
 Serializes 'value' to a string, using BinaryFormatter More...
 
static T DeserializeFromString< T > (string data)
 Deserializes an object of type T from the string 'data' More...
 
- Properties inherited from UndoPro.SerializableActionHelper.SerializableObjectOneLevel
object Object [get]
 

Detailed Description

Wrapper for an arbitrary object that handles basic serialization, both System.Object, UnityEngine.Object, and even basic unserializable types (the same way, but one-level only, unserializable members will be default or null if previously null)

Constructor & Destructor Documentation

◆ SerializableObjectTwoLevel() [1/2]

UndoPro.SerializableActionHelper.SerializableObjectTwoLevel.SerializableObjectTwoLevel ( object  srcObject)
inline

Create a new SerializableObject from an arbitrary object

◆ SerializableObjectTwoLevel() [2/2]

UndoPro.SerializableActionHelper.SerializableObjectTwoLevel.SerializableObjectTwoLevel ( object  srcObject,
string  name 
)
inline

Create a new SerializableObject from an arbitrary object with the specified name

Member Function Documentation

◆ Deserialize()

override void UndoPro.SerializableActionHelper.SerializableObjectTwoLevel.Deserialize ( )
inlineprotectedvirtual

◆ Serialize()

override void UndoPro.SerializableActionHelper.SerializableObjectTwoLevel.Serialize ( )
inlineprotectedvirtual

Serializes the given object and stores it into this SerializableObject

Reimplemented from UndoPro.SerializableActionHelper.SerializableObjectOneLevel.


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