49 lines
No EOL
1.3 KiB
C++
49 lines
No EOL
1.3 KiB
C++
/*
|
|
Header Action
|
|
|
|
Copyright (C) 2019 AleaJactaEst
|
|
|
|
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 3 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/>.
|
|
|
|
*/
|
|
|
|
#include "core/object.h"
|
|
|
|
#ifndef ACTION_H
|
|
#define ACTION_H
|
|
|
|
class Action : public Object
|
|
{
|
|
GDCLASS(Action, Object)
|
|
protected:
|
|
static void _bind_methods();
|
|
public:
|
|
enum CODE {
|
|
ACTION_POSITION_CODE = 0,
|
|
ACTION_GENERIC_CODE = 1,
|
|
ACTION_GENERIC_MULTI_PART_CODE = 2,
|
|
ACTION_SINT64 = 3,
|
|
ACTION_SYNC_CODE = 10,
|
|
ACTION_DISCONNECTION_CODE = 11,
|
|
ACTION_ASSOCIATION_CODE = 12,
|
|
ACTION_LOGIN_CODE = 13,
|
|
ACTION_TARGET_SLOT_CODE = 40,
|
|
ACTION_DUMMY_CODE = 99,
|
|
ACTION_NONE = 999
|
|
};
|
|
};
|
|
|
|
VARIANT_ENUM_CAST(Action::CODE);
|
|
|
|
#endif |