| 5164 | } |
| 5165 | |
| 5166 | void SetSaveKey(LuaContextInfo& info, const char* key) |
| 5167 | { |
| 5168 | info.dataSaveKey = crc32(0, (const unsigned char*)key, strlen(key)); |
| 5169 | |
| 5170 | if(!info.dataSaveLoadKeySet) |
| 5171 | { |
| 5172 | info.dataLoadKey = info.dataSaveKey; |
| 5173 | info.dataSaveLoadKeySet = true; |
| 5174 | } |
| 5175 | } |
| 5176 | void SetLoadKey(LuaContextInfo& info, const char* key) |
| 5177 | { |
| 5178 | info.dataLoadKey = crc32(0, (const unsigned char*)key, strlen(key)); |
no outgoing calls
no test coverage detected