Comment tweaks
This commit is contained in:
@@ -121,7 +121,7 @@ end
|
||||
roomManagerAPI.SetOnCreate(function(room, index)
|
||||
print("", "Creating room: ", roomAPI.GetName(room), index)
|
||||
|
||||
--TODO:creatureManager with SetOnCreate, SetOnUnload & create
|
||||
--creatureManager with SetOnCreate, SetOnUnload & create & unload
|
||||
creatureManagerAPI.SetOnCreate(roomAPI.GetCreatureMgr(room), function(creature, index)
|
||||
--
|
||||
end)
|
||||
@@ -132,7 +132,7 @@ roomManagerAPI.SetOnCreate(function(room, index)
|
||||
|
||||
creatureManagerAPI.Create(roomAPI.GetCreatureMgr(room), "anibunny.png", bunnySquare)
|
||||
|
||||
--TODO: (0) barrierManager with Create
|
||||
--creatureManager with SetOnCreate, SetOnUnload & create & unload
|
||||
barrierManagerAPI.SetOnCreate(roomAPI.GetBarrierMgr(room), function(barrier)
|
||||
barrierAPI.SetScript(barrier, barrierTick)
|
||||
end)
|
||||
|
||||
@@ -817,7 +817,7 @@ void ServerApplication::hQueryCreatureExists(CreaturePacket* const argPacket) {
|
||||
|
||||
CreatureManager* creatureMgr = roomMgr.Find(argPacket->roomIndex)->GetCreatureMgr();
|
||||
|
||||
//TODO: (0) move this into the room class
|
||||
//TODO: (0) move this into the room class?
|
||||
for (auto& it : *(creatureMgr->GetContainer()) ) {
|
||||
copyCreatureToPacket(&newPacket, &(it.second), it.first);
|
||||
newPacket.type = SerialPacketType::QUERY_CREATURE_EXISTS;
|
||||
@@ -838,7 +838,7 @@ void ServerApplication::hQueryBarrierExists(BarrierPacket* const argPacket) {
|
||||
|
||||
BarrierManager* barrierMgr = roomMgr.Find(argPacket->roomIndex)->GetBarrierMgr();
|
||||
|
||||
//TODO: (0) move this into the room class
|
||||
//TODO: (0) move this into the room class?
|
||||
for (auto& it : *(barrierMgr->GetContainer()) ) {
|
||||
copyBarrierToPacket(&newPacket, &(it.second), it.first);
|
||||
newPacket.type = SerialPacketType::QUERY_BARRIER_EXISTS;
|
||||
|
||||
Reference in New Issue
Block a user