为了让文件保持整洁,我们对新的文件头使用统一的标准格式。
所有文件的标准文件头:
/*
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
从其他开发者那里精选(cherry-pick)的代码:
请确保原作者已出现在 AUTHORS 文件中,否则需要将该作者添加进去。如果代码来自其他组织,那么您只需要确保该组织的名称存在即可。