| 100 | } |
| 101 | |
| 102 | bool SampleInputMappingAsset::checksumCheck() |
| 103 | { |
| 104 | PxU32 userInputCS = 0; |
| 105 | if(!mSettingsBlock->getBlockU32("UserInputCS",&userInputCS)) |
| 106 | { |
| 107 | return false; |
| 108 | } |
| 109 | |
| 110 | PxU32 inputEventCS = 0; |
| 111 | if(!mSettingsBlock->getBlockU32("InputEventCS",&inputEventCS)) |
| 112 | { |
| 113 | return false; |
| 114 | } |
| 115 | |
| 116 | if(mUserInputCS != userInputCS) |
| 117 | { |
| 118 | return false; |
| 119 | } |
| 120 | |
| 121 | if(mInputEventCS != inputEventCS) |
| 122 | { |
| 123 | return false; |
| 124 | } |
| 125 | |
| 126 | return true; |
| 127 | } |
| 128 | |
| 129 | SampleInputMappingAsset::~SampleInputMappingAsset() |
| 130 | { |
nothing calls this directly
no test coverage detected