|
static bool | store (List< Directories > hierarchie, string name, T payload, bool use_install_folder=false, bool overwrite=true, bool deep_store=true) |
|
static bool | store_children (List< Directories > hierarchie, string name, T payload, bool use_install_folder=false, bool overwrite=true, bool deep_store=true) |
|
static bool | load_children (List< Directories > hierarchie, string name, ref T raw_payload, bool use_install_folder=false, bool deep_load=true, bool post_process=true) |
|
static bool | load (List< Directories > hierarchie, string name, out T payload, bool use_install_folder=false, bool deep_load=true, bool post_process=true) |
|
static T | postprocess (T payload) |
|
static T | preprocess (T payload) |
|
static void | delete_children (List< Directories > hierarchie, string name, bool use_install_folder=false, int skip_last_children=0) |
|
static bool | delete (List< Directories > hierarchie, string name, bool use_install_folder=false) |
|
|
static List< Directories > | hierarchie = new List<Directories> { Directories.misc } |
|
|
string | name [getset] |
|
string | path [getset] |
|
◆ _IJGetHierarchie()
virtual List< Directories > IJSONsavable< T >._IJGetHierarchie |
( |
List< Directories > |
hierarchie_base | ) |
|
|
virtual |
◆ _IJGetName()
◆ _IJGetRawObject()
virtual bool IJSONsavable< T >._IJGetRawObject |
( |
out T |
payload, |
|
|
string |
path |
|
) |
| |
|
virtual |
◆ _IJPostProcess()
◆ _IJPreProcess()
◆ delete() [1/2]
static bool IJSONsavable< T >.delete |
( |
List< Directories > |
hierarchie, |
|
|
string |
name, |
|
|
bool |
use_install_folder = false |
|
) |
| |
|
static |
◆ delete() [2/2]
◆ delete_children()
static void IJSONsavable< T >.delete_children |
( |
List< Directories > |
hierarchie, |
|
|
string |
name, |
|
|
bool |
use_install_folder = false , |
|
|
int |
skip_last_children = 0 |
|
) |
| |
|
static |
◆ load()
static bool IJSONsavable< T >.load |
( |
List< Directories > |
hierarchie, |
|
|
string |
name, |
|
|
out T |
payload, |
|
|
bool |
use_install_folder = false , |
|
|
bool |
deep_load = true , |
|
|
bool |
post_process = true |
|
) |
| |
|
static |
◆ load_children()
static bool IJSONsavable< T >.load_children |
( |
List< Directories > |
hierarchie, |
|
|
string |
name, |
|
|
ref T |
raw_payload, |
|
|
bool |
use_install_folder = false , |
|
|
bool |
deep_load = true , |
|
|
bool |
post_process = true |
|
) |
| |
|
static |
◆ postprocess()
◆ preprocess()
◆ store() [1/2]
bool IJSONsavable< T >.store |
( |
List< Directories > |
hierarchie, |
|
|
string |
name, |
|
|
bool |
use_install_folder = false , |
|
|
bool |
overwrite = true , |
|
|
bool |
deep_store = true |
|
) |
| |
◆ store() [2/2]
static bool IJSONsavable< T >.store |
( |
List< Directories > |
hierarchie, |
|
|
string |
name, |
|
|
T |
payload, |
|
|
bool |
use_install_folder = false , |
|
|
bool |
overwrite = true , |
|
|
bool |
deep_store = true |
|
) |
| |
|
static |
◆ store_children() [1/2]
bool IJSONsavable< T >.store_children |
( |
List< Directories > |
hierarchie, |
|
|
string |
name, |
|
|
bool |
use_install_folder = false , |
|
|
bool |
overwrite = true , |
|
|
bool |
deep_store = true |
|
) |
| |
◆ store_children() [2/2]
static bool IJSONsavable< T >.store_children |
( |
List< Directories > |
hierarchie, |
|
|
string |
name, |
|
|
T |
payload, |
|
|
bool |
use_install_folder = false , |
|
|
bool |
overwrite = true , |
|
|
bool |
deep_store = true |
|
) |
| |
|
static |
◆ hierarchie
List<Directories> IJSONsavable< T >.hierarchie = new List<Directories> { Directories.misc } |
|
staticprotected |
◆ Instance
◆ JsonAutoPostProcessFields
readonly FieldInfo [] IJSONsavable< T >.JsonAutoPostProcessFields |
|
static |
Initial value:=
typeof(T)
.GetFields(
BindingFlags.Instance |
BindingFlags.Public |
BindingFlags.NonPublic |
BindingFlags.Static)
.Where((field)
=> !field.GetCustomAttributes().Any((attribute)
=> attribute.GetType() == typeof(JsonIgnoreAttribute))
&& field.GetCustomAttributes().Any((attribute)
&& field.FieldType.GetInterfaces().Any((inter)
=> inter.IsGenericType && inter.GetGenericTypeDefinition() == typeof(
IJSONsavable<>)))
.ToArray()
Definition: IJSONsavable.cs:335
Definition: IJSONsavable.cs:330
Definition: IJSONsavable.cs:14
◆ JsonAutoPreProcessFields
readonly FieldInfo [] IJSONsavable< T >.JsonAutoPreProcessFields |
|
static |
Initial value:=
typeof(T)
.GetFields(
BindingFlags.Instance |
BindingFlags.Public |
BindingFlags.NonPublic |
BindingFlags.Static)
.Where((field)
=> !field.GetCustomAttributes().Any((attribute)
=> attribute.GetType() == typeof(JsonIgnoreAttribute))
&& field.GetCustomAttributes().Any((attribute)
&& field.FieldType.GetInterfaces().Any((inter)
=> inter.IsGenericType && inter.GetGenericTypeDefinition() == typeof(
IJSONsavable<>)))
.ToArray()
Definition: IJSONsavable.cs:338
◆ JsonSaveableFields
Initial value:=
typeof(T)
.GetFields(
BindingFlags.Instance |
BindingFlags.Public |
BindingFlags.NonPublic |
BindingFlags.Static)
.Where((field)
=> !field.GetCustomAttributes().Any((attribute)
=> attribute.GetType() == typeof(JsonIgnoreAttribute))
&& field.FieldType.GetInterfaces().Any((inter)
=> inter.IsGenericType && inter.GetGenericTypeDefinition() == typeof(
IJSONsavable<>)))
.ToArray()
◆ JsonSeperateFields
Initial value:=
typeof(T)
.GetFields(
BindingFlags.Instance |
BindingFlags.Public |
BindingFlags.NonPublic |
BindingFlags.Static)
.Where((field)
=> field.GetCustomAttributes().Any((attribute)
&& field.FieldType.GetInterfaces().Any((inter)
=> inter.IsGenericType && inter.GetGenericTypeDefinition() == typeof(
IJSONsavable<>)))
.ToArray()
Definition: IJSONsavable.cs:332
◆ name
◆ path
The documentation for this interface was generated from the following file:
- D:/Users/marco/Dokuments/OneDrive/FAU/Informatik/!UFrameIT/FrameIT/MaZiFAU/Assets/Scripts/Utility/IJSONsavable.cs