| 32 | |
| 33 | |
| 34 | U32 ResourceBase::Header::getChecksum() const |
| 35 | { |
| 36 | Torque::FS::FileNodeRef fileRef = Torque::FS::GetFileNode( mPath ); |
| 37 | |
| 38 | if ( fileRef == NULL ) |
| 39 | { |
| 40 | Con::errorf("ResourceBase::getChecksum could not access file: [%s]", mPath.getFullPath().c_str() ); |
| 41 | return 0; |
| 42 | } |
| 43 | |
| 44 | return fileRef->getChecksum(); |
| 45 | } |
| 46 | |
| 47 | void ResourceBase::Header::destroySelf() |
| 48 | { |
nothing calls this directly
no test coverage detected