⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statistic.h

📁 This programm is proxy server for ragnarok online game. Also it s can be use as bot. It control all
💻 H
字号:
#ifndef __STATISTIC_H
#define __STATISTIC_H

#pragma once

#pragma warning(disable:4786)  // anti-STL
#include <map>

#include "../win_and_sock.h"
#include "map/map.h" // struct walkpath_data
#include "../game.h"
#include "../data.h"
#include "../timers.h"

typedef struct CharData
{
    short x,y;
    char dir;
    short to_x, to_y;
    struct walkpath_data walkpath;
    TimersSetT::iterator walktimer;
    WORD speed;
    char name[NAME_LENGTH];
}CharData;

extern CharData sd;


typedef struct TItem
{
    DWORD itemid;
    WORD viewid;
    WORD x,y;
    WORD amount;
    DWORD forgetme_timer;
}TItem;

typedef std::map <DWORD, TItem> ItemMapT;

// items on the ground
extern ItemMapT items;


////////////////////////
int stat_init(void);
void stat_finish(void);

DWORD stat_get_serv_time(ParsePoint * pp);

int stat_on_STT_Char(ParsePoint * pp);
int stat_on_STT_AuthOk(ParsePoint * pp);
int stat_on_STT_UpdateStatus(ParsePoint * pp);
int stat_on_STT_DropItem(ParsePoint * pp);
int stat_on_STT_ClearFloorItem(ParsePoint * pp);

#endif

⌨️ 快捷键说明

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