test-client-godot/modules/referentialmessage/referentialmessage.h

46 lines
1.4 KiB
C
Raw Normal View History

2020-03-30 20:20:59 +00:00
/*
Header ReferentialMessage : Class to store referential to decode message
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/>.
*/
#ifndef REFERENTIAL_MESSAGE_H
#define REFERENTIAL_MESSAGE_H
#include "core/reference.h"
//#include "core/dictionary.h"
//#include "modules/bitstream/bitstream.h"
#include "modules/referentialmessage/referentialmessagecore.h"
class ReferentialMessage : public Reference {
GDCLASS(ReferentialMessage, Reference)
protected:
static void _bind_methods();
public:
ReferentialMessage() {}
~ReferentialMessage() {}
/* _init must exist as it is called by Godot */
void _init() {};
void read_referential(Dictionary dictionary_message);
void show();
2020-04-11 11:56:47 +00:00
int read_command(Ref<BitStream> msgin);
2020-03-30 20:20:59 +00:00
void clear_session();
};
#endif