| 96 | } |
| 97 | |
| 98 | String DbObject::HashValue(const Value& value) |
| 99 | { |
| 100 | Value temp; |
| 101 | |
| 102 | Type::Ptr type = value.GetReflectionType(); |
| 103 | |
| 104 | if (ConfigObject::TypeInstance->IsAssignableFrom(type)) |
| 105 | temp = Serialize(value, FAConfig); |
| 106 | else |
| 107 | temp = value; |
| 108 | |
| 109 | return SHA256(JsonEncode(temp)); |
| 110 | } |
| 111 | |
| 112 | void DbObject::SendConfigUpdateHeavy(const Dictionary::Ptr& configFields) |
| 113 | { |
nothing calls this directly
no test coverage detected