bot.cpp

来自「This programm is proxy server for ragnar」· C++ 代码 · 共 42 行

CPP
42
字号
#include "bot.h"
#include <limits.h>
#include "../buffers.h"
#include "../proto/proto.h"
#include "../proto/ttg_proto.h"
#include "../proto/ctt_proto.h"
#include "../proto/stt_proto.h"
//#include "inject.h"
#include "map/map.h"
//#include "map/path.h"
#include "walk.h"
#include "statistic.h"
#include "../timers.h"
//#include "../game.h"

char bot_s[256];

TEventMap events;
//////////////////

//////////////////

int bot_init()
{
    // bots initialization
//    MyAssert( stat_init(), "", 0);
//    MyAssert( walk_init(), "", 0);

    // parsers registration
//    register_parser(DIR_CTT, -1, PC_CTT_GLOBALMESSAGE,     bot_on_CTT_GlobalMessage);

    return 1;
}

void bot_finish()
{
    walk_finish();
    stat_finish();
}

// ================
    /* 项腓泐

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?