This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NewTimer(0, | |
function() | |
print(CombatLogGetCurrentEventInfo()) | |
end | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not timers then | |
timers = true | |
callback_timers = {} | |
function TableSize(table) | |
local count = 0 | |
for _,_ in pairs(table) do | |
count = count + 1 | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef enum tile { | |
none = 0, | |
forward = 1, | |
right = 7, | |
backward = 5, | |
left = 3 | |
} tile; | |
typedef enum dir { | |
dirtop = 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ZAPPY_LIBRARY_H | |
#define ZAPPY_LIBRARY_H | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <sys/types.h> | |
#if defined(_MSC_VER) | |
#define EXPORT __declspec(dllexport) | |
#define IMPORT __declspec(dllimport) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct gui_handlers_s { | |
void (*on_connect)(session_t id); | |
void (*on_disconnect)(session_t id); | |
void (*on_welcome)(session_t id, packet_welcome_t *); | |
void (*on_map_size_reply)(session_t id, packet_msz_t *); | |
void (*on_tile_content_reply)(session_t id, packet_bct_tile_t *); | |
void (*on_team_name_reply)(session_t id, packet_tna_t *); | |
void (*on_player_position_update)(session_t id, packet_ppo_t *); | |
void (*on_player_level_update)(session_t id, packet_plv_t *); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ZAPPY_LIBRARY_H | |
#define ZAPPY_LIBRARY_H | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <sys/types.h> | |
#if defined(_MSC_VER) | |
#define EXPORT __declspec(dllexport) | |
#define IMPORT __declspec(dllimport) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ZAPPY_LIBRARY_H | |
#define ZAPPY_LIBRARY_H | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <sys/types.h> | |
#include "network.h" | |
#if defined(_MSC_VER) | |
#define EXPORT __declspec(dllexport) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ZAPPY_LIBRARY_H | |
#define ZAPPY_LIBRARY_H | |
#include <stdint.h> | |
#include "poll.h" | |
#include "protocol.h" | |
#define PACKED __attribute__((__packed__)) | |
#if defined(_MSC_VER) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// EPITECH PROJECT, 2018 | |
// | |
// File description: | |
// | |
// | |
#include <Exceptions.hpp> | |
#include <iostream> | |
#include "ConsoleAnalyser.hpp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// EPITECH PROJECT, 2018 | |
// | |
// File description: | |
// | |
// | |
#include "Parser.hpp" | |
#include "Exceptions.hpp" |