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

Wrapper for an arbitrary object that handles basic serialization, both System.Object, UnityEngine.Object; unserializable types will be default or null if previously null; NO RECOMMENDED TO USE, it is primarily built to support SerializableObject! More...

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

Public Member Functions

 SerializableObjectOneLevel (object srcObject)
 
 SerializableObjectOneLevel (object srcObject, string name)
 

Public Attributes

string Name
 

Protected Member Functions

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

Static Protected Member Functions

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...
 

Protected Attributes

object _object
 
bool isNullObject
 
SerializableType objectType
 
UnityEngine.Object unityObject
 
string serializedSystemObject
 

Properties

object Object [get]
 

Detailed Description

Wrapper for an arbitrary object that handles basic serialization, both System.Object, UnityEngine.Object; unserializable types will be default or null if previously null; NO RECOMMENDED TO USE, it is primarily built to support SerializableObject!

Member Function Documentation

◆ Deserialize()

virtual void UndoPro.SerializableActionHelper.SerializableObjectOneLevel.Deserialize ( )
inlineprotectedvirtual

◆ DeserializeFromString< T >()

static T UndoPro.SerializableActionHelper.SerializableObjectOneLevel.DeserializeFromString< T > ( string  data)
inlinestaticprotected

Deserializes an object of type T from the string 'data'

◆ Serialize()

virtual void UndoPro.SerializableActionHelper.SerializableObjectOneLevel.Serialize ( )
inlineprotectedvirtual

◆ SerializeToString< T >()

static string UndoPro.SerializableActionHelper.SerializableObjectOneLevel.SerializeToString< T > ( value)
inlinestaticprotected

Serializes 'value' to a string, using BinaryFormatter


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