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

	chatRoom = chatManager->createGroupRoom(getObjectID(), leader);
}
コード例 #2
0
void GroupObjectImplementation::startChatRoom(CreatureObject* leader) {
	ChatManager* chatManager = server->getZoneServer()->getChatManager();

	chatRoom = chatManager->createGroupRoom(getObjectID(), leader);
}