Changeset 272 for trunk/src/game/Item.h
- Timestamp:
- 11/22/08 00:35:41 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Item.h
r260 r272 11 11 * This program is distributed in the hope that it will be useful, 12 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 14 * GNU General Public License for more details. 15 15 * 16 16 * You should have received a copy of the GNU General Public License 17 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307USA18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 19 */ 20 20 … … 229 229 bool GemsFitSockets() const; 230 230 231 uint32 GetEntry() const { return GetUInt32Value(OBJECT_FIELD_ENTRY); } 231 232 uint32 GetCount() const { return GetUInt32Value (ITEM_FIELD_STACK_COUNT); } 232 233 void SetCount(uint32 value) { SetUInt32Value (ITEM_FIELD_STACK_COUNT, value); }