void GroupObjectImplementation::startChatRoom() { Reference<CreatureObject*> leader = groupMembers.get(0).get().castTo<CreatureObject*>(); ChatManager* chatManager = server->getZoneServer()->getChatManager(); chatRoom = chatManager->createGroupRoom(getObjectID(), leader); }
void GroupObjectImplementation::startChatRoom(CreatureObject* leader) { ChatManager* chatManager = server->getZoneServer()->getChatManager(); chatRoom = chatManager->createGroupRoom(getObjectID(), leader); }