Every item has to implement this function, and return a valid hash. Must be exactly the same hash value as ExampleItemRequest::hash() has returned while creating the item.
| 37 | //Every item has to implement this function, and return a valid hash. |
| 38 | //Must be exactly the same hash value as ExampleItemRequest::hash() has returned while creating the item. |
| 39 | unsigned int hash() const |
| 40 | { |
| 41 | return m_hash; |
| 42 | } |
| 43 | |
| 44 | //Every item has to implement this function, and return the complete size this item takes in memory. |
| 45 | //Must be exactly the same value as ExampleItemRequest::itemSize() has returned while creating the item. |
no outgoing calls
no test coverage detected