mirror of
				https://github.com/HappyTanuki/BumbleCee.git
				synced 2025-10-26 09:55:14 +00:00 
			
		
		
		
	큐 완전 개혁
This commit is contained in:
		| @@ -1,19 +1,15 @@ | ||||
| #ifndef _PLAY_HPP_ | ||||
| #define _PLAY_HPP_ | ||||
| #include <CommandType.hpp> | ||||
| #pragma once | ||||
| #include <Commands/CommandType.hpp> | ||||
| #include <BumbleCeepp.hpp> | ||||
| #include <memory> | ||||
|  | ||||
| namespace Commands { | ||||
|     class Play : public ICommand { | ||||
|     public: | ||||
|         Play(std::shared_ptr<BumbleCeepp> Bot); | ||||
| namespace commands { | ||||
| class Play : public ICommand { | ||||
| public: | ||||
|     Play(std::shared_ptr<dpp::cluster> botCluster, std::unordered_map<dpp::snowflake, std::shared_ptr<MusicQueue>> *queueMap); | ||||
|  | ||||
|         void operator()(const dpp::slashcommand_t& Event) {} | ||||
|         void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event); | ||||
|     private: | ||||
|         std::shared_ptr<BumbleCeepp> Bot; | ||||
|     }; | ||||
| } | ||||
|  | ||||
| #endif | ||||
|     void operator()(const dpp::slashcommand_t& event); | ||||
| private: | ||||
|     std::unordered_map<dpp::snowflake, std::shared_ptr<MusicQueue>> *queueMap; | ||||
| }; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user