Documentation
¶
Overview ¶
auxiliar structs and functions for Network Commands
Index ¶
- Constants
- func Pack(nc interface{}) ([]byte, error)
- func Unpack(data []byte, nc interface{}) error
- type AbstateBit
- type AbstateInformation
- type AvatarInformation
- type BriefInfoRegenMobCmdFlag
- type CharBriefInfoCamp
- type CharBriefInfoNotCamped
- type CharIdChangeData
- type CharMysteryVaultUiStateCmd
- type CharTitleBriefInfo
- type CharTitleInfo
- type CharUseItemMiniMonsterInfoClientCmd
- type ChargedItemInfo
- type EquipmentUpgrade
- type GameOptionData
- type GuildAcademyClient
- type GuildClient
- type HolyPromiseDate
- type HolyPromiseInfo
- type ItemInventory
- type ItemPacketInfo
- type KeyMapData
- type MapLogoutCmd
- type NC
- type Name3
- type Name4
- type Name5
- type Name8
- type Name256Byte
- type NcActChangeModeReq
- type NcActChatReq
- type NcActGatherStartReq
- type NcActMoveSpeedCmd
- type NcActNpcClickCmd
- type NcActSomeoneChangeModeCmd
- type NcActSomeoneFoldTentCmd
- type NcActSomeoneMoveWalkCmd
- type NcActSomeoneMoveWalkCmdAttr
- type NcActSomeoneProduceCastCmd
- type NcActSomeoneProduceMakeCmd
- type NcActSomeoneShoutCmd
- type NcActSomeoneShoutCmdFlag
- type NcActSomeoneShoutCmdSpeaker
- type NcActSomeoneStopCmd
- type NcActStopReq
- type NcAvatarCreateFailAck
- type NcAvatarCreateReq
- type NcAvatarCreateSuccAck
- type NcAvatarEraseReq
- type NcAvatarEraseSuccAck
- type NcBatAbstateInformCmd
- type NcBatAbstateInformNoEffectCmd
- type NcBatAbstateResetCmd
- type NcBatAbstateSetCmd
- type NcBatCeaseFireCmd
- type NcBatDotDamageCmd
- type NcBatHpChangeCmd
- type NcBatLpChangeCmd
- type NcBatSkillBashHitBlastCmd
- type NcBatSkillBashHitDamageCmd
- type NcBatSkillBashHitDamageCmdSkillDamage
- type NcBatSkillBashHitDamageCmdSkillDamageFlag
- type NcBatSkillBashHitObjStartCmd
- type NcBatSkillBashObjCastReq
- type NcBatSomeoneSkillBashHitObjStartCmd
- type NcBatSpChangeCmd
- type NcBatTargetInfoCmd
- type NcBoothEntryReq
- type NcBoothEntrySellAck
- type NcBoothEntrySellAckItemList
- type NcBoothRefreshReq
- type NcBoothSearchBoothClosedCmd
- type NcBoothSomeoneOpenCmd
- type NcBriefInfoAbstateChangeCmd
- type NcBriefInfoAbstateChangeListCmd
- type NcBriefInfoChangeDecorateCmd
- type NcBriefInfoChangeUpgradeCmd
- type NcBriefInfoChangeWeaponCmd
- type NcBriefInfoCharacterCmd
- type NcBriefInfoDeleteCmd
- type NcBriefInfoDroppedItemCmd
- type NcBriefInfoDroppedItemCmdAttr
- type NcBriefInfoInformCmd
- type NcBriefInfoLoginCharacterCmd
- type NcBriefInfoLoginCharacterCmdShapeData
- type NcBriefInfoMobCmd
- type NcBriefInfoMoverCmd
- type NcBriefInfoRegenMobCmd
- type NcBriefInfoRegenMoverCmd
- type NcBriefInfoUnequipCmd
- type NcCharAdminLevelInformCmd
- type NcCharClientAutoPickCmd
- type NcCharClientItemCmd
- type NcCharClientSkillCmd
- type NcCharGetKeyMapCmd
- type NcCharGetShortcutDataCmd
- type NcCharGuildAcademyCmd
- type NcCharGuildCmd
- type NcCharLoginAck
- type NcCharLoginReq
- type NcCharNewbieGuideViewSetCmd
- type NcCharOptionGetShortcutSizeAck
- type NcCharOptionGetShortcutSizeReq
- type NcCharOptionGetWindowPosAck
- type NcCharOptionImproveGetGameOptionCmd
- type NcCharOptionShortcutSize
- type NcCharOptionWindowPos
- type NcCharSkillClientCmd
- type NcCharStatRemainPointCmd
- type NcCharUiStateSaveReq
- type NcCharUseItemMinimonUseBroadCmd
- type NcChargedBoothSlotSizeCmd
- type NcClientCharTitleCmd
- type NcCollectCardRegisterReq
- type NcHolyPromiseListCmd
- type NcITemChargedInventoryOpenReq
- type NcItemCellChangeCmd
- type NcItemChangedInventoryOpenAck
- type NcItemDropAck
- type NcItemDropReq
- type NcItemEquipReq
- type NcItemPickAck
- type NcItemPickReq
- type NcItemRewardInventoryOpenAck
- type NcItemRewardInventoryOpenReq
- type NcItemUnequipReq
- type NcItemUseReq
- type NcKqListTimeAck
- type NcKqTeamTypeCmd
- type NcMapCanUseReviveItemCmd
- type NcMapFieldAttributeCmd
- type NcMapLoginCompleteCmd
- type NcMapLoginReq
- type NcMiscGameTimeAck
- type NcMiscHeartBeatAck
- type NcMiscSeedAck
- type NcMoverHungryCmd
- type NcMoverMoveSpeedCmd
- type NcMoverRideOnCmd
- type NcMoverSomeoneRideOffCmd
- type NcMoverSomeoneRideOnCmd
- type NcPrisonGetAck
- type NcQuestScriptCmdAck
- type NcQuestStartReq
- type NcServerMenuAck
- type NcServerMenuReq
- type NcSoulStoneHpSomeoneUseCmd
- type NcSoulStoneSpSomeoneUseCmd
- type NcUserClientVersionCheckReq
- type NcUserClientWrongVersionCheckAck
- type NcUserLoginAck
- type NcUserLoginFailAck
- type NcUserLoginWithOtpReq
- type NcUserLoginWorldAck
- type NcUserLoginWorldReq
- type NcUserUsLoginReq
- type NcUserWillWorldSelectAck
- type NcUserWorldSelectAck
- type NcUserWorldSelectReq
- type NcZoneCharDataReq
- type NcitemRelocateReq
- type NetCommand
- type PartMark
- type ProtoAvatarDeleteInfo
- type ProtoAvatarShapeInfo
- type ProtoEquipment
- type ProtoItemPacketInformation
- type ProtoNcCharClientItemCmdFlag
- type ProtoTutorialInfo
- type ServerMenu
- type ShineCoordType
- type ShineDateTime
- type ShineGuildScore
- type ShineItemVar
- type ShineXYType
- type ShortCutData
- type SkillItemActionCoolTimeCmd
- type SkillItemActionCoolTimeCmdGroup
- type SkillReadBlockClient
- type SkillReadBlockClientEmpower
- type StopEmoticonDescript
- type StreetBoothSignBoard
- type TM
- type UseItemMiniMonsterInfo
- type WorldInfo
Constants ¶
const ( TsProgress = 0 TsDone = 1 TsSkip = 2 TsException = 3 TsMax = 4 )
/* 1387 */ enum TUTORIAL_STATE { TS_PROGRESS = 0x0, TS_DONE = 0x1, TS_SKIP = 0x2, TS_EXCEPTION = 0x3, TS_MAX = 0x4, };
Variables ¶
This section is empty.
Functions ¶
func Pack ¶
WriteBinary data into a given struct and return bytes todo: check again if it can be done like this: https://github.com/go-restruct/restruct/issues/39
Types ¶
type AbstateBit ¶
type AbstateBit struct {
Data [112]byte
}
struct ABNORMAL_STATE_BIT
{
#char statebit[103]; 2017
#char statebit[99]; 2016
char statebit[112]; 2020
};
type AbstateInformation ¶
type AbstateInformation struct {
//enum ABSTATEINDEX
//{
// STA_SEVERBONE = 0x0,
// STA_REDSLASH = 0x1,
// STA_BATTLEBLOWSTUN = 0x2,
// [ .... many more ]
// STA_MIGHTYSOULMAIN = 0x3,
// MAX_ABSTATEINDEX = 0x336,
//};
AbstateIndex uint32
RestKeepTime uint32
Strength uint32
}
struct ABSTATE_INFORMATION
{
ABSTATEINDEX abstateID;
unsigned int restKeeptime;
unsigned int strength;
};
type AvatarInformation ¶
type AvatarInformation struct {
ChrRegNum uint32 `struct:"uint32"`
Name Name5
Level uint16 `struct:"uint16"`
Slot byte `struct:"byte"`
LoginMap Name3
DelInfo ProtoAvatarDeleteInfo
Shape ProtoAvatarShapeInfo
Equip ProtoEquipment
KqHandle uint32 `struct:"uint32"`
KqMapName Name3
KqCoord ShineXYType
KqDate ShineDateTime
CharIdChangeData CharIdChangeData
TutorialInfo ProtoTutorialInfo
}
struct PROTO_AVATARINFORMATION
{
unsigned int chrregnum;
Name5 name;
unsigned __int16 level;
char slot;
Name3 loginmap;
PROTO_AVATAR_DELETE_INFO delinfo;
PROTO_AVATAR_SHAPE_INFO shape;
PROTO_EQUIPMENT equip;
unsigned int nKQHandle;
Name3 sKQMapName;
SHINE_XY_TYPE nKQCoord;
SHINE_DATETIME dKQDate;
CHAR_ID_CHANGE_DATA CharIDChangeData;
PROTO_TUTORIAL_INFO TutorialInfo;
};
type BriefInfoRegenMobCmdFlag ¶
type BriefInfoRegenMobCmdFlag struct {
Data [112]byte
}
union PROTO_NC_BRIEFINFO_REGENMOB_CMD::<unnamed-type-flag>
{
ABNORMAL_STATE_BIT abstatebit; 0
char gate2where[12]; 1
};
type CharBriefInfoNotCamped ¶
type CharBriefInfoNotCamped struct {
Equip ProtoEquipment
}
struct CHARBRIEFINFO_NOTCAMP
{
PROTO_EQUIPMENT equip;
};
type CharIdChangeData ¶
type CharIdChangeData struct {
NeedChangeId byte `struct:"byte"`
Init byte `struct:"byte"`
RowNo uint32 `struct:"uint32"`
}
struct CHAR_ID_CHANGE_DATA
{
char bNeedChangeID;
char bInit;
unsigned int nRowNo;
};
type CharMysteryVaultUiStateCmd ¶
type CharMysteryVaultUiStateCmd struct {
MysteryVault byte
}
struct PROTO_NC_CHAR_MYSTERYVAULT_UI_STATE_CMD
{
char mystery_vault;
};
func (*CharMysteryVaultUiStateCmd) PdbType ¶
func (nc *CharMysteryVaultUiStateCmd) PdbType() string
func (*CharMysteryVaultUiStateCmd) String ¶
func (nc *CharMysteryVaultUiStateCmd) String() string
type CharTitleBriefInfo ¶
struct CHARTITLE_BRIEFINFO
{
char Type;
char ElementNo;
unsigned __int16 MobID;
};
type CharUseItemMiniMonsterInfoClientCmd ¶
type CharUseItemMiniMonsterInfoClientCmd struct {
MiniMonsterInfo UseItemMiniMonsterInfo
}
struct PROTO_NC_CHAR_USEITEM_MINIMON_INFO_CLIENT_CMD
{
USEITEM_MINIMON_INFO UseItemMinimonInfo;
};
func (*CharUseItemMiniMonsterInfoClientCmd) PdbType ¶
func (nc *CharUseItemMiniMonsterInfoClientCmd) PdbType() string
func (*CharUseItemMiniMonsterInfoClientCmd) String ¶
func (nc *CharUseItemMiniMonsterInfoClientCmd) String() string
type ChargedItemInfo ¶
type ChargedItemInfo struct {
ItemOrderNo uint32
ItemCode uint32
ItemAmount uint32
ItemRegisterDate ShineDateTime
}
struct PROTO_CHARGED_ITEM_INFO
{
unsigned int ItemOrderNo;
unsigned int ItemCode;
unsigned int ItemAmount;
ShineDateTime ItemRegisterDate;
};
type EquipmentUpgrade ¶
struct PROTO_EQUIPMENT::<unnamed-type-upgrade> { _BYTE gap0[2]; char _bf2; };
type GuildAcademyClient ¶
type GuildAcademyClient struct {
AcademyMasterName Name5
NumAcademyMembers uint16
MaxAcademyMembers uint16
AcademyPoint uint32
AcademyRank uint32
AcademyBuffTime int32
Intro [128]byte
NotifyDate int32
TmNotifyDate TM
NotifyCharID Name5
Notify [512]byte
}
struct GUILD_ACADEMY_CLIENT
{
Name5 sAcademyMasterName;
unsigned __int16 nNumAcademyMembers;
unsigned __int16 nMaxAcademyMembers;
unsigned int nAcademyPoint;
unsigned int nAcademyRank;
int dAcademyBuffUntilTime;
char sIntro[128];
int dNotifyDate;
tm tm_dNotifyDate;
Name5 sNotifyCharID;
char sNotify[512];
};
type GuildClient ¶
type GuildClient struct {
Number uint32
Name Name4
Money uint64
Type byte
Grade byte
Fame uint32
StoneLevel uint16
Exp uint64
CreatedDate int32
NumMembers uint16
MaxMembers uint16
WarStatus byte
WarRequestDate int32
WarStartDate int32
WarEndDate int32
TmWarRequestDate TM
TmWarStartDate TM
TmWarEndDate TM
WarEnemy uint32
WarEnemyName Name4
WarEnemyGrade byte
MyScore ShineGuildScore
EnemyScore ShineGuildScore
WarWinCount uint32
WarLoseCount uint32
WarDrawCount uint32
DismissStatus byte
DismissDate int32
TmDismissDate TM
Intro [128]byte
NotifyDate int32
TmNotifyDate TM
NotifyCharID Name5
Notify [512]byte
}
struct GUILD_CLIENT
{
unsigned int nNo;
Name4 sName;
unsigned __int64 nMoney;
char nType;
char nGrade;
unsigned int nFame;
unsigned __int16 nStoneLevel;
unsigned __int64 nExp;
int dCreateDate;
tm tm_dCreateDate;
unsigned __int16 nNumMembers;
unsigned __int16 nMaxMembers;
char nWarStatus;
int dWarRequestDate;
int dWarStartDate;
int dWarEndDate;
tm tm_dWarRequestDate;
tm tm_dWarStartDate;
tm tm_dWarEndDate;
unsigned int nWarEnemy;
Name4 sWarEnemyName;
char nWarEnemyGrade;
SHINE_GUILD_SCORE MyScore;
SHINE_GUILD_SCORE EnemyScore;
unsigned int nWarWinCount;
unsigned int nWarLoseCount;
unsigned int nWarDrawCount;
char nDismissStatus;
int dDismissDate;
tm tm_dDismissDate;
char sIntro[128];
int dNotifyDate;
tm tm_dNotifyDate;
Name5 sNotifyCharID;
char sNotify[512];
};
type HolyPromiseDate ¶
type HolyPromiseDate struct {
BF0 int32
}
struct PROTO_HOLY_PROMISE_DATE
{
int _bf0;
};
type HolyPromiseInfo ¶
type HolyPromiseInfo struct {
PromiseCharID Name5
LogonInfo HolyPromiseDate
Level byte
Flags byte
}
struct PROTO_HOLY_PROMISE_INFO
{
Name5 PromiseCharID;
PROTO_HOLY_PROMISE_DATE LogonInfo;
char Level;
char Flags;
};
type ItemInventory ¶
type ItemInventory struct {
Inventory uint16
}
union ITEM_INVEN
{
unsigned __int16 Inven;
};
type ItemPacketInfo ¶
type ItemPacketInfo struct {
DataSize byte
Location ItemInventory
//Info ShineItem
//struct SHINE_ITEM_STRUCT
//{
// unsigned __int16 itemid;
// SHINE_ITEM_ATTRIBUTE itemattr;
//};
Info struct {
ItemID uint16
ItemAttr []byte `struct-size:"Parent.DataSize - 2"`
}
}
struct PROTO_ITEMPACKET_INFORM
{
char datasize;
ITEM_INVEN location;
SHINE_ITEM_STRUCT info;
};
type KeyMapData ¶
struct KEY_MAP_DATA
{
unsigned __int16 nFunctionNo;
char nExtendKey;
char nASCIICode;
};
type MapLogoutCmd ¶
type MapLogoutCmd struct {
Handle uint16
}
struct PROTO_NC_MAP_LOGOUT_CMD
{
unsigned __int16 handle;
};
func (*MapLogoutCmd) PdbType ¶
func (nc *MapLogoutCmd) PdbType() string
func (*MapLogoutCmd) String ¶
func (nc *MapLogoutCmd) String() string
type Name3 ¶
type Name3 struct {
Name [12]byte `struct:"[12]byte"`
}
/* 2839 */ union Name3
{
char n3_name[12];
unsigned int n3_code[3];
};
type Name4 ¶
type Name4 struct {
Name [16]byte `struct:"[16]byte"`
}
union Name4
{
char n4_name[16];
unsigned int n4_code[4];
};
type Name5 ¶
type Name5 struct {
Name [20]byte `struct:"[20]byte"`
}
/* 3256 */ union Name5
{
char n5_name[20];
unsigned int n5_code[5];
};
type Name8 ¶
type Name8 struct {
Name [32]byte `struct:"[32]byte"`
}
/* 2787 */ union Name8
{
char n8_name[32];
unsigned int n8_code[8];
};
type Name256Byte ¶
type Name256Byte struct {
Name [256]byte `struct:"[256]byte"`
}
union Name256Byte
{
char n256_name[256];
unsigned __int64 n256_code[32];
};
type NcActChangeModeReq ¶
type NcActChangeModeReq struct {
Mode byte
}
struct PROTO_NC_ACT_CHANGEMODE_REQ
{
char mode;
};
func (*NcActChangeModeReq) PdbType ¶
func (nc *NcActChangeModeReq) PdbType() string
func (*NcActChangeModeReq) String ¶
func (nc *NcActChangeModeReq) String() string
type NcActChatReq ¶
type NcActChatReq struct {
ItemLinkDataCount byte `struct:"byte"`
Length byte `struct:"byte"`
Content []byte `struct:"sizefrom=Length"`
}
func (*NcActChatReq) PdbType ¶
func (nc *NcActChatReq) PdbType() string
func (*NcActChatReq) String ¶
func (nc *NcActChatReq) String() string
type NcActGatherStartReq ¶
type NcActGatherStartReq struct {
Handle uint16
}
struct PROTO_NC_ACT_GATHERSTART_REQ
{
unsigned __int16 objhandle;
};
func (*NcActGatherStartReq) PdbType ¶
func (nc *NcActGatherStartReq) PdbType() string
func (*NcActGatherStartReq) String ¶
func (nc *NcActGatherStartReq) String() string
type NcActMoveSpeedCmd ¶
struct PROTO_NC_ACT_MOVESPEED_CMD
{
unsigned __int16 walkspeed;
unsigned __int16 runspeed;
};
func (*NcActMoveSpeedCmd) PdbType ¶
func (nc *NcActMoveSpeedCmd) PdbType() string
func (*NcActMoveSpeedCmd) String ¶
func (nc *NcActMoveSpeedCmd) String() string
type NcActNpcClickCmd ¶
type NcActNpcClickCmd struct {
NpcHandle uint16
}
struct PROTO_NC_ACT_NPCCLICK_CMD
{
unsigned __int16 npchandle;
};
func (*NcActNpcClickCmd) PdbType ¶
func (nc *NcActNpcClickCmd) PdbType() string
func (*NcActNpcClickCmd) String ¶
func (nc *NcActNpcClickCmd) String() string
type NcActSomeoneChangeModeCmd ¶
struct PROTO_NC_ACT_SOMEONECHANGEMODE_CMD
{
unsigned __int16 handle;
char mode;
};
func (*NcActSomeoneChangeModeCmd) PdbType ¶
func (nc *NcActSomeoneChangeModeCmd) PdbType() string
func (*NcActSomeoneChangeModeCmd) String ¶
func (nc *NcActSomeoneChangeModeCmd) String() string
type NcActSomeoneFoldTentCmd ¶
type NcActSomeoneFoldTentCmd struct {
Handle uint16
Shape CharBriefInfoNotCamped
}
struct PROTO_NC_ACT_SOMEONEFOLDTENT_CMD
{
unsigned __int16 handle;
CHARBRIEFINFO_NOTCAMP shape;
};
func (*NcActSomeoneFoldTentCmd) PdbType ¶
func (nc *NcActSomeoneFoldTentCmd) PdbType() string
func (*NcActSomeoneFoldTentCmd) String ¶
func (nc *NcActSomeoneFoldTentCmd) String() string
type NcActSomeoneMoveWalkCmd ¶
type NcActSomeoneMoveWalkCmd struct {
Handle uint16
From ShineXYType
To ShineXYType
Speed uint16
MoveAttr NcActSomeoneMoveWalkCmdAttr
}
struct PROTO_NC_ACT_SOMEONEMOVEWALK_CMD
{
unsigned __int16 handle;
SHINE_XY_TYPE from;
SHINE_XY_TYPE to;
unsigned __int16 speed;
PROTO_NC_ACT_SOMEONEMOVEWALK_CMD::<unnamed-type-moveattr> moveattr;
};
func (*NcActSomeoneMoveWalkCmd) PdbType ¶
func (nc *NcActSomeoneMoveWalkCmd) PdbType() string
func (*NcActSomeoneMoveWalkCmd) String ¶
func (nc *NcActSomeoneMoveWalkCmd) String() string
type NcActSomeoneMoveWalkCmdAttr ¶
type NcActSomeoneMoveWalkCmdAttr struct {
BF0 int16
}
struct PROTO_NC_ACT_SOMEONEMOVEWALK_CMD::<unnamed-type-moveattr>
{
__int16 _bf0;
};
type NcActSomeoneProduceCastCmd ¶
struct PROTO_NC_ACT_SOMEONEPRODUCE_CAST_CMD
{
unsigned __int16 caster;
unsigned __int16 item;
};
func (*NcActSomeoneProduceCastCmd) PdbType ¶
func (nc *NcActSomeoneProduceCastCmd) PdbType() string
func (*NcActSomeoneProduceCastCmd) String ¶
func (nc *NcActSomeoneProduceCastCmd) String() string
type NcActSomeoneProduceMakeCmd ¶
struct PROTO_NC_ACT_SOMEONEPRODUCE_MAKE_CMD
{
unsigned __int16 caster;
unsigned __int16 item;
};
func (*NcActSomeoneProduceMakeCmd) PdbType ¶
func (nc *NcActSomeoneProduceMakeCmd) PdbType() string
func (*NcActSomeoneProduceMakeCmd) String ¶
func (nc *NcActSomeoneProduceMakeCmd) String() string
type NcActSomeoneShoutCmd ¶
type NcActSomeoneShoutCmd struct {
Count byte
Speaker NcActSomeoneShoutCmdSpeaker
Flag NcActSomeoneShoutCmdFlag
Len byte
Content []byte `struct:"sizefrom=Len"`
}
struct PROTO_NC_ACT_SOMEONESHOUT_CMD
{
char itemLinkDataCount;
PROTO_NC_ACT_SOMEONESHOUT_CMD::<unnamed-type-speaker> speaker;
PROTO_NC_ACT_SOMEONESHOUT_CMD::<unnamed-type-flag> flag;
char len;
char content[];
};
func (*NcActSomeoneShoutCmd) PdbType ¶
func (nc *NcActSomeoneShoutCmd) PdbType() string
func (*NcActSomeoneShoutCmd) String ¶
func (nc *NcActSomeoneShoutCmd) String() string
type NcActSomeoneShoutCmdFlag ¶
type NcActSomeoneShoutCmdFlag struct {
BF0 byte
}
struct PROTO_NC_ACT_SOMEONESHOUT_CMD::<unnamed-type-flag>
{
char _bf0;
};
type NcActSomeoneShoutCmdSpeaker ¶
type NcActSomeoneShoutCmdSpeaker struct {
Data [20]byte
}
union PROTO_NC_ACT_SOMEONESHOUT_CMD::<unnamed-type-speaker>
{
char charID[20];
unsigned __int16 mobID;
};
type NcActSomeoneStopCmd ¶
type NcActSomeoneStopCmd struct {
Handle uint16
Location ShineXYType
}
struct PROTO_NC_ACT_SOMEONESTOP_CMD
{
unsigned __int16 handle;
SHINE_XY_TYPE loc;
};
func (*NcActSomeoneStopCmd) PdbType ¶
func (nc *NcActSomeoneStopCmd) PdbType() string
func (*NcActSomeoneStopCmd) String ¶
func (nc *NcActSomeoneStopCmd) String() string
type NcActStopReq ¶
type NcActStopReq struct {
Location ShineXYType
}
struct PROTO_NC_ACT_STOP_REQ
{
SHINE_XY_TYPE loc;
};
func (*NcActStopReq) PdbType ¶
func (nc *NcActStopReq) PdbType() string
func (*NcActStopReq) String ¶
func (nc *NcActStopReq) String() string
type NcAvatarCreateFailAck ¶
type NcAvatarCreateFailAck struct {
Err uint16 `struct:"uint16"`
}
struct PROTO_NC_AVATAR_CREATEFAIL_ACK
{
unsigned __int16 err;
};
func (*NcAvatarCreateFailAck) PdbType ¶
func (nc *NcAvatarCreateFailAck) PdbType() string
func (*NcAvatarCreateFailAck) String ¶
func (nc *NcAvatarCreateFailAck) String() string
type NcAvatarCreateReq ¶
type NcAvatarCreateReq struct {
SlotNum byte `struct:"byte"`
Name Name5
Shape ProtoAvatarShapeInfo
}
struct PROTO_NC_AVATAR_CREATE_REQ
{
char slotnum;
Name5 name;
PROTO_AVATAR_SHAPE_INFO char_shape;
};
func (*NcAvatarCreateReq) PdbType ¶
func (nc *NcAvatarCreateReq) PdbType() string
func (*NcAvatarCreateReq) String ¶
func (nc *NcAvatarCreateReq) String() string
type NcAvatarCreateSuccAck ¶
type NcAvatarCreateSuccAck struct {
NumOfAvatar byte `struct:"byte"`
Avatar AvatarInformation
}
struct PROTO_NC_AVATAR_CREATESUCC_ACK
{
char numofavatar;
PROTO_AVATARINFORMATION avatar;
};
func (*NcAvatarCreateSuccAck) PdbType ¶
func (nc *NcAvatarCreateSuccAck) PdbType() string
func (*NcAvatarCreateSuccAck) String ¶
func (nc *NcAvatarCreateSuccAck) String() string
type NcAvatarEraseReq ¶
type NcAvatarEraseReq struct {
Slot byte `struct:"byte"`
}
struct PROTO_NC_AVATAR_ERASE_REQ { char slot; };
func (*NcAvatarEraseReq) PdbType ¶
func (nc *NcAvatarEraseReq) PdbType() string
type NcAvatarEraseSuccAck ¶
type NcAvatarEraseSuccAck struct {
Slot byte `struct:"byte"`
}
struct PROTO_NC_AVATAR_ERASESUCC_ACK { char slot; };
func (*NcAvatarEraseSuccAck) PdbType ¶
func (nc *NcAvatarEraseSuccAck) PdbType() string
func (*NcAvatarEraseSuccAck) String ¶
func (nc *NcAvatarEraseSuccAck) String() string
type NcBatAbstateInformCmd ¶
struct PROTO_NC_BAT_ABSTATEINFORM_CMD
{
ABSTATEINDEX abstate;
unsigned int keeptime_millisec;
};
func (*NcBatAbstateInformCmd) PdbType ¶
func (nc *NcBatAbstateInformCmd) PdbType() string
func (*NcBatAbstateInformCmd) String ¶
func (nc *NcBatAbstateInformCmd) String() string
type NcBatAbstateInformNoEffectCmd ¶
struct PROTO_NC_BAT_ABSTATEINFORM_NOEFFECT_CMD
{
ABSTATEINDEX abstate;
unsigned int keeptime_millisec;
};
func (*NcBatAbstateInformNoEffectCmd) PdbType ¶
func (nc *NcBatAbstateInformNoEffectCmd) PdbType() string
func (*NcBatAbstateInformNoEffectCmd) String ¶
func (nc *NcBatAbstateInformNoEffectCmd) String() string
type NcBatAbstateResetCmd ¶
struct PROTO_NC_BAT_ABSTATERESET_CMD
{
unsigned __int16 handle;
ABSTATEINDEX abstate;
};
func (*NcBatAbstateResetCmd) PdbType ¶
func (nc *NcBatAbstateResetCmd) PdbType() string
func (*NcBatAbstateResetCmd) String ¶
func (nc *NcBatAbstateResetCmd) String() string
type NcBatAbstateSetCmd ¶
struct PROTO_NC_BAT_ABSTATESET_CMD
{
unsigned __int16 handle;
ABSTATEINDEX abstate;
};
func (*NcBatAbstateSetCmd) PdbType ¶
func (nc *NcBatAbstateSetCmd) PdbType() string
func (*NcBatAbstateSetCmd) String ¶
func (nc *NcBatAbstateSetCmd) String() string
type NcBatCeaseFireCmd ¶
type NcBatCeaseFireCmd struct {
Handle uint16
}
struct PROTO_NC_BAT_CEASE_FIRE_CMD
{
unsigned __int16 handle;
};
func (*NcBatCeaseFireCmd) PdbType ¶
func (nc *NcBatCeaseFireCmd) PdbType() string
func (*NcBatCeaseFireCmd) String ¶
func (nc *NcBatCeaseFireCmd) String() string
type NcBatDotDamageCmd ¶
type NcBatDotDamageCmd struct {
Object uint16
RestHP uint32
Damage uint16
Abstate uint16
HPChangeOrder uint16
IsMissDamage byte
}
struct PROTO_NC_BAT_DOTDAMAGE_CMD
{
unsigned __int16 object;
unsigned int resthp;
unsigned __int16 damage;
unsigned __int16 abstate;
unsigned __int16 hpchangeorder;
char IsMissDamage;
};
func (*NcBatDotDamageCmd) PdbType ¶
func (nc *NcBatDotDamageCmd) PdbType() string
func (*NcBatDotDamageCmd) String ¶
func (nc *NcBatDotDamageCmd) String() string
type NcBatHpChangeCmd ¶
struct PROTO_NC_BAT_HPCHANGE_CMD
{
unsigned int hp;
unsigned __int16 hpchangeorder;
};
func (*NcBatHpChangeCmd) PdbType ¶
func (nc *NcBatHpChangeCmd) PdbType() string
func (*NcBatHpChangeCmd) String ¶
func (nc *NcBatHpChangeCmd) String() string
type NcBatLpChangeCmd ¶
type NcBatLpChangeCmd struct {
LP uint32
}
struct PROTO_NC_BAT_LPCHANGE_CMD
{
unsigned int nLP;
};
func (*NcBatLpChangeCmd) PdbType ¶
func (nc *NcBatLpChangeCmd) PdbType() string
func (*NcBatLpChangeCmd) String ¶
func (nc *NcBatLpChangeCmd) String() string
type NcBatSkillBashHitBlastCmd ¶
struct PROTO_NC_BAT_SKILLBASH_HIT_BLAST_CMD
{
unsigned __int16 index;
unsigned __int16 caster;
unsigned __int16 nSkillID;
};
func (*NcBatSkillBashHitBlastCmd) PdbType ¶
func (nc *NcBatSkillBashHitBlastCmd) PdbType() string
func (*NcBatSkillBashHitBlastCmd) String ¶
func (nc *NcBatSkillBashHitBlastCmd) String() string
type NcBatSkillBashHitDamageCmd ¶
type NcBatSkillBashHitDamageCmd struct {
Index uint16
Caster uint16
TargetNum byte
SkillID uint16
Target uint16
Targets []NcBatSkillBashHitDamageCmdSkillDamage `struct:"sizefrom=TargetNum"`
}
struct PROTO_NC_BAT_SKILLBASH_HIT_DAMAGE_CMD
{
unsigned __int16 index;
unsigned __int16 caster;
char targetnum;
unsigned __int16 kSkillID;
unsigned __int16 pTarget;
PROTO_NC_BAT_SKILLBASH_HIT_DAMAGE_CMD::SkillDamage target[];
};
func (*NcBatSkillBashHitDamageCmd) PdbType ¶
func (nc *NcBatSkillBashHitDamageCmd) PdbType() string
func (*NcBatSkillBashHitDamageCmd) String ¶
func (nc *NcBatSkillBashHitDamageCmd) String() string
type NcBatSkillBashHitDamageCmdSkillDamage ¶
type NcBatSkillBashHitDamageCmdSkillDamage struct {
Handle uint16
Flag NcBatSkillBashHitDamageCmdSkillDamageFlag
HpChange uint32
RestHP uint32
HpChangeOrder uint16
}
struct PROTO_NC_BAT_SKILLBASH_HIT_DAMAGE_CMD::SkillDamage
{
unsigned __int16 handle;
PROTO_NC_BAT_SKILLBASH_HIT_DAMAGE_CMD::SkillDamage::<unnamed-type-flag> flag;
unsigned int hpchange;
unsigned int resthp;
unsigned __int16 hpchangeorder;
};
type NcBatSkillBashHitDamageCmdSkillDamageFlag ¶
struct PROTO_NC_BAT_SKILLBASH_HIT_DAMAGE_CMD::SkillDamage::<unnamed-type-flag>
{
_BYTE gap0[1];
char _bf1;
};
type NcBatSkillBashHitObjStartCmd ¶
struct PROTO_NC_BAT_SKILLBASH_HIT_OBJ_START_CMD
{
unsigned __int16 skill;
unsigned __int16 targetobj;
unsigned __int16 index;
};
type NcBatSkillBashObjCastReq ¶
struct PROTO_NC_BAT_SKILLBASH_OBJ_CAST_REQ
{
unsigned __int16 skill;
unsigned __int16 target;
};
func (*NcBatSkillBashObjCastReq) PdbType ¶
func (nc *NcBatSkillBashObjCastReq) PdbType() string
func (*NcBatSkillBashObjCastReq) String ¶
func (nc *NcBatSkillBashObjCastReq) String() string
type NcBatSomeoneSkillBashHitObjStartCmd ¶
type NcBatSomeoneSkillBashHitObjStartCmd struct {
Caster uint16
CastInfo NcBatSkillBashHitObjStartCmd
}
struct PROTO_NC_BAT_SOMEONESKILLBASH_HIT_OBJ_START_CMD
{
unsigned __int16 caster;
PROTO_NC_BAT_SKILLBASH_HIT_OBJ_START_CMD castinfo;
};
func (*NcBatSomeoneSkillBashHitObjStartCmd) PdbType ¶
func (nc *NcBatSomeoneSkillBashHitObjStartCmd) PdbType() string
func (*NcBatSomeoneSkillBashHitObjStartCmd) String ¶
func (nc *NcBatSomeoneSkillBashHitObjStartCmd) String() string
type NcBatSpChangeCmd ¶
type NcBatSpChangeCmd struct {
SP uint32
}
struct PROTO_NC_BAT_SPCHANGE_CMD
{
unsigned int sp;
};
func (*NcBatSpChangeCmd) PdbType ¶
func (nc *NcBatSpChangeCmd) PdbType() string
func (*NcBatSpChangeCmd) String ¶
func (nc *NcBatSpChangeCmd) String() string
type NcBatTargetInfoCmd ¶
type NcBatTargetInfoCmd struct {
Order byte
Handle uint16
TargetHP uint32
TargetSP uint32
TargetMaxSP uint32
TargetLP uint16
TargetMaxLP uint32
TargetLevel byte
HpChangeOrder uint16
}
struct PROTO_NC_BAT_TARGETINFO_CMD
{
char order;
unsigned __int16 targethandle;
unsigned int targethp;
unsigned int targetmaxhp;
unsigned int targetsp;
unsigned int targetmaxsp;
unsigned int targetlp;
unsigned int targetmaxlp;
char targetlevel;
unsigned __int16 hpchangeorder;
};
func (*NcBatTargetInfoCmd) PdbType ¶
func (nc *NcBatTargetInfoCmd) PdbType() string
func (*NcBatTargetInfoCmd) String ¶
func (nc *NcBatTargetInfoCmd) String() string
type NcBoothEntryReq ¶
type NcBoothEntryReq struct {
Booth uint16
}
struct PROTO_NC_BOOTH_ENTRY_REQ
{
unsigned __int16 booth;
};
func (*NcBoothEntryReq) PdbType ¶
func (nc *NcBoothEntryReq) PdbType() string
func (*NcBoothEntryReq) String ¶
func (nc *NcBoothEntryReq) String() string
type NcBoothEntrySellAck ¶
type NcBoothEntrySellAck struct {
Err uint16
BoothHandle uint16
NumOfItems byte
Items []NcBoothEntrySellAckItemList `struct:"sizefrom=NumOfItems"`
}
struct PROTO_NC_BOOTH_ENTRY_SELL_ACK
{
unsigned __int16 err;
unsigned __int16 boothhandle;
char numofitem;
PROTO_NC_BOOTH_ENTRY_SELL_ACK::BoothItemList items[];
};
func (*NcBoothEntrySellAck) PdbType ¶
func (nc *NcBoothEntrySellAck) PdbType() string
func (*NcBoothEntrySellAck) String ¶
func (nc *NcBoothEntrySellAck) String() string
type NcBoothEntrySellAckItemList ¶
type NcBoothEntrySellAckItemList struct {
DataSize byte
BoothSlot byte
UnitCost uint64
//struct SHINE_ITEM_STRUCT
//{
// unsigned __int16 itemid;
// SHINE_ITEM_ATTRIBUTE itemattr;
//};
Info struct {
ItemID uint16
ItemAttr []byte `struct-size:"Parent.DataSize - 2"`
}
}
struct PROTO_NC_BOOTH_ENTRY_SELL_ACK::BoothItemList
{
char datasize;
char boothslot;
unsigned __int64 unitcost;
SHINE_ITEM_STRUCT item;
};
type NcBoothRefreshReq ¶
type NcBoothRefreshReq struct {
Booth uint16
}
struct PROTO_NC_BOOTH_REFRESH_REQ
{
unsigned __int16 booth;
};
func (*NcBoothRefreshReq) PdbType ¶
func (nc *NcBoothRefreshReq) PdbType() string
func (*NcBoothRefreshReq) String ¶
func (nc *NcBoothRefreshReq) String() string
type NcBoothSearchBoothClosedCmd ¶
type NcBoothSearchBoothClosedCmd struct {
ClosedBoothOwnerHandle uint16
}
struct PROTO_NC_BOOTH_SEARCH_BOOTH_CLOSED_CMD
{
unsigned __int16 nClosedBoothOwnerHandle;
};
func (*NcBoothSearchBoothClosedCmd) PdbType ¶
func (nc *NcBoothSearchBoothClosedCmd) PdbType() string
func (*NcBoothSearchBoothClosedCmd) String ¶
func (nc *NcBoothSearchBoothClosedCmd) String() string
type NcBoothSomeoneOpenCmd ¶
type NcBoothSomeoneOpenCmd struct {
Handle uint16
Tent CharBriefInfoCamp
IsSelling byte
Sign StreetBoothSignBoard
}
struct PROTO_NC_BOOTH_SOMEONEOPEN_CMD
{
unsigned __int16 handle;
CHARBRIEFINFO_CAMP tent;
char issell;
STREETBOOTH_SIGNBOARD signboard;
};
func (*NcBoothSomeoneOpenCmd) PdbType ¶
func (nc *NcBoothSomeoneOpenCmd) PdbType() string
func (*NcBoothSomeoneOpenCmd) String ¶
func (nc *NcBoothSomeoneOpenCmd) String() string
type NcBriefInfoAbstateChangeCmd ¶
type NcBriefInfoAbstateChangeCmd struct {
Handle uint16
Info AbstateInformation
}
struct PROTO_NC_BRIEFINFO_ABSTATE_CHANGE_CMD
{
unsigned __int16 handle;
ABSTATE_INFORMATION info;
};
func (*NcBriefInfoAbstateChangeCmd) PdbType ¶
func (nc *NcBriefInfoAbstateChangeCmd) PdbType() string
func (*NcBriefInfoAbstateChangeCmd) String ¶
func (nc *NcBriefInfoAbstateChangeCmd) String() string
type NcBriefInfoAbstateChangeListCmd ¶
type NcBriefInfoAbstateChangeListCmd struct {
Handle uint16
Count byte
List []AbstateInformation `struct:"sizefrom=Count"`
}
struct PROTO_NC_BRIEFINFO_ABSTATE_CHANGE_LIST_CMD
{
unsigned __int16 handle;
char count;
ABSTATE_INFORMATION infoList[];
};
func (*NcBriefInfoAbstateChangeListCmd) PdbType ¶
func (nc *NcBriefInfoAbstateChangeListCmd) PdbType() string
func (*NcBriefInfoAbstateChangeListCmd) String ¶
func (nc *NcBriefInfoAbstateChangeListCmd) String() string
type NcBriefInfoChangeDecorateCmd ¶
struct PROTO_NC_BRIEFINFO_CHANGEDECORATE_CMD
{
unsigned __int16 handle;
unsigned __int16 item;
char nSlotNum;
};
func (*NcBriefInfoChangeDecorateCmd) PdbType ¶
func (nc *NcBriefInfoChangeDecorateCmd) PdbType() string
func (*NcBriefInfoChangeDecorateCmd) String ¶
func (nc *NcBriefInfoChangeDecorateCmd) String() string
type NcBriefInfoChangeUpgradeCmd ¶
struct PROTO_NC_BRIEFINFO_CHANGEUPGRADE_CMD
{
unsigned __int16 handle;
unsigned __int16 item;
char upgrade;
char nSlotNum;
};
func (*NcBriefInfoChangeUpgradeCmd) PdbType ¶
func (nc *NcBriefInfoChangeUpgradeCmd) PdbType() string
func (*NcBriefInfoChangeUpgradeCmd) String ¶
func (nc *NcBriefInfoChangeUpgradeCmd) String() string
type NcBriefInfoChangeWeaponCmd ¶
type NcBriefInfoChangeWeaponCmd struct {
UpgradeInfo NcBriefInfoChangeUpgradeCmd
CurrentMobID uint16
CurrentKillLevel byte
}
struct PROTO_NC_BRIEFINFO_CHANGEWEAPON_CMD
{
PROTO_NC_BRIEFINFO_CHANGEUPGRADE_CMD upgradeinfo;
unsigned __int16 currentmobid;
char currentkilllevel;
};
func (*NcBriefInfoChangeWeaponCmd) PdbType ¶
func (nc *NcBriefInfoChangeWeaponCmd) PdbType() string
func (*NcBriefInfoChangeWeaponCmd) String ¶
func (nc *NcBriefInfoChangeWeaponCmd) String() string
type NcBriefInfoCharacterCmd ¶
type NcBriefInfoCharacterCmd struct {
Number byte
Characters []NcBriefInfoLoginCharacterCmd `struct:"sizefrom=Number"`
}
struct PROTO_NC_BRIEFINFO_CHARACTER_CMD
{
char charnum;
PROTO_NC_BRIEFINFO_LOGINCHARACTER_CMD chars[];
};
func (*NcBriefInfoCharacterCmd) PdbType ¶
func (nc *NcBriefInfoCharacterCmd) PdbType() string
func (*NcBriefInfoCharacterCmd) String ¶
func (nc *NcBriefInfoCharacterCmd) String() string
type NcBriefInfoDeleteCmd ¶
type NcBriefInfoDeleteCmd struct {
Handle uint16
}
struct PROTO_NC_BRIEFINFO_BRIEFINFODELETE_CMD
{
unsigned __int16 hnd;
};
func (*NcBriefInfoDeleteCmd) PdbType ¶
func (nc *NcBriefInfoDeleteCmd) PdbType() string
func (*NcBriefInfoDeleteCmd) String ¶
func (nc *NcBriefInfoDeleteCmd) String() string
type NcBriefInfoDroppedItemCmd ¶
type NcBriefInfoDroppedItemCmd struct {
Handle uint16
ItemID uint16
Location ShineXYType
DropMobHandle uint16
Attr NcBriefInfoDroppedItemCmdAttr
}
struct PROTO_NC_BRIEFINFO_DROPEDITEM_CMD
{
unsigned __int16 handle;
unsigned __int16 itemid;
SHINE_XY_TYPE location;
unsigned __int16 dropmobhandle;
PROTO_NC_BRIEFINFO_DROPEDITEM_CMD::<unnamed-type-attr> attr;
};
func (*NcBriefInfoDroppedItemCmd) PdbType ¶
func (nc *NcBriefInfoDroppedItemCmd) PdbType() string
func (*NcBriefInfoDroppedItemCmd) String ¶
func (nc *NcBriefInfoDroppedItemCmd) String() string
type NcBriefInfoDroppedItemCmdAttr ¶
type NcBriefInfoDroppedItemCmdAttr struct {
BF0 byte
}
struct PROTO_NC_BRIEFINFO_DROPEDITEM_CMD::<unnamed-type-attr>
{
char _bf0;
};
type NcBriefInfoInformCmd ¶
type NcBriefInfoInformCmd struct {
MyHandle uint16
ReceiveNetCommand NetCommand
Handle uint16
}
struct PROTO_NC_BRIEFINFO_INFORM_CMD
{
unsigned __int16 nMyHnd;
NETCOMMAND ReceiveNetCommand;
unsigned __int16 hnd;
};
func (*NcBriefInfoInformCmd) PdbType ¶
func (nc *NcBriefInfoInformCmd) PdbType() string
func (*NcBriefInfoInformCmd) String ¶
func (nc *NcBriefInfoInformCmd) String() string
type NcBriefInfoLoginCharacterCmd ¶
type NcBriefInfoLoginCharacterCmd struct {
Handle uint16
CharID Name5
Coordinates ShineCoordType
Mode byte
Class byte
Shape ProtoAvatarShapeInfo
ShapeData NcBriefInfoLoginCharacterCmdShapeData
Polymorph uint16
Emoticon StopEmoticonDescript
CharTitle CharTitleBriefInfo
AbstateBit AbstateBit
MyGuild uint32
Type byte
IsAcademyMember byte
IsAutoPick byte
Level byte
Animation [32]byte
MoverHandle uint16
MoverSlot byte
KQTeamType byte
UsingMinipet byte
}
struct PROTO_NC_BRIEFINFO_LOGINCHARACTER_CMD
{
unsigned __int16 handle;
Name5 charid;
SHINE_COORD_TYPE coord;
char mode;
char chrclass;
PROTO_AVATAR_SHAPE_INFO shape;
PROTO_NC_BRIEFINFO_LOGINCHARACTER_CMD::<unnamed-type-shapedata> shapedata;
unsigned __int16 polymorph;
STOPEMOTICON_DESCRIPT emoticon;
CHARTITLE_BRIEFINFO chartitle;
ABNORMAL_STATE_BIT abstatebit;
unsigned int myguild;
char type;
char isGuildAcademyMember;
char IsAutoPick;
char Level;
char sAnimation[32];
unsigned __int16 nMoverHnd;
char nMoverSlot;
char nKQTeamType;
char IsUseItemMinimon;
};
func (*NcBriefInfoLoginCharacterCmd) PdbType ¶
func (nc *NcBriefInfoLoginCharacterCmd) PdbType() string
func (*NcBriefInfoLoginCharacterCmd) String ¶
func (nc *NcBriefInfoLoginCharacterCmd) String() string
type NcBriefInfoLoginCharacterCmdShapeData ¶
type NcBriefInfoLoginCharacterCmdShapeData struct {
Data [45]byte
}
union PROTO_NC_BRIEFINFO_LOGINCHARACTER_CMD::<unnamed-type-shapedata>
{
CHARBRIEFINFO_NOTCAMP notcamp;
CHARBRIEFINFO_CAMP camp;
CHARBRIEFINFO_BOOTH booth;
CHARBRIEFINFO_RIDE ride;
};
type NcBriefInfoMobCmd ¶
type NcBriefInfoMobCmd struct {
MobNum byte
Mobs []NcBriefInfoRegenMobCmd `struct:"sizefrom=MobNum"`
}
struct PROTO_NC_BRIEFINFO_MOB_CMD
{
char mobnum;
PROTO_NC_BRIEFINFO_REGENMOB_CMD mobs[];
};
func (*NcBriefInfoMobCmd) PdbType ¶
func (nc *NcBriefInfoMobCmd) PdbType() string
func (*NcBriefInfoMobCmd) String ¶
func (nc *NcBriefInfoMobCmd) String() string
type NcBriefInfoMoverCmd ¶
type NcBriefInfoMoverCmd struct {
Count byte
Movers []NcBriefInfoRegenMoverCmd `struct:"sizefrom=Count"`
}
struct PROTO_NC_BRIEFINFO_MOVER_CMD
{
char nMoverNum;
PROTO_NC_BRIEFINFO_REGENMOVER_CMD Movers[];
};
func (*NcBriefInfoMoverCmd) PdbType ¶
func (nc *NcBriefInfoMoverCmd) PdbType() string
func (*NcBriefInfoMoverCmd) String ¶
func (nc *NcBriefInfoMoverCmd) String() string
type NcBriefInfoRegenMobCmd ¶
type NcBriefInfoRegenMobCmd struct {
Handle uint16
Mode byte
MobID uint16
Coord ShineCoordType
// 0,1
FlagState byte
FlagData BriefInfoRegenMobCmdFlag
Animation [32]byte
AnimationLevel byte
KQTeamType byte
RegenAni byte
}
struct PROTO_NC_BRIEFINFO_REGENMOB_CMD
{
unsigned __int16 handle;
char mode;
unsigned __int16 mobid;
SHINE_COORD_TYPE coord;
char flagstate;
PROTO_NC_BRIEFINFO_REGENMOB_CMD::<unnamed-type-flag> flag;
char sAnimation[32];
char nAnimationLevel;
char nKQTeamType;
char bRegenAni;
};
func (*NcBriefInfoRegenMobCmd) PdbType ¶
func (nc *NcBriefInfoRegenMobCmd) PdbType() string
func (*NcBriefInfoRegenMobCmd) String ¶
func (nc *NcBriefInfoRegenMobCmd) String() string
type NcBriefInfoRegenMoverCmd ¶
type NcBriefInfoRegenMoverCmd struct {
Handle uint16
ID uint32
HP uint32
Coordinates ShineCoordType
AbstateBit AbstateBit
Grade byte
SlotHandle [9]uint16
}
struct PROTO_NC_BRIEFINFO_REGENMOVER_CMD
{
unsigned __int16 nHandle;
unsigned int nID;
unsigned int nHP;
SHINE_COORD_TYPE nCoord;
ABNORMAL_STATE_BIT AbstateBit;
char nGrade;
unsigned __int16 nSlotHandle[10];
};
func (*NcBriefInfoRegenMoverCmd) PdbType ¶
func (nc *NcBriefInfoRegenMoverCmd) PdbType() string
func (*NcBriefInfoRegenMoverCmd) String ¶
func (nc *NcBriefInfoRegenMoverCmd) String() string
type NcBriefInfoUnequipCmd ¶
struct PROTO_NC_BRIEFINFO_UNEQUIP_CMD
{
unsigned __int16 handle;
char slot;
};
func (*NcBriefInfoUnequipCmd) PdbType ¶
func (nc *NcBriefInfoUnequipCmd) PdbType() string
func (*NcBriefInfoUnequipCmd) String ¶
func (nc *NcBriefInfoUnequipCmd) String() string
type NcCharAdminLevelInformCmd ¶
type NcCharAdminLevelInformCmd struct {
AdminLevel byte
}
struct PROTO_NC_CHAR_ADMIN_LEVEL_INFORM_CMD
{
char nAdminLevel;
};
func (*NcCharAdminLevelInformCmd) PdbType ¶
func (nc *NcCharAdminLevelInformCmd) PdbType() string
func (*NcCharAdminLevelInformCmd) String ¶
func (nc *NcCharAdminLevelInformCmd) String() string
type NcCharClientAutoPickCmd ¶
struct PROTO_NC_CHAR_CLIENT_AUTO_PICK_CMD
{
unsigned __int16 player;
char bEnable;
};
func (*NcCharClientAutoPickCmd) PdbType ¶
func (nc *NcCharClientAutoPickCmd) PdbType() string
func (*NcCharClientAutoPickCmd) String ¶
func (nc *NcCharClientAutoPickCmd) String() string
type NcCharClientItemCmd ¶
type NcCharClientItemCmd struct {
NumOfItem byte `struct:"byte"`
Box byte `struct:"byte"`
Flag ProtoNcCharClientItemCmdFlag
Items []ProtoItemPacketInformation `struct:"sizefrom=NumOfItem"`
}
struct PROTO_NC_CHAR_CLIENT_ITEM_CMD
{
char numofitem;
char box;
PROTO_NC_CHAR_CLIENT_ITEM_CMD::<unnamed-type-flag> flag;
PROTO_ITEMPACKET_INFORM ItemArray[];
};
func (*NcCharClientItemCmd) PdbType ¶
func (nc *NcCharClientItemCmd) PdbType() string
func (*NcCharClientItemCmd) String ¶
func (nc *NcCharClientItemCmd) String() string
type NcCharClientSkillCmd ¶
type NcCharClientSkillCmd struct {
RestEmpower byte
PartMark PartMark
MaxNum uint16
Skills NcCharSkillClientCmd
}
struct PROTO_NC_CHAR_CLIENT_SKILL_CMD
{
char restempow;
PARTMARK PartMark;
unsigned __int16 nMaxNum;
PROTO_NC_CHAR_SKILLCLIENT_CMD skill;
};
func (*NcCharClientSkillCmd) PdbType ¶
func (nc *NcCharClientSkillCmd) PdbType() string
func (*NcCharClientSkillCmd) String ¶
func (nc *NcCharClientSkillCmd) String() string
type NcCharGetKeyMapCmd ¶
type NcCharGetKeyMapCmd struct {
Count uint16
Keys []KeyMapData `struct:"sizefrom=Count"`
}
struct PROTO_NC_CHAR_OPTION_IMPROVE_GET_KEYMAP_CMD
{
unsigned __int16 nKeyMapDataCnt;
KEY_MAP_DATA KeyMapData[];
};
func (*NcCharGetKeyMapCmd) PdbType ¶
func (nc *NcCharGetKeyMapCmd) PdbType() string
func (*NcCharGetKeyMapCmd) String ¶
func (nc *NcCharGetKeyMapCmd) String() string
type NcCharGetShortcutDataCmd ¶
type NcCharGetShortcutDataCmd struct {
Count uint16
Shortcuts []ShortCutData `struct:"sizefrom=Count"`
}
struct PROTO_NC_CHAR_OPTION_IMPROVE_GET_SHORTCUTDATA_CMD { unsigned __int16 nShortCutDataCnt; SHORT_CUT_DATA ShortCutData[]; };
func (*NcCharGetShortcutDataCmd) PdbType ¶
func (nc *NcCharGetShortcutDataCmd) PdbType() string
func (*NcCharGetShortcutDataCmd) String ¶
func (nc *NcCharGetShortcutDataCmd) String() string
type NcCharGuildAcademyCmd ¶
type NcCharGuildAcademyCmd struct {
GuildAcademyNo uint32
//GuildAcademyNo uint16
IsGuildAcademyMember byte
//GuildAcademyClients []GuildAcademyClient `struct:"sizefrom=GuildAcademyNo"`
GuildAcademyClient GuildAcademyClient
}
struct PROTO_NC_CHAR_GUILD_ACADEMY_CMD
{
unsigned int nGuildAcademyNo;
char isGuildAcademyMember;
GUILD_ACADEMY_CLIENT GuildAcademy[];
};
func (*NcCharGuildAcademyCmd) PdbType ¶
func (nc *NcCharGuildAcademyCmd) PdbType() string
func (*NcCharGuildAcademyCmd) String ¶
func (nc *NcCharGuildAcademyCmd) String() string
type NcCharGuildCmd ¶
type NcCharGuildCmd struct {
GuildNumber uint32
Guilds GuildClient
}
struct PROTO_NC_CHAR_GUILD_CMD
{
unsigned int nGuildNo;
GUILD_CLIENT Guild[];
};
func (*NcCharGuildCmd) PdbType ¶
func (nc *NcCharGuildCmd) PdbType() string
func (*NcCharGuildCmd) String ¶
func (nc *NcCharGuildCmd) String() string
type NcCharLoginAck ¶
struct PROTO_NC_CHAR_LOGIN_ACK
{
Name4 zoneip;
unsigned __int16 zoneport;
};
func (*NcCharLoginAck) PdbType ¶
func (nc *NcCharLoginAck) PdbType() string
func (*NcCharLoginAck) String ¶
func (nc *NcCharLoginAck) String() string
type NcCharLoginReq ¶
type NcCharLoginReq struct {
Slot byte
}
struct PROTO_NC_CHAR_LOGIN_REQ
{
char slot;
};
func (*NcCharLoginReq) PdbType ¶
func (nc *NcCharLoginReq) PdbType() string
func (*NcCharLoginReq) String ¶
func (nc *NcCharLoginReq) String() string
type NcCharNewbieGuideViewSetCmd ¶
type NcCharNewbieGuideViewSetCmd struct {
GuideView byte
}
struct PROTO_NC_CHAR_NEWBIE_GUIDE_VIEW_SET_CMD
{
char nGuideView;
};
func (*NcCharNewbieGuideViewSetCmd) PdbType ¶
func (nc *NcCharNewbieGuideViewSetCmd) PdbType() string
func (*NcCharNewbieGuideViewSetCmd) String ¶
func (nc *NcCharNewbieGuideViewSetCmd) String() string
type NcCharOptionGetShortcutSizeAck ¶
type NcCharOptionGetShortcutSizeAck struct {
Success byte
Data NcCharOptionShortcutSize
}
struct PROTO_NC_CHAR_OPTION_GET_SHORTCUTSIZE_ACK
{
char bSuccess;
PROTO_NC_CHAR_OPTION_SHORTCUTSIZE Data;
};
func (*NcCharOptionGetShortcutSizeAck) PdbType ¶
func (nc *NcCharOptionGetShortcutSizeAck) PdbType() string
func (*NcCharOptionGetShortcutSizeAck) String ¶
func (nc *NcCharOptionGetShortcutSizeAck) String() string
type NcCharOptionGetShortcutSizeReq ¶
type NcCharOptionGetShortcutSizeReq struct {
}
struct PROTO_NC_CHAR_OPTION_GET_SHORTCUTSIZE_REQ
{
char dummy[1];
};
func (*NcCharOptionGetShortcutSizeReq) PdbType ¶
func (nc *NcCharOptionGetShortcutSizeReq) PdbType() string
func (*NcCharOptionGetShortcutSizeReq) String ¶
func (nc *NcCharOptionGetShortcutSizeReq) String() string
type NcCharOptionGetWindowPosAck ¶
type NcCharOptionGetWindowPosAck struct {
Success byte
Data NcCharOptionWindowPos
}
struct PROTO_NC_CHAR_OPTION_GET_WINDOWPOS_ACK
{
char bSuccess;
PROTO_NC_CHAR_OPTION_WINDOWPOS Data;
};
func (*NcCharOptionGetWindowPosAck) PdbType ¶
func (nc *NcCharOptionGetWindowPosAck) PdbType() string
func (*NcCharOptionGetWindowPosAck) String ¶
func (nc *NcCharOptionGetWindowPosAck) String() string
type NcCharOptionImproveGetGameOptionCmd ¶
type NcCharOptionImproveGetGameOptionCmd struct {
OptionCount uint16
GameOptions []GameOptionData `struct:"sizefrom=OptionCount"`
}
struct PROTO_NC_CHAR_OPTION_IMPROVE_GET_GAMEOPTION_CMD
{
unsigned __int16 nGameOptionDataCnt;
GAME_OPTION_DATA GameOptionData[];
};
func (*NcCharOptionImproveGetGameOptionCmd) PdbType ¶
func (nc *NcCharOptionImproveGetGameOptionCmd) PdbType() string
func (*NcCharOptionImproveGetGameOptionCmd) String ¶
func (nc *NcCharOptionImproveGetGameOptionCmd) String() string
type NcCharOptionShortcutSize ¶
type NcCharOptionShortcutSize struct {
Data [24]byte
}
struct PROTO_NC_CHAR_OPTION_SHORTCUTSIZE
{
char Data[24];
};
type NcCharOptionWindowPos ¶
type NcCharOptionWindowPos struct {
Data [392]byte
}
struct PROTO_NC_CHAR_OPTION_WINDOWPOS
{
char Data[392];
};
type NcCharSkillClientCmd ¶
type NcCharSkillClientCmd struct {
ChrRegNum uint32
Number uint16
Skills []SkillReadBlockClient `struct:"sizefrom=Number"`
}
struct PROTO_NC_CHAR_SKILLCLIENT_CMD
{
unsigned int chrregnum;
unsigned __int16 number;
PROTO_SKILLREADBLOCKCLIENT skill[];
};
func (*NcCharSkillClientCmd) PdbType ¶
func (nc *NcCharSkillClientCmd) PdbType() string
func (*NcCharSkillClientCmd) String ¶
func (nc *NcCharSkillClientCmd) String() string
type NcCharStatRemainPointCmd ¶
type NcCharStatRemainPointCmd struct {
Remain byte
}
struct PROTO_NC_CHAR_STAT_REMAINPOINT_CMD
{
char remain;
};
func (*NcCharStatRemainPointCmd) PdbType ¶
func (nc *NcCharStatRemainPointCmd) PdbType() string
func (*NcCharStatRemainPointCmd) String ¶
func (nc *NcCharStatRemainPointCmd) String() string
type NcCharUiStateSaveReq ¶
type NcCharUiStateSaveReq struct {
MysteryType byte
}
struct PROTO_NC_CHARSAVE_UI_STATE_SAVE_REQ
{
char btMysteryType;
};
func (*NcCharUiStateSaveReq) PdbType ¶
func (nc *NcCharUiStateSaveReq) PdbType() string
func (*NcCharUiStateSaveReq) String ¶
func (nc *NcCharUiStateSaveReq) String() string
type NcCharUseItemMinimonUseBroadCmd ¶
struct PROTO_NC_CHAR_USEITEM_MINIMON_USE_BROAD_CMD
{
unsigned __int16 nCharHandle;
char bUse;
};
func (*NcCharUseItemMinimonUseBroadCmd) PdbType ¶
func (nc *NcCharUseItemMinimonUseBroadCmd) PdbType() string
func (*NcCharUseItemMinimonUseBroadCmd) String ¶
func (nc *NcCharUseItemMinimonUseBroadCmd) String() string
type NcChargedBoothSlotSizeCmd ¶
type NcChargedBoothSlotSizeCmd struct {
BoothSize byte
}
struct PROTO_NC_CHARGED_BOOTHSLOTSIZE_CMD
{
char boothsize;
};
func (*NcChargedBoothSlotSizeCmd) PdbType ¶
func (nc *NcChargedBoothSlotSizeCmd) PdbType() string
func (*NcChargedBoothSlotSizeCmd) String ¶
func (nc *NcChargedBoothSlotSizeCmd) String() string
type NcClientCharTitleCmd ¶
type NcClientCharTitleCmd struct {
CurrentTitle byte
CurrentTitleElement byte
CurrentTitleMobID uint16
NumOfTitle uint16
Titles []CharTitleInfo `struct:"sizefrom=NumOfTitle"`
}
struct PROTO_NC_CHAR_CLIENT_CHARTITLE_CMD
{
char CurrentTitle;
char CurrentTitleElement;
unsigned __int16 CurrentTitleMobID;
unsigned __int16 NumOfTitle;
CT_INFO TitleArray[];
};
func (*NcClientCharTitleCmd) PdbType ¶
func (nc *NcClientCharTitleCmd) PdbType() string
func (*NcClientCharTitleCmd) String ¶
func (nc *NcClientCharTitleCmd) String() string
type NcCollectCardRegisterReq ¶
type NcCollectCardRegisterReq struct {
Slot byte
}
struct PROTO_NC_COLLECT_CARDREGIST_REQ
{
char invenslot;
};
func (*NcCollectCardRegisterReq) PdbType ¶
func (nc *NcCollectCardRegisterReq) PdbType() string
func (*NcCollectCardRegisterReq) String ¶
func (nc *NcCollectCardRegisterReq) String() string
type NcHolyPromiseListCmd ¶
type NcHolyPromiseListCmd struct {
UpInfo HolyPromiseInfo
Part byte
MemberCount uint16
Members []HolyPromiseInfo `struct:"sizefrom=MemberCount"`
}
struct PROTO_NC_HOLY_PROMISE_LIST_CMD
{
PROTO_HOLY_PROMISE_INFO UpInfo;
char nPart;
unsigned __int16 MemberCount;
PROTO_HOLY_PROMISE_INFO MemberInfo[];
};
func (*NcHolyPromiseListCmd) PdbType ¶
func (nc *NcHolyPromiseListCmd) PdbType() string
func (*NcHolyPromiseListCmd) String ¶
func (nc *NcHolyPromiseListCmd) String() string
type NcITemChargedInventoryOpenReq ¶
type NcITemChargedInventoryOpenReq struct {
Page uint16
}
struct PROTO_NC_ITEM_CHARGEDINVENOPEN_REQ
{
unsigned __int16 page;
};
func (*NcITemChargedInventoryOpenReq) PdbType ¶
func (nc *NcITemChargedInventoryOpenReq) PdbType() string
func (*NcITemChargedInventoryOpenReq) String ¶
func (nc *NcITemChargedInventoryOpenReq) String() string
type NcItemCellChangeCmd ¶
type NcItemCellChangeCmd struct {
Exchange ItemInventory
Location ItemInventory
Item ShineItemVar
}
struct PROTO_NC_ITEM_CELLCHANGE_CMD
{
ITEM_INVEN exchange;
ITEM_INVEN location;
SHINE_ITEM_VAR_STRUCT item;
};
func (*NcItemCellChangeCmd) PdbType ¶
func (nc *NcItemCellChangeCmd) PdbType() string
func (*NcItemCellChangeCmd) String ¶
func (nc *NcItemCellChangeCmd) String() string
type NcItemChangedInventoryOpenAck ¶
type NcItemChangedInventoryOpenAck struct {
ErrorCode uint16
PartMark byte
NumOfChargedItems uint16
ChargedItems []ChargedItemInfo `struct:"sizefrom=NumOfChargedItems"`
}
struct PROTO_NC_ITEM_CHARGEDINVENOPEN_ACK
{
unsigned __int16 ErrorCode;
char nPartMark;
unsigned __int16 NumOfChargedItem;
PROTO_CHARGED_ITEM_INFO ChargedItemInfoList[];
};
func (*NcItemChangedInventoryOpenAck) PdbType ¶
func (nc *NcItemChangedInventoryOpenAck) PdbType() string
func (*NcItemChangedInventoryOpenAck) String ¶
func (nc *NcItemChangedInventoryOpenAck) String() string
type NcItemDropAck ¶
type NcItemDropAck uint16
typedef unsigned __int16 PROTO_NC_ITEM_DROP_ACK;
func (*NcItemDropAck) PdbType ¶
func (nc *NcItemDropAck) PdbType() string
func (*NcItemDropAck) String ¶
func (nc *NcItemDropAck) String() string
type NcItemDropReq ¶
type NcItemDropReq struct {
Slot ItemInventory
Lot uint32
Location ShineXYType
}
struct PROTO_NC_ITEM_DROP_REQ
{
ITEM_INVEN slot;
unsigned int lot;
SHINE_XY_TYPE loc;
};
func (*NcItemDropReq) PdbType ¶
func (nc *NcItemDropReq) PdbType() string
func (*NcItemDropReq) String ¶
func (nc *NcItemDropReq) String() string
type NcItemEquipReq ¶
type NcItemEquipReq struct {
Slot byte
}
struct PROTO_NC_ITEM_EQUIP_REQ
{
char slot;
};
func (*NcItemEquipReq) PdbType ¶
func (nc *NcItemEquipReq) PdbType() string
func (*NcItemEquipReq) String ¶
func (nc *NcItemEquipReq) String() string
type NcItemPickAck ¶
struct PROTO_NC_ITEM_PICK_ACK
{
unsigned __int16 itemid;
unsigned int lot;
unsigned __int16 error;
unsigned __int16 itemhandle;
};
func (*NcItemPickAck) PdbType ¶
func (nc *NcItemPickAck) PdbType() string
func (*NcItemPickAck) String ¶
func (nc *NcItemPickAck) String() string
type NcItemPickReq ¶
type NcItemPickReq struct {
ItemHandle uint16
}
struct PROTO_NC_ITEM_PICK_REQ
{
unsigned __int16 itemhandle;
};
func (*NcItemPickReq) PdbType ¶
func (nc *NcItemPickReq) PdbType() string
func (*NcItemPickReq) String ¶
func (nc *NcItemPickReq) String() string
type NcItemRewardInventoryOpenAck ¶
type NcItemRewardInventoryOpenAck struct {
Count byte
Items []ItemPacketInfo `struct:"sizefrom=Count"`
}
struct PROTO_NC_ITEM_REWARDINVENOPEN_ACK
{
char itemcounter;
PROTO_ITEMPACKET_INFORM itemarray[];
};
func (*NcItemRewardInventoryOpenAck) PdbType ¶
func (nc *NcItemRewardInventoryOpenAck) PdbType() string
func (*NcItemRewardInventoryOpenAck) String ¶
func (nc *NcItemRewardInventoryOpenAck) String() string
type NcItemRewardInventoryOpenReq ¶
type NcItemRewardInventoryOpenReq struct {
Page uint16
}
struct PROTO_NC_ITEM_REWARDINVENOPEN_REQ
{
unsigned __int16 page;
};
func (*NcItemRewardInventoryOpenReq) PdbType ¶
func (nc *NcItemRewardInventoryOpenReq) PdbType() string
func (*NcItemRewardInventoryOpenReq) String ¶
func (nc *NcItemRewardInventoryOpenReq) String() string
type NcItemUnequipReq ¶
struct PROTO_NC_ITEM_UNEQUIP_REQ
{
char slotequip;
char slotinven;
};
func (*NcItemUnequipReq) PdbType ¶
func (nc *NcItemUnequipReq) PdbType() string
func (*NcItemUnequipReq) String ¶
func (nc *NcItemUnequipReq) String() string
type NcItemUseReq ¶
struct PROTO_NC_ITEM_USE_REQ
{
char invenslot;
char invenType;
};
func (*NcItemUseReq) PdbType ¶
func (nc *NcItemUseReq) PdbType() string
func (*NcItemUseReq) String ¶
func (nc *NcItemUseReq) String() string
type NcKqListTimeAck ¶
struct PROTO_NC_KQ_LIST_TIME_ACK
{
int ServerTime;
tm tm_ServerTime;
};
func (NcKqListTimeAck) PdbType ¶
func (nc NcKqListTimeAck) PdbType() string
func (*NcKqListTimeAck) String ¶
func (nc *NcKqListTimeAck) String() string
type NcKqTeamTypeCmd ¶
type NcKqTeamTypeCmd struct {
TeamType byte
}
struct PROTO_NC_KQ_TEAM_TYPE_CMD
{
char nTeamType;
};
func (*NcKqTeamTypeCmd) PdbType ¶
func (nc *NcKqTeamTypeCmd) PdbType() string
func (*NcKqTeamTypeCmd) String ¶
func (nc *NcKqTeamTypeCmd) String() string
type NcMapCanUseReviveItemCmd ¶
type NcMapCanUseReviveItemCmd struct {
CanUse byte
}
struct PROTO_NC_MAP_CAN_USE_REVIVEITEM_CMD
{
char bCanUseReviveItem;
};
func (*NcMapCanUseReviveItemCmd) PdbType ¶
func (nc *NcMapCanUseReviveItemCmd) PdbType() string
func (*NcMapCanUseReviveItemCmd) String ¶
func (nc *NcMapCanUseReviveItemCmd) String() string
type NcMapFieldAttributeCmd ¶
type NcMapFieldAttributeCmd struct {
FieldMapType uint32
}
struct PROTO_NC_MAP_FIELD_ATTRIBUTE_CMD
{
FIELD_MAP_TYPE eFieldMapType;
};
func (*NcMapFieldAttributeCmd) PdbType ¶
func (nc *NcMapFieldAttributeCmd) PdbType() string
func (*NcMapFieldAttributeCmd) String ¶
func (nc *NcMapFieldAttributeCmd) String() string
type NcMapLoginCompleteCmd ¶
type NcMapLoginCompleteCmd struct {
}
struct PROTO_NC_MAP_LOGINCOMPLETE_CMD
{
char dummy[1];
};
func (*NcMapLoginCompleteCmd) PdbType ¶
func (nc *NcMapLoginCompleteCmd) PdbType() string
func (*NcMapLoginCompleteCmd) String ¶
func (nc *NcMapLoginCompleteCmd) String() string
type NcMapLoginReq ¶
type NcMapLoginReq struct {
CharData NcZoneCharDataReq
CheckSum [49]Name8
}
struct PROTO_NC_MAP_LOGIN_REQ
{
PROTO_NC_CHAR_ZONE_CHARDATA_REQ chardata;
Name8 checksum[50];
};
func (*NcMapLoginReq) PdbType ¶
func (nc *NcMapLoginReq) PdbType() string
func (*NcMapLoginReq) String ¶
func (nc *NcMapLoginReq) String() string
type NcMiscGameTimeAck ¶
type NcMiscGameTimeAck struct {
Hour byte `struct:"byte"`
Minute byte `struct:"byte"`
Second byte `struct:"byte"`
}
struct PROTO_NC_MISC_GAMETIME_ACK
{
char hour;
char minute;
char second;
};
func (*NcMiscGameTimeAck) PdbType ¶
func (nc *NcMiscGameTimeAck) PdbType() string
func (*NcMiscGameTimeAck) String ¶
func (nc *NcMiscGameTimeAck) String() string
type NcMiscHeartBeatAck ¶
type NcMiscHeartBeatAck struct {
}
struct PROTO_NC_MISC_HEARTBEAT_ACK
{
char dummy[1];
};
func (*NcMiscHeartBeatAck) PdbType ¶
func (nc *NcMiscHeartBeatAck) PdbType() string
func (*NcMiscHeartBeatAck) String ¶
func (nc *NcMiscHeartBeatAck) String() string
type NcMiscSeedAck ¶
type NcMiscSeedAck struct {
Seed uint16
}
RE client struct: struct PROTO_NC_MISC_SEED_ACK
{
unsigned __int16 seed;
};
xorKey offset used by client to encrypt data same offset is used on the server side to decrypt data sent by the client
func (*NcMiscSeedAck) PdbType ¶
func (nc *NcMiscSeedAck) PdbType() string
func (*NcMiscSeedAck) String ¶
func (nc *NcMiscSeedAck) String() string
type NcMoverHungryCmd ¶
type NcMoverHungryCmd struct {
Hungry uint16
}
struct PROTO_NC_MOVER_HUNGRY_CMD
{
unsigned __int16 nHungry;
};
func (*NcMoverHungryCmd) PdbType ¶
func (nc *NcMoverHungryCmd) PdbType() string
func (*NcMoverHungryCmd) String ¶
func (nc *NcMoverHungryCmd) String() string
type NcMoverMoveSpeedCmd ¶
struct PROTO_NC_MOVER_MOVESPEED_CMD
{
unsigned __int16 nMoverHandle;
unsigned __int16 nWalk;
unsigned __int16 nRun;
};
func (*NcMoverMoveSpeedCmd) PdbType ¶
func (nc *NcMoverMoveSpeedCmd) PdbType() string
func (*NcMoverMoveSpeedCmd) String ¶
func (nc *NcMoverMoveSpeedCmd) String() string
type NcMoverRideOnCmd ¶
struct PROTO_NC_MOVER_RIDE_ON_CMD
{
unsigned __int16 nMoverHandle;
char nSlot;
char nGrade;
};
func (*NcMoverRideOnCmd) PdbType ¶
func (nc *NcMoverRideOnCmd) PdbType() string
func (*NcMoverRideOnCmd) String ¶
func (nc *NcMoverRideOnCmd) String() string
type NcMoverSomeoneRideOffCmd ¶
type NcMoverSomeoneRideOffCmd struct {
Handle uint16
}
struct PROTO_NC_MOVER_SOMEONE_RIDE_OFF_CMD
{
unsigned __int16 nHandle;
};
func (*NcMoverSomeoneRideOffCmd) PdbType ¶
func (nc *NcMoverSomeoneRideOffCmd) PdbType() string
func (*NcMoverSomeoneRideOffCmd) String ¶
func (nc *NcMoverSomeoneRideOffCmd) String() string
type NcMoverSomeoneRideOnCmd ¶
struct PROTO_NC_MOVER_SOMEONE_RIDE_ON_CMD
{
unsigned __int16 nHandle;
unsigned __int16 nMoverHandle;
char nSlot;
char nGrade;
};
func (*NcMoverSomeoneRideOnCmd) PdbType ¶
func (nc *NcMoverSomeoneRideOnCmd) PdbType() string
func (*NcMoverSomeoneRideOnCmd) String ¶
func (nc *NcMoverSomeoneRideOnCmd) String() string
type NcPrisonGetAck ¶
struct PROTO_NC_PRISON_GET_ACK
{
unsigned __int16 err;
unsigned __int16 nMinute;
char sReason[16];
char sRemark[64];
};
func (*NcPrisonGetAck) PdbType ¶
func (nc *NcPrisonGetAck) PdbType() string
func (*NcPrisonGetAck) String ¶
func (nc *NcPrisonGetAck) String() string
type NcQuestScriptCmdAck ¶
struct PROTO_NC_QUEST_SCRIPT_CMD_ACK
{
unsigned __int16 nQuestID;
char nQSC;
unsigned int nResult;
};
func (*NcQuestScriptCmdAck) PdbType ¶
func (nc *NcQuestScriptCmdAck) PdbType() string
func (*NcQuestScriptCmdAck) String ¶
func (nc *NcQuestScriptCmdAck) String() string
type NcQuestStartReq ¶
type NcQuestStartReq struct {
QuestID uint16
}
struct PROTO_NC_QUEST_START_REQ
{
unsigned __int16 nQuestID;
};
func (*NcQuestStartReq) PdbType ¶
func (nc *NcQuestStartReq) PdbType() string
func (*NcQuestStartReq) String ¶
func (nc *NcQuestStartReq) String() string
type NcServerMenuAck ¶
type NcServerMenuAck struct {
Reply byte
}
struct PROTO_NC_MENU_SERVERMENU_ACK
{
char reply;
};
func (*NcServerMenuAck) PdbType ¶
func (nc *NcServerMenuAck) PdbType() string
func (*NcServerMenuAck) String ¶
func (nc *NcServerMenuAck) String() string
type NcServerMenuReq ¶
type NcServerMenuReq struct {
Title [128]byte
Priority byte
NpcHandle uint16
NpcPosition ShineXYType
LimitRange uint16
MenuNumber byte
Menu []ServerMenu `struct:"sizefrom=MenuNumber"`
}
struct PROTO_NC_MENU_SERVERMENU_REQ
{
char title[128];
char priority;
unsigned __int16 npcHandle;
SHINE_XY_TYPE npcPosition;
unsigned __int16 limitRange;
char menunum;
SERVERMENU menu[];
};
func (*NcServerMenuReq) PdbType ¶
func (nc *NcServerMenuReq) PdbType() string
func (*NcServerMenuReq) String ¶
func (nc *NcServerMenuReq) String() string
type NcSoulStoneHpSomeoneUseCmd ¶
type NcSoulStoneHpSomeoneUseCmd struct {
Player uint16
}
struct PROTO_NC_SOULSTONE_HP_SOMEONEUSE_CMD
{
unsigned __int16 player;
};
func (*NcSoulStoneHpSomeoneUseCmd) PdbType ¶
func (nc *NcSoulStoneHpSomeoneUseCmd) PdbType() string
func (*NcSoulStoneHpSomeoneUseCmd) String ¶
func (nc *NcSoulStoneHpSomeoneUseCmd) String() string
type NcSoulStoneSpSomeoneUseCmd ¶
type NcSoulStoneSpSomeoneUseCmd struct {
Player uint16
}
struct PROTO_NC_SOULSTONE_SP_SOMEONEUSE_CMD
{
unsigned __int16 player;
};
func (*NcSoulStoneSpSomeoneUseCmd) PdbType ¶
func (nc *NcSoulStoneSpSomeoneUseCmd) PdbType() string
func (*NcSoulStoneSpSomeoneUseCmd) String ¶
func (nc *NcSoulStoneSpSomeoneUseCmd) String() string
type NcUserClientVersionCheckReq ¶
type NcUserClientVersionCheckReq struct {
VersionKey [64]byte `struct:"[64]byte"`
}
RE client struct: struct PROTO_NC_USER_CLIENT_VERSION_CHECK_REQ
{
char sVersionKey[64];
};
func (*NcUserClientVersionCheckReq) PdbType ¶
func (nc *NcUserClientVersionCheckReq) PdbType() string
func (*NcUserClientVersionCheckReq) String ¶
func (nc *NcUserClientVersionCheckReq) String() string
type NcUserClientWrongVersionCheckAck ¶
type NcUserClientWrongVersionCheckAck struct{}
struct PROTO_NC_USER_CLIENT_WRONGVERSION_CHECK_ACK
{
char dummy[1];
};
func (*NcUserClientWrongVersionCheckAck) PdbType ¶
func (nc *NcUserClientWrongVersionCheckAck) PdbType() string
func (*NcUserClientWrongVersionCheckAck) String ¶
func (nc *NcUserClientWrongVersionCheckAck) String() string
type NcUserLoginAck ¶
type NcUserLoginAck struct {
NumOfWorld byte `struct:"byte,sizeof=Worlds"`
Worlds []WorldInfo `struct:"sizefrom=NumOfWorld"`
}
struct PROTO_NC_USER_LOGIN_ACK
{
char numofworld;
PROTO_NC_USER_LOGIN_ACK::WorldInfo worldinfo[];
};
func (*NcUserLoginAck) PdbType ¶
func (nc *NcUserLoginAck) PdbType() string
func (*NcUserLoginAck) String ¶
func (nc *NcUserLoginAck) String() string
type NcUserLoginFailAck ¶
type NcUserLoginFailAck struct {
Err uint16 `struct:"uint16"`
}
RE client struct: struct PROTO_NC_USER_LOGINFAIL_ACK
{
unsigned __int16 error;
};
func (*NcUserLoginFailAck) PdbType ¶
func (nc *NcUserLoginFailAck) PdbType() string
func (*NcUserLoginFailAck) String ¶
func (nc *NcUserLoginFailAck) String() string
type NcUserLoginWithOtpReq ¶
type NcUserLoginWithOtpReq struct {
Otp Name8
}
struct PROTO_NC_USER_LOGIN_WITH_OTP_REQ
{
Name8 sOTP;
};
func (*NcUserLoginWithOtpReq) PdbType ¶
func (nc *NcUserLoginWithOtpReq) PdbType() string
func (*NcUserLoginWithOtpReq) String ¶
func (nc *NcUserLoginWithOtpReq) String() string
type NcUserLoginWorldAck ¶
type NcUserLoginWorldAck struct {
WorldManager uint16 `struct:"uint16"`
NumOfAvatar byte `struct:"byte"`
Avatars []AvatarInformation `struct:"sizefrom=NumOfAvatar"`
}
struct PROTO_NC_USER_LOGINWORLD_ACK
{
unsigned __int16 worldmanager;
char numofavatar;
PROTO_AVATARINFORMATION avatar[];
};
func (*NcUserLoginWorldAck) PdbType ¶
func (nc *NcUserLoginWorldAck) PdbType() string
func (*NcUserLoginWorldAck) String ¶
func (nc *NcUserLoginWorldAck) String() string
type NcUserLoginWorldReq ¶
type NcUserLoginWorldReq struct {
User Name256Byte
ValidateNew [28]uint16 `struct:"[28]uint16"`
}
struct PROTO_NC_USER_LOGINWORLD_REQ
{
Name256Byte user;
unsigned __int16 validate_new[32];
};
func (*NcUserLoginWorldReq) PdbType ¶
func (nc *NcUserLoginWorldReq) PdbType() string
func (*NcUserLoginWorldReq) String ¶
func (nc *NcUserLoginWorldReq) String() string
type NcUserUsLoginReq ¶
type NcUserUsLoginReq struct {
UserName [260]byte `struct:"[260]byte"`
Password [36]byte `struct:"[36]byte"`
SpawnApps Name5
}
RE client struct: struct PROTO_NC_USER_US_LOGIN_REQ
{
char sUserName[260];
char sPassword[36];
Name5 spawnapps;
};
func (*NcUserUsLoginReq) PdbType ¶
func (nc *NcUserUsLoginReq) PdbType() string
func (*NcUserUsLoginReq) String ¶
func (nc *NcUserUsLoginReq) String() string
type NcUserWillWorldSelectAck ¶
struct PROTO_NC_USER_WILL_WORLD_SELECT_ACK
{
unsigned __int16 nError;
Name8 sOTP;
};
func (*NcUserWillWorldSelectAck) PdbType ¶
func (nc *NcUserWillWorldSelectAck) PdbType() string
func (*NcUserWillWorldSelectAck) String ¶
func (nc *NcUserWillWorldSelectAck) String() string
type NcUserWorldSelectAck ¶
type NcUserWorldSelectAck struct {
// 1: behaviour -> cannot enter, message -> The server is under maintenance.
// 2: behaviour -> cannot enter, message -> You cannot connect to an empty server.
// 3: behaviour -> cannot enter, message -> The server has been reserved for a special use.
// 4: behaviour -> cannot enter, message -> Login failed due to an unknown error.
// 5: behaviour -> cannot enter, message -> The server is full.
WorldStatus byte `struct:"byte"`
Ip Name4
Port uint16 `struct:"uint16"`
ValidateNew [32]uint16 `struct:"[32]uint16"`
}
struct PROTO_NC_USER_WORLDSELECT_ACK
{
char worldstatus;
Name4 ip;
unsigned __int16 port;
unsigned __int16 validate_new[32];
};
func (*NcUserWorldSelectAck) PdbType ¶
func (nc *NcUserWorldSelectAck) PdbType() string
func (*NcUserWorldSelectAck) String ¶
func (nc *NcUserWorldSelectAck) String() string
type NcUserWorldSelectReq ¶
type NcUserWorldSelectReq struct {
WorldNo byte `struct:"byte"`
}
RE client struct: struct PROTO_NC_USER_WORLDSELECT_REQ { char worldno; };
func (*NcUserWorldSelectReq) PdbType ¶
func (nc *NcUserWorldSelectReq) PdbType() string
func (*NcUserWorldSelectReq) String ¶
func (nc *NcUserWorldSelectReq) String() string
type NcZoneCharDataReq ¶
struct PROTO_NC_CHAR_ZONE_CHARDATA_REQ
{
unsigned __int16 wldmanhandle;
Name5 charid;
};
type NcitemRelocateReq ¶
type NcitemRelocateReq struct {
From ItemInventory
To ItemInventory
}
struct PROTO_NC_ITEM_RELOC_REQ
{
ITEM_INVEN from;
ITEM_INVEN to;
};
func (*NcitemRelocateReq) PdbType ¶
func (nc *NcitemRelocateReq) PdbType() string
func (*NcitemRelocateReq) String ¶
func (nc *NcitemRelocateReq) String() string
type NetCommand ¶
type NetCommand struct {
Protocol uint16
}
union NETCOMMAND
{
unsigned __int16 protocol;
};
type ProtoAvatarDeleteInfo ¶
type ProtoAvatarDeleteInfo struct {
Year byte `struct:"byte"`
Month byte `struct:"byte"`
Day byte `struct:"byte"`
Hour byte `struct:"byte"`
Min byte `struct:"byte"`
}
/* 3807 */ struct PROTO_AVATAR_DELETE_INFO
{
char year;
char month;
char day;
char hour;
char min;
};
type ProtoAvatarShapeInfo ¶
type ProtoAvatarShapeInfo struct {
BF byte `struct:"byte"`
HairType byte `struct:"byte"`
HairColor byte `struct:"byte"`
FaceShape byte `struct:"byte"`
}
struct PROTO_AVATAR_SHAPE_INFO { char _bf0; char hairtype; char haircolor; char faceshape; };
type ProtoEquipment ¶
type ProtoEquipment struct {
EquHead uint16 `struct:"uint16"`
EquMouth uint16 `struct:"uint16"`
EquRightHand uint16 `struct:"uint16"`
EquBody uint16 `struct:"uint16"`
EquLeftHand uint16 `struct:"uint16"`
EquPant uint16 `struct:"uint16"`
EquBoot uint16 `struct:"uint16"`
EquAccBoot uint16 `struct:"uint16"`
EquAccPant uint16 `struct:"uint16"`
EquAccBody uint16 `struct:"uint16"`
EquAccHeadA uint16 `struct:"uint16"`
EquMinimonR uint16 `struct:"uint16"`
EquEye uint16 `struct:"uint16"`
EquAccLeftHand uint16 `struct:"uint16"`
EquAccRightHand uint16 `struct:"uint16"`
EquAccBack uint16 `struct:"uint16"`
EquCosEff uint16 `struct:"uint16"`
EquAccHip uint16 `struct:"uint16"`
EquMinimon uint16 `struct:"uint16"`
EquAccShield uint16 `struct:"uint16"`
Upgrade EquipmentUpgrade
}
struct PROTO_EQUIPMENT
{
unsigned __int16 Equ_Head;
unsigned __int16 Equ_Mouth;
unsigned __int16 Equ_RightHand;
unsigned __int16 Equ_Body;
unsigned __int16 Equ_LeftHand;
unsigned __int16 Equ_Pant;
unsigned __int16 Equ_Boot;
unsigned __int16 Equ_AccBoot;
unsigned __int16 Equ_AccPant;
unsigned __int16 Equ_AccBody;
unsigned __int16 Equ_AccHeadA;
unsigned __int16 Equ_MiniMon_R;
unsigned __int16 Equ_Eye;
unsigned __int16 Equ_AccLeftHand;
unsigned __int16 Equ_AccRightHand;
unsigned __int16 Equ_AccBack;
unsigned __int16 Equ_CosEff;
unsigned __int16 Equ_AccHip;
unsigned __int16 Equ_Minimon;
unsigned __int16 Equ_AccShield;
PROTO_EQUIPMENT::<unnamed-type-upgrade> upgrade;
};
type ProtoItemPacketInformation ¶
type ProtoItemPacketInformation struct {
DataSize byte
// can't be done like this, since data size also covers Location and Info and there's no way to use sizefrom with operators -+ :(
// at the handler level, i would have to read the fields manually.
ItemData []byte `struct:"sizefrom=DataSize"`
}
struct PROTO_ITEMPACKET_INFORM
{
char datasize;
ITEM_INVEN location;
SHINE_ITEM_STRUCT info;
};
type ProtoNcCharClientItemCmdFlag ¶
type ProtoNcCharClientItemCmdFlag struct {
BF0 byte
}
struct PROTO_NC_CHAR_CLIENT_ITEM_CMD::<unnamed-type-flag>
{
char _bf0;
};
type ProtoTutorialInfo ¶
type ProtoTutorialInfo struct {
TutorialState int32 `struct:"int32"`
TutorialStep byte `struct:"byte"`
}
struct PROTO_TUTORIAL_INFO
{
TUTORIAL_STATE nTutorialState;
char nTutorialStep;
};
type ShineCoordType ¶
type ShineCoordType struct {
XY ShineXYType
Direction byte
}
struct SHINE_COORD_TYPE
{
SHINE_XY_TYPE xy;
char dir;
};
type ShineGuildScore ¶
struct SHINE_GUILD_SCORE
{
unsigned __int16 nKillCount[7];
unsigned int nKillScore[7];
};
type SkillItemActionCoolTimeCmd ¶
type SkillItemActionCoolTimeCmd struct {
Num uint16
Groups []SkillItemActionCoolTimeCmdGroup `struct:"sizefrom=Num"`
}
struct PROTO_SKILL_ITEMACTIONCOOLTIME_CMD
{
unsigned __int16 num;
PROTO_SKILL_ITEMACTIONCOOLTIME_CMD::<unnamed-type-group> group[];
};
func (*SkillItemActionCoolTimeCmd) PdbType ¶
func (nc *SkillItemActionCoolTimeCmd) PdbType() string
func (*SkillItemActionCoolTimeCmd) String ¶
func (nc *SkillItemActionCoolTimeCmd) String() string
type SkillItemActionCoolTimeCmdGroup ¶
type SkillItemActionCoolTimeCmdGroup struct {
ItemActionID uint16
ItemActionGroupID uint16
SecondCoolTime uint32
}
struct PROTO_SKILL_ITEMACTIONCOOLTIME_CMD::<unnamed-type-group>
{
unsigned __int16 ItemActionID;
unsigned __int16 ItemActionGroupID;
unsigned int SecondCoolTime;
};
type SkillReadBlockClient ¶
type SkillReadBlockClient struct {
SkillID uint16
CoolTime uint32
Empower SkillReadBlockClientEmpower
Mastery uint32
}
struct PROTO_SKILLREADBLOCKCLIENT
{
unsigned __int16 skillid;
unsigned int cooltime;
PROTO_SKILLREADBLOCKCLIENT::<unnamed-type-empow> empow;
unsigned int mastery;
};
type SkillReadBlockClientEmpower ¶
struct PROTO_SKILLREADBLOCKCLIENT::<unnamed-type-empow>
{
_BYTE gap0[1];
char _bf1;
};
type StopEmoticonDescript ¶
struct STOPEMOTICON_DESCRIPT
{
char emoticonid;
unsigned __int16 emoticonframe;
};
type StreetBoothSignBoard ¶
type StreetBoothSignBoard struct {
Text [30]byte
}
struct STREETBOOTH_SIGNBOARD
{
char signboard[30];
};
type TM ¶
type TM struct {
Seconds int32
Minutes int32
Hour int32
MonthDay int32
Month int32
Year int32
WeekDay int32
YearDay int32
IsDst int32
}
struct tm
{
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
};
Source Files
¶
- act.go
- act_aux.go
- auxiliar.go
- avatar_aux.go
- avatar_nc.go
- bat.go
- bat_aux.go
- booth.go
- booth_aux.go
- brief_info.go
- brief_info_aux.go
- char.go
- char_aux.go
- charged.go
- collect.go
- holy_promise.go
- holy_promise_aux.go
- item.go
- item_aux.go
- kq.go
- map.go
- menu.go
- menu_aux.go
- misc_nc.go
- mover.go
- names.go
- nc.go
- prison.go
- quest.go
- skill.go
- skill_aux.go
- soul_stone.go
- user_nc.go