/** チェック。 */ public static bool Check(Item a_from, Item a_to) { if (a_to == null) { UnityEngine.Debug.LogWarning("mismatch : null"); return(false); } bool t_result = true; t_result &= Simple.Check_Bool("value_bool", (bool)a_from.value_bool, (bool)a_to.value_bool); t_result &= Simple.Check_Ulong("value_sbyte", (ulong)(sbyte)a_from.value_sbyte, (ulong)a_to.value_sbyte); t_result &= Simple.Check_Ulong("value_byte", (ulong)(byte)a_from.value_byte, (ulong)a_to.value_byte); t_result &= Simple.Check_Ulong("value_short", (ulong)(short)a_from.value_short, (ulong)a_to.value_short); t_result &= Simple.Check_Ulong("value_ushort", (ulong)(ushort)a_from.value_ushort, (ulong)a_to.value_ushort); t_result &= Simple.Check_Ulong("value_int", (ulong)(int)a_from.value_int, (ulong)a_to.value_int); t_result &= Simple.Check_Ulong("value_uint", (ulong)(uint)a_from.value_uint, (ulong)a_to.value_uint); t_result &= Simple.Check_Ulong("value_long", (ulong)(long)a_from.value_long, (ulong)a_to.value_long); t_result &= Simple.Check_Ulong("value_ulong", (ulong)a_from.value_ulong, (ulong)a_to.value_ulong); t_result &= Simple.Check_Ulong("value_char", (ulong)(char)a_from.value_char, (ulong)a_to.value_char); t_result &= Simple.Check_Double("value_float", (double)(float)a_from.value_float, (double)a_to.value_float); t_result &= Simple.Check_Double("value_double", (double)a_from.value_double, (double)a_to.value_double); t_result &= Simple.Check_Decimal("value_decimal", (decimal)a_from.value_decimal, (decimal)a_to.value_decimal); //value_list t_result &= Simple.Check_Enumerator("value_list", (System.Collections.Generic.List <int>)a_from.value_list, (System.Collections.Generic.List <System.Object>)a_to.value_list, (string a_a_label, int a_a_index, in int a_a_from, in System.Object a_a_to) => { bool t_t_result = true; t_t_result &= Simple.Check_Int(a_a_label, a_a_from, (int)(ulong)a_a_to); return(t_t_result); });
/** チェック。 */ public static bool Check(Item a_from, Item a_to) { if (a_to == null) { UnityEngine.Debug.LogWarning("mismatch : null"); return(false); } bool t_result = true; //value_list t_result &= Simple.Check_Enumerator("value_list", a_from.value_list, a_to.value_list, (string a_a_label, int a_a_index, in Item a_a_from, in Item a_a_to) => { bool t_t_result = true; t_t_result &= Simple.Check_NullObject(a_a_label, a_a_from, a_a_to); return(t_t_result); });
/** チェック。 */ public static bool Check(System.Collections.Generic.SortedSet <int> a_from, System.Collections.Generic.SortedSet <int> a_to) { if (a_to == null) { UnityEngine.Debug.LogWarning("mismatch : null"); return(false); } bool t_result = true; t_result &= Simple.Check_Enumerator("", a_from, a_to, (string a_a_label, int a_a_index, in int a_a_from, in int a_a_to) => { bool t_t_result = true; t_t_result &= Simple.Check_Int(a_a_label, a_a_from, a_a_to); return(t_t_result); }); return(t_result); }
/** チェック。 */ public static bool Check(int[] a_from, int[] a_to) { if (a_to == null) { UnityEngine.Debug.LogWarning("mismatch : null"); return(false); } bool t_result = true; t_result &= Simple.Check_Enumerator("", a_from, a_to, (string a_a_label, int a_a_index, in int a_a_from, in int a_a_to) => { bool t_t_result = true; t_t_result &= Simple.Check_Int(a_a_label, a_a_from, a_a_to); return(t_t_result); }); return(t_result); }
/** チェック。 */ public static bool Check(Item a_from, Item a_to) { if (a_to == null) { UnityEngine.Debug.LogWarning("mismatch : null"); return(false); } bool t_result = true; Simple.Check_Enumerator("arraylist", a_from.arraylist, a_to.arraylist, (string a_a_label, int a_a_index, in System.Object a_a_from, in System.Object a_a_to) => { bool t_t_result = true; switch (a_a_index) { case 0: { t_t_result &= Simple.Check_String("0:value_string", ((Item_Value)a_a_from).value_string, (string)(((System.Collections.Generic.Dictionary <string, System.Object>)a_a_to)["value_string"])); t_t_result &= Simple.Check_Bool("1:value_bool", ((Item_Value)a_a_from).value_bool, (bool)(((System.Collections.Generic.Dictionary <string, System.Object>)a_a_to)["value_bool"])); } break; case 1: { t_t_result &= Simple.Check_Int("1", (int)a_a_from, (int)(ulong)a_a_to); } break; case 2: { t_t_result &= Simple.Check_String("2", (string)a_a_from, (string)a_a_to); } break; case 3: { t_t_result &= Simple.Check_Byte("3", (byte)a_a_from, (byte)(ulong)a_a_to); } break; case 4: { t_t_result &= Simple.Check_Enumerator("4", (System.Collections.Generic.List <int>)a_a_from, (System.Collections.Generic.List <System.Object>)a_a_to, (string a_a_a_label, int a_a_a_index, in int a_a_a_from, in System.Object a_a_a_to) => { bool t_t_t_result = true; t_t_t_result &= Simple.Check_Int(a_a_a_label, (int)a_a_a_from, (int)(ulong)a_a_a_to); return(t_t_t_result); }); } break;
/** チェック。 */ public static bool Check(Item a_from, Item a_to) { if (a_to == null) { UnityEngine.Debug.LogWarning("mismatch : null"); return(false); } bool t_result = true; t_result &= Simple.Check_Enum("value_type", a_from.value_type, a_to.value_type); t_result &= Simple.Check_Enum("value_type_int", a_from.value_type_int, a_to.value_type_int); t_result &= Simple.Check_Enum("value_type_string", a_from.value_type_string, a_to.value_type_string); //list_type t_result &= Simple.Check_Enumerator("list_type", a_from.list_type, a_to.list_type, (string a_a_label, int a_a_index, in Type a_a_from, in Type a_a_to) => { bool t_t_result = true; t_t_result &= Simple.Check_Enum(a_a_label, a_a_from, a_a_to); return(t_t_result); });