📄 network5.h
字号:
///////////////////////////////////////////////////////////////////////////////
// 掂倔 努贰胶俊 包茄 Packet 沥狼 7501 ~ 7599
#ifndef __NETWORK5__
#define __NETWORK5__
///////////////////////////////////////////////////////////////////////////////
//
#define CMD_NPC_ATTACK 86
#define CMD_ATTACK 6200
#define CMD_ATTACK_RESULT 6110
#define CMD_ATTACK_RESULT_D 6111
#define CMD_NPC_THROW 8903
#define CMD_THROW_ATTACK 6112
#define CMD_THROW_RESULT 6113
#define CMD_THROW_RESULT_D 6114
#define CMD_EFFECT_RESULT 7615 // CSD-031007
#define CMD_NPC_MAGIC 20008
#define CMD_MAGIC_SELECT 7590 // CSD-TW-030606
#define CMD_MAGIC_CASTING 7591 // CSD-TW-030606
#define CMD_MAGIC_EXECUTE 7592 // CSD-TW-030606
#define CMD_MAGIC_RESULT 7593 // CSD-TW-030606
#define CMD_MAGIC_RESULT_T 7594 // CSD-TW-030606
#define CMD_MAGIC_RESULT_H 7595 // CSD-TW-030606
#define CMD_MAGIC_RESULT_M 7596 // CSD-TW-030606
#define CMD_MAGIC_RESULT_D 7597 // CSD-TW-030606
#define CMD_COMBAT_CLEAR 7608
#define CMD_COMBAT_OBTAIN 7609
#define CMD_COMBAT_REQUEST 7610
#define CMD_COMBAT_LEARN 7611
#define CMD_COMBAT_SELECT 7612
#define CMD_COMBAT_ATTACK 7613
#define CMD_COMBAT_RESULT 7614
#define CMD_COMBAT_RESULT_C 7615
#define CMD_COMBAT_RESULT_H 7616
#define CMD_COMBAT_RESULT_M 7617
#define CMD_COMBAT_RESULT_S 7618
#define CMD_COMBAT_RESULT_T 7619
#define CMD_COMBAT_RESET 7620
#define CMD_COMBAT_INIT 7621
#define CMD_COMBAT_SYNC 7622 // 030517 kyo
#define CMD_BATTLE_DAMAGE 7606
#define CMD_BATTLE_MESSAMGE 7607
#define CMD_DUAL_ENABLE 7501
#define CMD_DUAL_CHANGE 7502
#define CMD_DUAL_DIVIDE 7503
#define CMD_RESET_ABILITY 7504
#define CMD_CHAR_INFO_TACTIC 5009 // CSD-TW-030624
struct t_char_info_tactic
{ //< CSD-TW-030624
WORD wKind;
DWORD dwExperience;
BYTE nStep;
}; //> CSD-TW-030624
struct t_battle_message
{
BYTE nType; // 皋技瘤狼 盒幅
BYTE nKind; // 皋技瘤狼 辆幅
WORD nNumber; // 皋技瘤狼 锅龋
};
struct t_battle_damage
{
WORD idTarget; // 措惑磊
BYTE nKind; // 单固瘤 辆幅
__int32 nDamage; // 单固瘤
};
union t_battle
{
t_battle_message battle_message;
t_battle_damage battle_damage;
};
// 窜吝芭府 公扁肺 傍拜矫
struct t_npc_attack
{
WORD idCaster;
WORD idTarget;
__int16 nX;
__int16 nY;
};
struct t_player_attack
{ //< CSD-TW-030606
WORD idTarget;
bool bWanted;
}; //> CSD-TW-030606
struct t_attack_result
{ //< CSD-031001
WORD idTarget;
__int32 nDamage;
__int16 nX;
__int16 nY;
WORD wdEffect;
BYTE nCombat;
BYTE nResult;
}; //> CSD-031001
struct t_attack_result_d
{ //< CSD-031001
WORD idCaster;
WORD idTarget;
__int32 nDamage;
__int16 nX;
__int16 nY;
WORD wdEffect;
BYTE nCombat;
BYTE nResult;
}; //> CSD-031001
// 厘芭府 公扁肺 傍拜矫
struct t_npc_throw
{
WORD idCaster;
WORD idTarget;
__int16 nX;
__int16 nY;
};
struct t_client_throw_attack
{ //< CSD-TW-030606
WORD idTarget;
bool bWanted;
}; //> CSD-TW-030606
struct t_server_throw_attack
{ //< CSD-TW-030606
WORD idCaster;
WORD idTarget;
__int16 nX;
__int16 nY;
BYTE nCombat;
}; //> CSD-TW-030606
struct t_client_throw_result
{
WORD idTarget; // 付过阑 荤侩茄 措惑磊
__int16 nX; // 付过捞 惯积等 困摹狼 X谅钎
__int16 nY; // 付过捞 惯积等 困摹狼 Y谅钎
bool bWanted;
};
struct t_server_throw_result
{ //< CSD-031001
WORD idTarget;
__int16 nX;
__int16 nY;
__int32 nDamage;
WORD wdEffect;
BYTE nCombat;
BYTE nResult;
}; //> CSD-031001
struct t_throw_result_d
{ //< CSD-031001
WORD idCaster;
WORD idTarget;
__int32 nDamage;
__int16 nX;
__int16 nY;
WORD wdEffect;
BYTE nCombat;
BYTE nResult;
}; //> CSD-031001
struct t_client_effect_result
{ //< CSD-031007
WORD wdEffect;
WORD idTarget; // 傈捧胶懦 措惑磊
__int16 nX; // 傈捧胶懦捞 惯积等 困摹狼 X谅钎
__int16 nY; // 傈捧胶懦捞 惯积等 困摹狼 Y谅钎
bool bWanted; // 措惑磊狼 清惑裹 咯何
}; //> CSD-031007
struct t_server_effect_result
{ //< CSD-031007
WORD idTarget;
__int32 nDamage;
BYTE nResult;
}; //> CSD-031007
union t_strike
{ //< CSD-031007
t_player_attack player_attack;
t_attack_result attack_result;
t_client_throw_attack client_throw_attack;
t_server_throw_attack server_throw_attack;
t_client_throw_result client_throw_result;
t_server_throw_result server_throw_result;
t_npc_attack npc_attack;
t_attack_result_d attack_result_d;
t_npc_throw npc_throw;
t_throw_result_d throw_result_d;
t_client_effect_result client_effect_result;
t_server_effect_result server_effect_result;
}; //> CSD-031007
// 付过 包访
struct t_client_npc_magic
{
BYTE nMagic; // 付过狼 锅龋
WORD idCaster; // 付过 矫傈磊
WORD idTarget; // 付过 措惑磊
__int16 nX; // 付过捞 惯积等 困摹狼 X谅钎
__int16 nY; // 付过捞 惯积等 困摹狼 Y谅钎
bool bTimeDisable; // LTS DRAGON MODIFY
};
struct t_server_npc_magic
{
BYTE nMagic; // 付过狼 锅龋
WORD idCaster; // 付过 矫傈磊
WORD idTarget; // 付过阑 荤侩茄 措惑磊
__int16 nX; // 付过捞 惯积等 困摹狼 X谅钎
__int16 nY; // 付过捞 惯积等 困摹狼 Y谅钎
bool bFailed;
};
struct t_client_magic_select
{ //< CSD-TW-030606
BYTE nMagic; // 付过狼 锅龋
}; //> CSD-TW-030606
struct t_server_magic_select
{ //< CSD-TW-030606
BYTE nMagic; // 付过狼 锅龋
WORD idCaster; // 付过 矫傈磊
}; //> CSD-TW-030606
struct t_client_magic_casting
{ //< CSD-TW-030606
BYTE nMagic; // 付过狼 锅龋
}; //> CSD-TW-030606
struct t_server_magic_casting
{ //< CSD-TW-030606
BYTE nMagic; // 付过狼 锅龋
WORD wReady; // 付过 霖厚矫埃
WORD idCaster; // 付过 矫傈磊
}; //> CSD-TW-030606
struct t_client_magic_execute
{ //< CSD-TW-030606
BYTE nMagic; // 付过狼 锅龋
WORD idTarget; // 付过 措惑磊
__int16 nX; // 付过捞 惯积等 困摹狼 X谅钎
__int16 nY; // 付过捞 惯积等 困摹狼 Y谅钎
}; //> CSD-TW-030606
struct t_server_magic_execute
{ //< CSD-TW-030606
BYTE nMagic; // 付过狼 锅龋
WORD idCaster; // 付过 矫傈磊
WORD idTarget; // 付过阑 荤侩茄 措惑磊
__int16 nX; // 付过捞 惯积等 困摹狼 X谅钎
__int16 nY; // 付过捞 惯积等 困摹狼 Y谅钎
bool bFailed;
}; //> CSD-TW-030606
struct t_client_magic_result
{
BYTE nMagic; // 荤侩等 付过狼 锅龋
WORD idTarget; // 付过阑 荤侩茄 措惑磊
__int16 nX; // 付过捞 惯积等 困摹狼 X谅钎
__int16 nY; // 付过捞 惯积等 困摹狼 Y谅钎
bool bWanted;
};
struct t_server_magic_result
{ //< CSD-TW-030606
BYTE nMagic; // 荤侩等 付过狼 锅龋
WORD idTarget; // 付过阑 荤侩茄 措惑磊
BYTE nState; // 付过捞 利侩等 饶 惑怕
BYTE nResult; // 付过 荤侩 搬苞
}; //> CSD-TW-030606
struct t_server_magic_result_t : public t_server_magic_result
{ //< CSD-TW-030606
WORD wDuration; // 蜡瘤矫埃
}; //> CSD-TW-030606
struct t_server_magic_result_h : public t_server_magic_result
{ //< CSD-TW-030606
__int32 nLife; // 付过 荤侩栏肺 函拳等 Life狼 樊
}; //> CSD-TW-030606
struct t_server_magic_result_m : public t_server_magic_result
{ //< CSD-TW-030606
__int32 nLife; // 付过 荤侩栏肺 函拳等 Life狼 樊
__int32 nMana; // 付过 荤侩栏肺 函拳等 Mana狼 樊
}; //> CSD-TW-030606
struct t_magic_result_d
{
BYTE nMagic; // 荤侩等 付过狼 锅龋
WORD idCaster; // 付过 矫傈茄 NPC
WORD idTarget; // 付过阑 荤侩茄 措惑磊
__int16 nX; // 付过捞 惯积等 困摹狼 X谅钎
__int16 nY; // 付过捞 惯积等 困摹狼 Y谅钎
};
union t_magic
{
t_client_magic_select client_magic_select; // CSD-TW-030606
t_server_magic_select server_magic_select; // CSD-TW-030606
t_client_magic_casting client_magic_casting; // CSD-TW-030606
t_server_magic_casting server_magic_casting; // CSD-TW-030606
t_client_magic_execute client_magic_execute; // CSD-TW-030606
t_server_magic_execute server_magic_execute; // CSD-TW-030606
t_client_magic_result client_magic_result;
t_server_magic_result server_magic_result; // CSD-TW-030606
t_server_magic_result_t server_magic_result_t; // CSD-TW-030606
t_server_magic_result_h server_magic_result_h; // CSD-TW-030606
t_server_magic_result_m server_magic_result_m; // CSD-TW-030606
t_client_npc_magic client_npc_magic;
t_server_npc_magic server_npc_magic;
t_magic_result_d magic_result_d;
};
// 傈捧胶懦 包访
struct t_combat_init
{ //< CSD-TW-030606
WORD idMaster; // 傈捧胶懦 嚼垫磊
BYTE nType; // 傈捧胶懦 鸥涝
}; //> CSD-TW-030606
struct t_combat_clear
{
WORD idMaster; // 傈捧胶懦 嚼垫磊
BYTE nType; // 傈捧胶懦 鸥涝(Active : 0, Passive : 1)
};
struct t_client_combat_obtain
{
WORD idMaster; // 傈捧胶懦 器牢磐 嚼垫磊
BYTE nPara; // INV 困摹
BYTE nPosX; // INV狼 X磊府
BYTE nPosY; // INV狼 Y磊府
BYTE nPoint; // 傈捧胶懦 裙垫 器牢磐
};
struct t_server_combat_obtain
{
WORD idMaster; // 傈捧胶懦 器牢磐 嚼垫磊
BYTE nPara; // INV 困摹
BYTE nPosX; // INV狼 X磊府
BYTE nPosY; // INV狼 Y磊府
BYTE nTotal; // 醚 傈捧胶懦 器牢磐
};
struct t_client_combat_request
{
WORD idMaster; // 傈捧胶懦 嚼垫磊
};
struct t_server_combat_request
{
WORD idMaster; // 傈捧胶懦 嚼垫磊
BYTE nRemain; // 巢篮 傈捧胶懦 器牢磐
BYTE aLevel[36]; // 傈捧胶懦 沥焊
};
struct t_client_combat_learn
{
WORD idMaster; // 傈捧胶懦 嚼垫磊
BYTE nSkill; // 傈捧胶懦 锅龋
BYTE nPoint; // 傈捧胶懦 器牢磐
};
struct t_server_combat_learn
{
WORD idMaster; // 傈捧胶懦 嚼垫磊
BYTE nSkill; // 傈捧胶懦 锅龋
BYTE nLevel; // 傈捧胶懦 饭骇
BYTE nRemain; // 巢篮 傈捧胶懦 器牢磐
};
struct t_client_combat_clear
{ //< CSD-TW-030606
BYTE nType;
}; //> CSD-TW-030606
struct t_server_combat_clear
{ //< CSD-TW-030606
WORD idMaster; // 傈捧胶懦 嚼垫磊
BYTE nType;
}; //> CSD-TW-030606
struct t_client_combat_select
{ //< CSD-TW-030606
BYTE nCombat; // 傈捧胶懦 锅龋
}; //> CSD-TW-030606
struct t_server_combat_select
{ //< CSD-TW-030606
BYTE nCombat; // 傈捧胶懦 锅龋
WORD idMaster; // 傈捧胶懦 矫傈磊
}; //> CSD-TW-030606
struct t_client_combat_attack
{
BYTE nSkill; // 傈捧胶懦 锅龋
WORD idTarget; // 傈捧胶懦 措惑磊
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -