/** チェック。 */ 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; //sorted_dictionary t_result &= Simple.Check_Dictionary("sorted_dictionary", a_from.sorted_dictionary, a_to.sorted_dictionary, (string a_a_llabel, 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_llabel, a_a_from, a_a_to); return(t_t_result); }); //sorted_list t_result &= Simple.Check_Dictionary("sorted_list", a_from.sorted_list, a_to.sorted_list, (string a_a_llabel, 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_llabel, 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; t_result &= Simple.Check_Dictionary("list_type", a_from.list_type, a_to.list_type, (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); }); t_result &= Simple.Check_Dictionary("list_int", a_from.list_int, a_to.list_int, (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); }); t_result &= Simple.Check_Dictionary("list_class", a_from.list_class, a_to.list_class, (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(System.Collections.Generic.Dictionary <string, int> a_from, System.Collections.Generic.Dictionary <string, int> a_to) { if (a_to == null) { UnityEngine.Debug.LogWarning("mismatch : null"); return(false); } bool t_result = true; t_result &= Simple.Check_Dictionary("", 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); }