?? 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; // 傈捧膠懦 措惑磊
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -