1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-10 01:12:52 +00:00

Change-Id: I0000000000000000000000000000000000000000

Change-Id: Idb54de2399013c159bda588be1ce065b8314af60
Change-Id: I8b913da4fe5139078b935b99e8e1aaa091480a75
This commit is contained in:
rogiel
2011-05-04 14:22:42 -03:00
parent 9a6c0233e9
commit 81d2babede
60 changed files with 274 additions and 126 deletions

View File

@@ -0,0 +1,24 @@
package com.l2jserver.model.id.object;
import com.google.inject.Inject;
import com.l2jserver.db.dao.PetDAO;
import com.l2jserver.model.id.ObjectID;
import com.l2jserver.model.world.Pet;
public final class PetID extends ObjectID<Pet> {
/**
* Data Access Object (DAO) for pets
*/
private final PetDAO petDao;
@Inject
protected PetID(int id, PetDAO petDao) {
super(id);
this.petDao = petDao;
}
@Override
public Pet getObject() {
return petDao.load(this);
}
}