| 117 | } |
| 118 | |
| 119 | ByteArray ItemDrop::netStore(NetCompatibilityRules rules) const { |
| 120 | DataStreamBuffer ds; |
| 121 | ds.setStreamCompatibilityVersion(rules); |
| 122 | |
| 123 | ds.write(itemSafeDescriptor(m_item)); |
| 124 | ds.write(m_eternal); |
| 125 | ds.write(m_dropAge); |
| 126 | ds.write(m_intangibleTimer); |
| 127 | |
| 128 | return ds.takeData(); |
| 129 | } |
| 130 | |
| 131 | EntityType ItemDrop::entityType() const { |
| 132 | return EntityType::ItemDrop; |
nothing calls this directly
no test coverage detected