structs

package
v0.0.0-...-525a05c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2021 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

auxiliar structs

Index

Constants

View Source
const (
	TsProgress  = 0
	TsDone      = 1
	TsSkip      = 2
	TsException = 3
	TsMax       = 4
)

enum TUTORIAL_STATE

Variables

This section is empty.

Functions

func Pack

func Pack(nc interface{}) ([]byte, error)

WriteBinary data into a given struct and return bytes

func Unpack

func Unpack(data []byte, nc interface{}) error

ReadBinary data into a given struct if struct size is bigger than available data, fill with zeros

Types

type AbstateBit

type AbstateBit struct {
	Data [111]byte
}

struct ABNORMAL_STATE_BIT

type AbstateInformation

type AbstateInformation struct {
	// enum ABSTATEINDEX
	AbstateIndex uint32
	RestKeepTime uint32
	Strength     uint32
}

struct ABSTATE_INFORMATION

type AvatarInformation

type AvatarInformation struct {
	ChrRegNum        uint32
	Name             Name5
	Level            uint16
	Slot             byte
	LoginMap         Name3
	DelInfo          ProtoAvatarDeleteInfo
	Shape            ProtoAvatarShapeInfo
	Equip            ProtoEquipment
	KqHandle         uint32
	KqMapName        Name3
	KqCoord          ShineXYType
	KqDate           ShineDateTime
	CharIdChangeData CharIdChangeData
	TutorialInfo     ProtoTutorialInfo
}

struct PROTO_AVATARINFORMATION

type Bind

type Bind struct {
	MapID uint16
	X     uint32
	Y     uint32
}

type BriefInfoRegenMobCmdFlag

type BriefInfoRegenMobCmdFlag struct {
	Data string `struct:"[112]byte"`
}

union PROTO_NC_BRIEFINFO_REGENMOB_CMD::<unnamed-type-flag>

type CharBriefInfoBooth

type CharBriefInfoBooth struct {
	Camp      CharBriefInfoCamp
	IsSelling byte
	SignBoard StreetBoothSignBoard
}

struct CHARBRIEFINFO_BOOTH

type CharBriefInfoCamp

type CharBriefInfoCamp struct {
	MiniHouse uint16
	Dummy     [10]byte //
}

struct CHARBRIEFINFO_CAMP

type CharBriefInfoNotCamp

type CharBriefInfoNotCamp struct {
	Equip ProtoEquipment
}

struct CHARBRIEFINFO_NOTCAMP

type CharBriefInfoNotCamped

type CharBriefInfoNotCamped struct {
	Equip ProtoEquipment
}

struct CHARBRIEFINFO_NOTCAMP

type CharBriefInfoRide

type CharBriefInfoRide struct {
	Equip    ProtoEquipment
	RideInfo CharBriefInfoRideInfo
}

struct CHARBRIEFINFO_RIDE

type CharBriefInfoRideInfo

type CharBriefInfoRideInfo struct {
	Horse uint16
}

struct CHARBRIEFINFO_RIDE::RideInfo

type CharIdChangeData

type CharIdChangeData struct {
	NeedChangeId byte
	Init         byte
	RowNo        uint32
}

struct CHAR_ID_CHANGE_DATA

type CharMysteryVaultUiStateCmd

type CharMysteryVaultUiStateCmd struct {
	MysteryVault byte
}

struct PROTO_NC_CHAR_MYSTERYVAULT_UI_STATE_CMD

type CharParameterData

type CharParameterData struct {
	// i'll have to rename these fields later when I can identify exactly what each field is for x.x
	PrevExp      uint64
	NextExp      uint64
	Strength     ShineCharStatVar
	Constitute   ShineCharStatVar
	Dexterity    ShineCharStatVar
	Intelligence ShineCharStatVar
	Wisdom       ShineCharStatVar
	MentalPower  ShineCharStatVar
	WCLow        ShineCharStatVar // min physical dmg
	WCHigh       ShineCharStatVar // max physical dmg
	AC           ShineCharStatVar // physical defense
	TH           ShineCharStatVar // aim
	TB           ShineCharStatVar // evasion
	MALow        ShineCharStatVar // min magical dmg
	MAHigh       ShineCharStatVar // max magical dmg
	MR           ShineCharStatVar // magical defense
	MH           ShineCharStatVar
	MB           ShineCharStatVar
	MaxHP        uint32
	MaxSP        uint32
	MaxLP        uint32
	MaxAP        uint32
	MaxHPStone   uint32
	MaxSPStone   uint32
	PwrStone     CharParameterDataPwrStone
	GrdStone     CharParameterDataPwrStone
	PainRes      ShineCharStatVar
	RestraintRes ShineCharStatVar
	CurseRes     ShineCharStatVar
	ShockRes     ShineCharStatVar
}

struct CHAR_PARAMETER_DATA

type CharParameterDataPwrStone

type CharParameterDataPwrStone struct {
	Flag      uint32
	EPPPhysic uint32
	EPMagic   uint32
	MaxStone  uint32
}

struct CHAR_PARAMETER_DATA::<unnamed-type-PwrStone>

type CharStats

type CharStats struct {
	Strength          byte
	Constitute        byte
	Dexterity         byte
	Intelligence      byte
	MentalPower       byte
	RedistributePoint byte
}

struct CHARSTATDISTSTR

type CharTitleBriefInfo

type CharTitleBriefInfo struct {
	Type      byte
	ElementNo byte
	MobID     uint16
}

struct CHARTITLE_BRIEFINFO

type CharTitleInfo

type CharTitleInfo struct {
	Type byte
	BF1  byte
}

struct CT_INFO

type CharUseItemMiniMonsterInfoClientCmd

type CharUseItemMiniMonsterInfoClientCmd struct {
	MiniMonsterInfo UseItemMiniMonsterInfo
}

struct PROTO_NC_CHAR_USEITEM_MINIMON_INFO_CLIENT_CMD

type ChargedBuffInfo

type ChargedBuffInfo struct {
	BuffKey uint32
	BuffID  uint16
	UseTime ShineDateTime
	EndTime ShineDateTime
}

struct PROTO_CHARGEDBUFF_INFO

type ChargedItemInfo

type ChargedItemInfo struct {
	ItemOrderNo      uint32
	ItemCode         uint32
	ItemAmount       uint32
	ItemRegisterDate ShineDateTime
}

struct PROTO_CHARGED_ITEM_INFO

type ChargedItems

type ChargedItems struct {
	// Count int
	Items [24]ChargedItemInfo
}

struct CChargedItem

{
 PROTO_CHARGED_ITEM_INFO m_ChargedItemBF[24];
 int m_NumOfChargedItem;
};

type ChargedItems [24]ChargedItemInfo

type EquipmentUpgrade

type EquipmentUpgrade struct {
	// first byte is the upgrade level
	Gap [2]uint8 `struct:"[2]uint8"`
	// Gap uint16
	BF2 byte
}

struct PROTO_EQUIPMENT::<unnamed-type-upgrade>

__int8 lefthand : 4;
__int8 righthand : 4;
__int8 body : 4;
__int8 leg : 4;
__int8 shoes : 4;

type GameOptionData

type GameOptionData struct {
	OptionNo uint16
	Value    byte
}

struct GAME_OPTION_DATA

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

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

type HolyPromiseDate

type HolyPromiseDate struct {
	BF0 int32
}

struct PROTO_HOLY_PROMISE_DATE

type HolyPromiseInfo

type HolyPromiseInfo struct {
	PromiseCharID Name5
	LogonInfo     HolyPromiseDate
	Level         byte
	Flags         byte
}

struct PROTO_HOLY_PROMISE_INFO

type ItemInventory

type ItemInventory struct {
	Inventory uint16
}

union ITEM_INVEN

type ItemOptionStorage

type ItemOptionStorage struct {
	AmountBit byte
	Elements  []ItemOptionStorageElement `struct-size:"AmountBit >> 1"`
}

type ItemOptionStorageElement

type ItemOptionStorageElement struct {
	ItemOptionType  byte
	ItemOptionValue uint16
}

type ItemOptionStorageFixedInfo

type ItemOptionStorageFixedInfo struct {
	// this might be the Count of stats
	// statType >> 1
	StatType byte
}

type ItemPacketInfo

type ItemPacketInfo struct {
	DataSize byte
	Location ItemInventory
	ItemID   uint16
	ItemAttr []byte `struct-size:"DataSize - 4"`
}

struct PROTO_ITEMPACKET_INFORM

type KeyMapData

type KeyMapData struct {
	FunctionNo uint16
	ExtendKey  byte
	AsciiCode  byte
}

struct KEY_MAP_DATA

type MapLogoutCmd

type MapLogoutCmd struct {
	Handle uint16
}

struct PROTO_NC_MAP_LOGOUT_CMD

type Name256Byte

type Name256Byte struct {
	Name string `struct:"[256]byte"`
}

union Name256Byte

type Name3

type Name3 struct {
	Name string `struct:"[12]byte"`
}

type Name4

type Name4 struct {
	Name string `struct:"[16]byte"`
}

type Name5

type Name5 struct {
	Name string `struct:"[20]byte"`
}

type Name8

type Name8 struct {
	Name string `struct:"[32]byte"`
}

type NcActChangeModeReq

type NcActChangeModeReq struct {
	Mode byte
}

struct PROTO_NC_ACT_CHANGEMODE_REQ

type NcActChatReq

type NcActChatReq struct {
	ItemLinkDataCount byte
	Length            byte
	Content           []byte `struct:"sizefrom=Length"`
	ItemMetadata      []byte `struct-while:"!_eof"`
}

struct PROTO_NC_ACT_CHAT_REQ

type NcActGatherStartReq

type NcActGatherStartReq struct {
	Handle uint16
}

struct PROTO_NC_ACT_GATHERSTART_REQ

type NcActMoveRunCmd

type NcActMoveRunCmd NcActWalkReq

NC_ACT_MOVERUN_CMD

type NcActMoveSpeedCmd

type NcActMoveSpeedCmd struct {
	WalkSpeed uint16
	RunSpeed  uint16
}

struct PROTO_NC_ACT_MOVESPEED_CMD

type NcActMoveWalkCmd

type NcActMoveWalkCmd struct {
	From ShineXYType
	To   ShineXYType
}

struct PROTO_NC_ACT_MOVEWALK_CMD

type NcActNpcClickCmd

type NcActNpcClickCmd struct {
	NpcHandle uint16
}

struct PROTO_NC_ACT_NPCCLICK_CMD

type NcActNpcMenuOpenAck

type NcActNpcMenuOpenAck struct {
	Ack byte
}

struct PROTO_NC_ACT_NPCMENUOPEN_ACK

type NcActNpcMenuOpenReq

type NcActNpcMenuOpenReq struct {
	MobID uint16
}

NC_ACT_NPCMENUOPEN_REQ

type NcActSomeoneChangeModeCmd

type NcActSomeoneChangeModeCmd struct {
	Handle uint16
	Mode   byte
}

struct PROTO_NC_ACT_SOMEONECHANGEMODE_CMD

type NcActSomeoneFoldTentCmd

type NcActSomeoneFoldTentCmd struct {
	Handle uint16
	Shape  CharBriefInfoNotCamped
}

struct PROTO_NC_ACT_SOMEONEFOLDTENT_CMD

type NcActSomeoneJumpCmd

type NcActSomeoneJumpCmd struct {
	Handle uint16
}

struct PROTO_NC_ACT_SOMEEONEJUMP_CMD

type NcActSomeoneMoveRunCmd

type NcActSomeoneMoveRunCmd NcActSomeoneWalkCmd

NC_ACT_SOMEONEMOVERUN_CMD

type NcActSomeoneMoveWalkCmd

type NcActSomeoneMoveWalkCmd struct {
	Handle   uint16
	From     ShineXYType
	To       ShineXYType
	Speed    uint16
	MoveAttr NcActSomeoneMoveWalkCmdAttr
}

struct PROTO_NC_ACT_SOMEONEMOVEWALK_CMD

type NcActSomeoneMoveWalkCmdAttr

type NcActSomeoneMoveWalkCmdAttr struct {
	BF0 int16
}

struct PROTO_NC_ACT_SOMEONEMOVEWALK_CMD::<unnamed-type-moveattr>

type NcActSomeoneProduceCastCmd

type NcActSomeoneProduceCastCmd struct {
	Caster uint16
	Item   uint16
}

struct PROTO_NC_ACT_SOMEONEPRODUCE_CAST_CMD

type NcActSomeoneProduceMakeCmd

type NcActSomeoneProduceMakeCmd struct {
	Caster uint16
	Item   uint16
}

struct PROTO_NC_ACT_SOMEONEPRODUCE_MAKE_CMD

type NcActSomeoneShoutCmd

type NcActSomeoneShoutCmd struct {
	Count   byte
	Speaker NcActSomeoneShoutCmdSpeaker
	Flag    NcActSomeoneShoutCmdFlag
	Len     byte
	Content []byte `struct:"sizefrom=Len"`
	// data for viewing the item listed in the chat
	ItemMetadata []byte `struct-while:"!_eof"`
}

struct PROTO_NC_ACT_SOMEONESHOUT_CMD

type NcActSomeoneShoutCmdFlag

type NcActSomeoneShoutCmdFlag struct {
	BF0 byte
}

struct PROTO_NC_ACT_SOMEONESHOUT_CMD::<unnamed-type-flag>

type NcActSomeoneShoutCmdSpeaker

type NcActSomeoneShoutCmdSpeaker struct {
	Data [20]byte
}

union PROTO_NC_ACT_SOMEONESHOUT_CMD::<unnamed-type-speaker>

type NcActSomeoneStopCmd

type NcActSomeoneStopCmd struct {
	Handle   uint16
	Location ShineXYType
}

struct PROTO_NC_ACT_SOMEONESTOP_CMD

type NcActSomeoneWalkCmd

type NcActSomeoneWalkCmd struct {
	Handle   uint16
	From     ShineXYType
	To       ShineXYType
	Speed    uint16 // not sure
	MoveAttr uint16
}

struct PROTO_NC_ACT_SOMEONEMOVEWALK_CMD

type NcActStopReq

type NcActStopReq struct {
	Location ShineXYType
}

struct PROTO_NC_ACT_STOP_REQ

type NcActWalkReq

type NcActWalkReq struct {
	From ShineXYType
	To   ShineXYType
}

struct PROTO_NC_ACT_WALK_REQ

type NcAvatarCreateFailAck

type NcAvatarCreateFailAck struct {
	Err uint16
}

struct PROTO_NC_AVATAR_CREATEFAIL_ACK

type NcAvatarCreateReq

type NcAvatarCreateReq struct {
	SlotNum byte
	Name    Name5
	Shape   ProtoAvatarShapeInfo
}

struct PROTO_NC_AVATAR_CREATE_REQ

type NcAvatarCreateSuccAck

type NcAvatarCreateSuccAck struct {
	NumOfAvatar byte
	Avatar      AvatarInformation
}

struct PROTO_NC_AVATAR_CREATESUCC_ACK

type NcAvatarEraseReq

type NcAvatarEraseReq struct {
	Slot byte
}

struct PROTO_NC_AVATAR_ERASE_REQ

type NcAvatarEraseSuccAck

type NcAvatarEraseSuccAck struct {
	Slot byte
}

struct PROTO_NC_AVATAR_ERASESUCC_ACK

type NcBatAbstateInformCmd

type NcBatAbstateInformCmd struct {
	Abstate          uint32
	KeepTimeMillisec uint32
}

struct PROTO_NC_BAT_ABSTATEINFORM_CMD

type NcBatAbstateInformNoEffectCmd

type NcBatAbstateInformNoEffectCmd struct {
	Abstate          uint32
	KeepTimeMillisec uint32
}

struct PROTO_NC_BAT_ABSTATEINFORM_NOEFFECT_CMD

type NcBatAbstateResetCmd

type NcBatAbstateResetCmd struct {
	Handle       uint16
	AbstateIndex uint32
}

struct PROTO_NC_BAT_ABSTATERESET_CMD

type NcBatAbstateSetCmd

type NcBatAbstateSetCmd struct {
	Handle  uint16
	Abstate uint32
}

struct PROTO_NC_BAT_ABSTATESET_CMD

type NcBatCeaseFireCmd

type NcBatCeaseFireCmd struct {
	Handle uint16
}

struct PROTO_NC_BAT_CEASE_FIRE_CMD

type NcBatDotDamageCmd

type NcBatDotDamageCmd struct {
	Object        uint16
	RestHP        uint32
	Damage        uint16
	Abstate       uint16
	HPChangeOrder uint16
	IsMissDamage  byte
}

struct PROTO_NC_BAT_DOTDAMAGE_CMD

type NcBatHpChangeCmd

type NcBatHpChangeCmd struct {
	HP            uint32
	HpChangeOrder uint16
}

struct PROTO_NC_BAT_HPCHANGE_CMD

type NcBatLpChangeCmd

type NcBatLpChangeCmd struct {
	LP uint32
}

struct PROTO_NC_BAT_LPCHANGE_CMD

type NcBatSkillBashHitBlastCmd

type NcBatSkillBashHitBlastCmd struct {
	Index   uint16
	Caster  uint16
	SkillID uint16
}

struct PROTO_NC_BAT_SKILLBASH_HIT_BLAST_CMD

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

type NcBatSkillBashHitDamageCmdSkillDamage

type NcBatSkillBashHitDamageCmdSkillDamage struct {
	Handle        uint16
	Flag          NcBatSkillBashHitDamageCmdSkillDamageFlag
	HpChange      uint32
	RestHP        uint32
	HpChangeOrder uint16
}

struct PROTO_NC_BAT_SKILLBASH_HIT_DAMAGE_CMD::SkillDamage

type NcBatSkillBashHitDamageCmdSkillDamageFlag

type NcBatSkillBashHitDamageCmdSkillDamageFlag struct {
	Gap byte
	BF1 byte
}

struct PROTO_NC_BAT_SKILLBASH_HIT_DAMAGE_CMD::SkillDamage::<unnamed-type-flag>

type NcBatSkillBashHitObjStartCmd

type NcBatSkillBashHitObjStartCmd struct {
	Skill     uint16
	TargetObj uint16
	Index     uint16
	Unk       uint32
}

struct PROTO_NC_BAT_SKILLBASH_HIT_OBJ_START_CMD

type NcBatSkillBashObjCastReq

type NcBatSkillBashObjCastReq struct {
	Skill  uint16
	Target uint16
}

struct PROTO_NC_BAT_SKILLBASH_OBJ_CAST_REQ

type NcBatSomeoneSkillBashHitObjStartCmd

type NcBatSomeoneSkillBashHitObjStartCmd struct {
	Caster   uint16
	CastInfo NcBatSkillBashHitObjStartCmd
}

struct PROTO_NC_BAT_SOMEONESKILLBASH_HIT_OBJ_START_CMD

type NcBatSpChangeCmd

type NcBatSpChangeCmd struct {
	SP uint32
}

struct PROTO_NC_BAT_SPCHANGE_CMD

type NcBatSwingDamageCmd

type NcBatSwingDamageCmd struct {
	Attacker       uint16
	Defender       uint16
	Flag           NcBatSwingDamageCmdFlag
	Damage         uint16
	RestHP         uint32
	HpChangeOrder  uint16
	DamageIndex    byte
	AttackSequence byte
}

struct PROTO_NC_BAT_SWING_DAMAGE_CMD

type NcBatSwingDamageCmdFlag

type NcBatSwingDamageCmdFlag struct {
	Gap [1]byte
	BF1 byte
}

struct PROTO_NC_BAT_SWING_DAMAGE_CMD::<unnamed-type-flag>

type NcBatSwingStartCmd

type NcBatSwingStartCmd struct {
	Attacker       uint16
	Defender       uint16
	ActionCode     byte
	AttackSpeed    uint16
	DamageIndex    byte
	AttackSequence byte
}

struct PROTO_NC_BAT_SWING_START_CMD

type NcBatTargetInfoCmd

type NcBatTargetInfoCmd struct {
	Order         byte
	Handle        uint16
	TargetHP      uint32
	TargetMaxHP   uint32
	TargetSP      uint32
	TargetMaxSP   uint32
	TargetLP      uint32
	TargetMaxLP   uint32
	TargetLevel   byte
	HpChangeOrder uint16
}

struct PROTO_NC_BAT_TARGETINFO_CMD

type NcBatTargetInfoReq

type NcBatTargetInfoReq struct {
	TargetHandle uint16
}

type NcBatUnTargetReq

type NcBatUnTargetReq struct{}

type NcBoothEntryReq

type NcBoothEntryReq struct {
	Booth uint16
}

struct PROTO_NC_BOOTH_ENTRY_REQ

type NcBoothEntrySellAck

type NcBoothEntrySellAck struct {
	Err         uint16
	BoothHandle uint16
	NumOfItems  byte
	Items       []NcBoothEntrySellAckItemList `struct:"sizefrom=NumOfItems"`
}

struct PROTO_NC_BOOTH_ENTRY_SELL_ACK

type NcBoothEntrySellAckItemList

type NcBoothEntrySellAckItemList struct {
	DataSize  byte
	BoothSlot byte
	UnitCost  uint64
	// struct SHINE_ITEM_STRUCT
	ItemID   uint16
	ItemAttr []byte `struct-size:"DataSize - 11"`
}

struct PROTO_NC_BOOTH_ENTRY_SELL_ACK::BoothItemList

type NcBoothRefreshReq

type NcBoothRefreshReq struct {
	Booth uint16
}

struct PROTO_NC_BOOTH_REFRESH_REQ

type NcBoothSearchBoothClosedCmd

type NcBoothSearchBoothClosedCmd struct {
	ClosedBoothOwnerHandle uint16
}

struct PROTO_NC_BOOTH_SEARCH_BOOTH_CLOSED_CMD

type NcBoothSomeoneOpenCmd

type NcBoothSomeoneOpenCmd struct {
	Handle    uint16
	Tent      CharBriefInfoCamp
	IsSelling byte
	Sign      StreetBoothSignBoard
}

struct PROTO_NC_BOOTH_SOMEONEOPEN_CMD

type NcBriefInfoAbstateChangeCmd

type NcBriefInfoAbstateChangeCmd struct {
	Handle uint16
	Info   AbstateInformation
}

struct PROTO_NC_BRIEFINFO_ABSTATE_CHANGE_CMD

type NcBriefInfoAbstateChangeListCmd

type NcBriefInfoAbstateChangeListCmd struct {
	Handle uint16
	Count  byte
	List   []AbstateInformation `struct:"sizefrom=Count"`
}

struct PROTO_NC_BRIEFINFO_ABSTATE_CHANGE_LIST_CMD

type NcBriefInfoChangeDecorateCmd

type NcBriefInfoChangeDecorateCmd struct {
	Handle uint16
	Item   uint16
	Slot   byte
}

struct PROTO_NC_BRIEFINFO_CHANGEDECORATE_CMD

type NcBriefInfoChangeUpgradeCmd

type NcBriefInfoChangeUpgradeCmd struct {
	Handle  uint16
	Item    uint16
	Upgrade byte
	Slot    byte
}

struct PROTO_NC_BRIEFINFO_CHANGEUPGRADE_CMD

type NcBriefInfoChangeWeaponCmd

type NcBriefInfoChangeWeaponCmd struct {
	UpgradeInfo      NcBriefInfoChangeUpgradeCmd
	CurrentMobID     uint16
	CurrentKillLevel byte
}

struct PROTO_NC_BRIEFINFO_CHANGEWEAPON_CMD

type NcBriefInfoCharacterCmd

type NcBriefInfoCharacterCmd struct {
	Number     byte
	Characters []NcBriefInfoLoginCharacterCmd `struct:"sizefrom=Number"`
}

struct PROTO_NC_BRIEFINFO_CHARACTER_CMD

type NcBriefInfoDeleteCmd

type NcBriefInfoDeleteCmd struct {
	Handle uint16
}

struct PROTO_NC_BRIEFINFO_BRIEFINFODELETE_CMD

type NcBriefInfoDeleteHandleCmd

type NcBriefInfoDeleteHandleCmd struct {
	Handle uint16
}

struct PROTO_NC_BRIEFINFO_BRIEFINFODELETE_CMD

type NcBriefInfoDroppedItemCmd

type NcBriefInfoDroppedItemCmd struct {
	Handle        uint16
	ItemID        uint16
	Location      ShineXYType
	DropMobHandle uint16
	Attr          NcBriefInfoDroppedItemCmdAttr
}

struct PROTO_NC_BRIEFINFO_DROPEDITEM_CMD

type NcBriefInfoDroppedItemCmdAttr

type NcBriefInfoDroppedItemCmdAttr struct {
	BF0 byte
}

struct PROTO_NC_BRIEFINFO_DROPEDITEM_CMD::<unnamed-type-attr>

type NcBriefInfoInformCmd

type NcBriefInfoInformCmd struct {
	AffectedHandle  uint16
	ReceivedCommand NetCommand
	ForeignHandle   uint16
}

struct PROTO_NC_BRIEFINFO_INFORM_CMD nMyHnd is the affected client that received a server command involving hnd that was previously tagged as out of range.

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
	Unk             byte
}

struct PROTO_NC_BRIEFINFO_LOGINCHARACTER_CMD

type NcBriefInfoLoginCharacterCmdShapeData

type NcBriefInfoLoginCharacterCmdShapeData struct {
	Data [45]byte //

}

union PROTO_NC_BRIEFINFO_LOGINCHARACTER_CMD::<unnamed-type-shapedata>

type NcBriefInfoMobCmd

type NcBriefInfoMobCmd struct {
	MobNum byte
	Mobs   []NcBriefInfoRegenMobCmd `struct:"sizefrom=MobNum"`
}

struct PROTO_NC_BRIEFINFO_MOB_CMD

type NcBriefInfoMoverCmd

type NcBriefInfoMoverCmd struct {
	Count  byte
	Movers []NcBriefInfoRegenMoverCmd `struct:"sizefrom=Count"`
}

struct PROTO_NC_BRIEFINFO_MOVER_CMD

type NcBriefInfoRegenMobCmd

type NcBriefInfoRegenMobCmd struct {
	Handle uint16
	Mode   byte
	MobID  uint16
	Coord  ShineCoordType
	// 0,1 FlagData size depends on this flag
	// if 1, FlagData is 12 bytes
	FlagState      byte
	FlagData       BriefInfoRegenMobCmdFlag
	Animation      [32]byte
	AnimationLevel byte
	KQTeamType     byte
	RegenAni       byte
}

struct PROTO_NC_BRIEFINFO_REGENMOB_CMD

type NcBriefInfoRegenMoverCmd

type NcBriefInfoRegenMoverCmd struct {
	Handle      uint16
	ID          uint32
	HP          uint32
	Coordinates ShineCoordType
	AbstateBit  AbstateBit
	Grade       byte
	SlotHandle  [10]uint16
}

struct PROTO_NC_BRIEFINFO_REGENMOVER_CMD

type NcBriefInfoUnEquipCmd

type NcBriefInfoUnEquipCmd struct {
	Handle uint16
	Slot   byte
}

struct PROTO_NC_BRIEFINFO_UNEQUIP_CMD

type NcCharAdminLevelInformCmd

type NcCharAdminLevelInformCmd struct {
	AdminLevel byte
}

struct PROTO_NC_CHAR_ADMIN_LEVEL_INFORM_CMD

type NcCharBaseCmdFlag

type NcCharBaseCmdFlag struct {
	Val int32
}

struct PROTO_NC_CHAR_BASE_CMD::<unnamed-type-flags>::<unnamed-type-str>

type NcCharBaseCmdLoginLocation

type NcCharBaseCmdLoginLocation struct {
	CurrentMap   Name3
	CurrentCoord ShineCoordType
}

struct PROTO_NC_CHAR_BASE_CMD::LoginLocation

type NcCharChargedBuffCmd

type NcCharChargedBuffCmd struct {
	Count uint16
	Buffs []ChargedBuffInfo `struct:"sizefrom=Count"`
}

struct PROTO_NC_CHAR_CHARGEDBUFF_CMD

type NcCharClientAutoPickCmd

type NcCharClientAutoPickCmd struct {
	Player uint16
	Enable byte
}

struct PROTO_NC_CHAR_CLIENT_AUTO_PICK_CMD

type NcCharClientBaseCmd

type NcCharClientBaseCmd struct {
	ChrRegNum  uint32
	CharName   Name5
	Slot       byte
	Level      byte
	Experience uint64
	PwrStone   uint16
	GrdStone   uint16
	HPStone    uint16
	SPStone    uint16
	CurHP      uint32
	CurSP      uint32
	CurLP      uint32
	Unk        byte
	Fame       uint32
	Cen        uint64
	LoginInfo  NcCharBaseCmdLoginLocation
	Stats      CharStats
	IdleTime   byte
	PkCount    uint32
	PrisonMin  uint16
	AdminLevel byte
	Flag       NcCharBaseCmdFlag
}

NC_CHAR_CLIENT_BASE_CMD

type NcCharClientChargedBuffCmd

type NcCharClientChargedBuffCmd NcCharChargedBuffCmd

NC_CHAR_CLIENT_CHARGEDBUFF_CMD

type NcCharClientCoinInfoCmd

type NcCharClientCoinInfoCmd NcCharCoinInfoCmd

NC_CHAR_CLIENT_COININFO_CMD

type NcCharClientGameCmd

type NcCharClientGameCmd struct {
	Filler0 uint16
	Filler1 uint16
}

NC_CHAR_CLIENT_GAME_CMD

type NcCharClientItemCmd

type NcCharClientItemCmd struct {
	NumOfItem byte
	Box       byte
	Flag      ProtoNcCharClientItemCmdFlag
	Items     []ProtoItemPacketInformation `struct:"sizefrom=NumOfItem"`
}

struct PROTO_NC_CHAR_CLIENT_ITEM_CMD

type NcCharClientPassiveCmd

type NcCharClientPassiveCmd NcCharSkillPassiveCmd

NC_CHAR_CLIENT_PASSIVE_CMD

type NcCharClientQuestDoingCmd

type NcCharClientQuestDoingCmd NcCharQuestDoingCmd

NC_CHAR_CLIENT_QUEST_DOING_CMD

type NcCharClientQuestDoneCmd

type NcCharClientQuestDoneCmd NcCharQuestDoneCmd

NC_CHAR_CLIENT_QUEST_DONE_CMD

type NcCharClientQuestReadCmd

type NcCharClientQuestReadCmd NcCharQuestReadCmd

NC_CHAR_CLIENT_QUEST_READ_CMD

type NcCharClientQuestRepeatCmd

type NcCharClientQuestRepeatCmd NcCharQuestRepeatCmd

NC_CHAR_CLIENT_QUEST_REPEAT_CMD

type NcCharClientShapeCmd

type NcCharClientShapeCmd ProtoAvatarShapeInfo

NC_CHAR_CLIENT_SHAPE_CMD

type NcCharClientSkillCmd

type NcCharClientSkillCmd struct {
	RestEmpower byte
	PartMark    PartMark
	MaxNum      uint16
	Skills      NcCharSkillClientCmd
}

struct PROTO_NC_CHAR_CLIENT_SKILL_CMD

type NcCharCoinInfoCmd

type NcCharCoinInfoCmd struct {
	Coin          uint64
	ExchangedCoin uint64
}

struct PROTO_NC_CHAR_COININFO_CMD

type NcCharGetKeyMapCmd

type NcCharGetKeyMapCmd struct {
	Count uint16
	Keys  []KeyMapData `struct:"sizefrom=Count"`
}

struct PROTO_NC_CHAR_OPTION_IMPROVE_GET_KEYMAP_CMD

type NcCharGetShortcutDataCmd

type NcCharGetShortcutDataCmd struct {
	Count     uint16
	Shortcuts []ShortCutData `struct:"sizefrom=Count"`
}

struct PROTO_NC_CHAR_OPTION_IMPROVE_GET_SHORTCUTDATA_CMD

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

type NcCharGuildCmd

type NcCharGuildCmd struct {
	GuildNumber uint32
	Guilds      GuildClient
}

struct PROTO_NC_CHAR_GUILD_CMD

type NcCharLoginAck

type NcCharLoginAck struct {
	ZoneIP   Name4
	ZonePort uint16
}

struct PROTO_NC_CHAR_LOGIN_ACK

type NcCharLoginReq

type NcCharLoginReq struct {
	Slot byte
}

struct PROTO_NC_CHAR_LOGIN_REQ

type NcCharMapLoginAck

type NcCharMapLoginAck struct {
	Handle     uint16
	Params     CharParameterData
	LoginCoord ShineXYType
}

struct PROTO_NC_CHAR_MAPLOGIN_ACK

type NcCharNewbieGuideViewSetCmd

type NcCharNewbieGuideViewSetCmd struct {
	GuideView byte
}

struct PROTO_NC_CHAR_NEWBIE_GUIDE_VIEW_SET_CMD

type NcCharOptionGetShortcutSizeAck

type NcCharOptionGetShortcutSizeAck struct {
	Success byte
	Data    NcCharOptionShortcutSize
}

struct PROTO_NC_CHAR_OPTION_GET_SHORTCUTSIZE_ACK

type NcCharOptionGetShortcutSizeReq

type NcCharOptionGetShortcutSizeReq struct{}

struct PROTO_NC_CHAR_OPTION_GET_SHORTCUTSIZE_REQ

type NcCharOptionGetWindowPosAck

type NcCharOptionGetWindowPosAck struct {
	Success byte
	Data    NcCharOptionWindowPos
}

struct PROTO_NC_CHAR_OPTION_GET_WINDOWPOS_ACK

type NcCharOptionImproveGetGameOptionCmd

type NcCharOptionImproveGetGameOptionCmd struct {
	OptionCount uint16
	GameOptions []GameOptionData `struct:"sizefrom=OptionCount"`
}

struct PROTO_NC_CHAR_OPTION_IMPROVE_GET_GAMEOPTION_CMD

type NcCharOptionImproveShortcutDataAck

type NcCharOptionImproveShortcutDataAck struct {
	ErrCode uint16
}

struct PROTO_NC_CHAR_OPTION_IMPROVE_SET_SHORTCUTDATA_ACK

type NcCharOptionSetShortcutDataReq

type NcCharOptionSetShortcutDataReq struct {
	Count     byte
	Shortcuts []ShortCutData `struct:"sizefrom=Count"`
}

struct PROTO_NC_CHAR_OPTION_IMPROVE_SET_SHORTCUTDATA_REQ

type NcCharOptionShortcutSize

type NcCharOptionShortcutSize struct {
	Data [24]byte
}

struct PROTO_NC_CHAR_OPTION_SHORTCUTSIZE

type NcCharOptionWindowPos

type NcCharOptionWindowPos struct {
	Data [392]byte
}

struct PROTO_NC_CHAR_OPTION_WINDOWPOS

type NcCharQuestDoingCmd

type NcCharQuestDoingCmd struct {
	CharID          uint32
	NeedClear       byte
	NumOfDoingQuest byte
	Quests          []PlayerQuestInfo `struct:"sizefrom=NumOfDoingQuest"`
}

struct PROTO_NC_CHAR_QUEST_DOING_CMD

type NcCharQuestDoneCmd

type NcCharQuestDoneCmd struct {
	CharID             uint32
	TotalDoneQuest     uint16
	TotalDoneQuestSize uint16
	Count              uint16
	Index              uint16
	Quests             []PlayerQuestDoneInfo `struct:"sizefrom=Count"`
}

struct PROTO_NC_CHAR_QUEST_DONE_CMD

type NcCharQuestReadCmd

type NcCharQuestReadCmd struct {
	CharID          uint32
	NumOfReadQuests uint16
	Quests          []uint16 `struct:"sizefrom=NumOfReadQuests"`
}

struct PROTO_NC_CHAR_QUEST_READ_CMD

type NcCharQuestRepeatCmd

type NcCharQuestRepeatCmd struct {
	CharID uint32
	Count  uint16
	Quests []PlayerQuestInfo `struct:"sizefrom=Count"`
}

struct PROTO_NC_CHAR_QUEST_REPEAT_CMD

type NcCharReviveOtherCmd

type NcCharReviveOtherCmd struct {
	Link    NcCharReviveSameCmd
	Socket  NcCharLoginAck
	WorldID uint16
}

struct PROTO_NC_CHAR_REVIVEOTHER_CMD

type NcCharReviveSameCmd

type NcCharReviveSameCmd struct {
	MapID    uint16
	Location ShineXYType
}

struct PROTO_NC_CHAR_REVIVESAME_CMD

type NcCharSkillClientCmd

type NcCharSkillClientCmd struct {
	ChrRegNum uint32
	Number    uint16
	Skills    []SkillReadBlockClient `struct:"sizefrom=Number"`
}

struct PROTO_NC_CHAR_SKILLCLIENT_CMD

type NcCharSkillPassiveCmd

type NcCharSkillPassiveCmd struct {
	Number   uint16
	Passives []uint16 `struct:"sizefrom=Number"`
}

struct PROTO_NC_CHAR_SKILL_PASSIVE_CMD

type NcCharStatRemainPointCmd

type NcCharStatRemainPointCmd struct {
	Remain byte
}

struct PROTO_NC_CHAR_STAT_REMAINPOINT_CMD

type NcCharUiStateSaveReq

type NcCharUiStateSaveReq struct {
	MysteryType byte
}

struct PROTO_NC_CHARSAVE_UI_STATE_SAVE_REQ

type NcCharUseItemMinimonUseBroadCmd

type NcCharUseItemMinimonUseBroadCmd struct {
	CharHandle uint16
	Use        byte
}

struct PROTO_NC_CHAR_USEITEM_MINIMON_USE_BROAD_CMD

type NcChargedBoothSlotSizeCmd

type NcChargedBoothSlotSizeCmd struct {
	BoothSize byte
}

struct PROTO_NC_CHARGED_BOOTHSLOTSIZE_CMD

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

type NcCollectCardRegisterReq

type NcCollectCardRegisterReq struct {
	Slot byte
}

struct PROTO_NC_COLLECT_CARDREGIST_REQ

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[];
};

type NcITemChargedInventoryOpenReq

type NcITemChargedInventoryOpenReq struct {
	Page uint16
}

struct PROTO_NC_ITEM_CHARGEDINVENOPEN_REQ

type NcItemCellChangeCmd

type NcItemCellChangeCmd struct {
	Exchange ItemInventory
	Location ItemInventory
	Item     ShineItemVar
}

struct PROTO_NC_ITEM_CELLCHANGE_CMD

type NcItemChangedInventoryOpenAck

type NcItemChangedInventoryOpenAck struct {
	ErrorCode         uint16
	PartMark          byte
	NumOfChargedItems uint16
	ChargedItems      []ChargedItemInfo `struct:"sizefrom=NumOfChargedItems"`
}

struct PROTO_NC_ITEM_CHARGEDINVENOPEN_ACK

type NcItemDropAck

type NcItemDropAck uint16

typedef unsigned __int16 PROTO_NC_ITEM_DROP_ACK;

type NcItemDropReq

type NcItemDropReq struct {
	Slot     ItemInventory
	Lot      uint32
	Location ShineXYType
}

struct PROTO_NC_ITEM_DROP_REQ

type NcItemEquipAck

type NcItemEquipAck struct {
	Code uint16
}

NcItemEquipAck

type NcItemEquipChangeCmd

type NcItemEquipChangeCmd struct {
	From      ItemInventory
	EquipSlot byte
	ItemData  ShineItemVar
}

struct PROTO_NC_ITEM_EQUIPCHANGE_CMD

type NcItemEquipReq

type NcItemEquipReq struct {
	Slot byte
}

struct PROTO_NC_ITEM_EQUIP_REQ

type NcItemPickAck

type NcItemPickAck struct {
	ItemID     uint16
	Lot        uint32
	Error      uint16
	ItemHandle uint16
}

struct PROTO_NC_ITEM_PICK_ACK

type NcItemPickReq

type NcItemPickReq struct {
	ItemHandle uint16
}

struct PROTO_NC_ITEM_PICK_REQ

type NcItemRelocateAck

type NcItemRelocateAck struct {
	Code uint16
}

struct NC_ITEM_RELOC_ACK

type NcItemRewardInvenOpenAck

type NcItemRewardInvenOpenAck struct {
	Count byte
	Items []ItemPacketInfo `struct:"sizefrom=Count"`
}

NC_ITEM_REWARDINVENOPEN_ACK

type NcItemRewardInventoryOpenAck

type NcItemRewardInventoryOpenAck struct {
	Count byte
	Items []ItemPacketInfo `struct:"sizefrom=Count"`
	Unk   byte             // grrr
}

struct PROTO_NC_ITEM_REWARDINVENOPEN_ACK

type NcItemRewardInventoryOpenReq

type NcItemRewardInventoryOpenReq struct {
	Page uint16
}

struct PROTO_NC_ITEM_REWARDINVENOPEN_REQ

type NcItemSplitReq

type NcItemSplitReq struct {
	From ItemInventory
	To   ItemInventory
	Lot  uint32
}

PROTO_NC_ITEM_SPLIT_REQ

type NcItemUnequipReq

type NcItemUnequipReq struct {
	SlotEquip byte
	SlotInven byte
}

struct PROTO_NC_ITEM_UNEQUIP_REQ

type NcItemUseReq

type NcItemUseReq struct {
	Slot byte
	Type byte
}

struct PROTO_NC_ITEM_USE_REQ

type NcKqListTimeAck

type NcKqListTimeAck struct {
	ServerTime   int32
	TmServerTime TM
}

struct PROTO_NC_KQ_LIST_TIME_ACK

type NcKqTeamTypeCmd

type NcKqTeamTypeCmd struct {
	TeamType byte
}

struct PROTO_NC_KQ_TEAM_TYPE_CMD

type NcMapCanUseReviveItemCmd

type NcMapCanUseReviveItemCmd struct {
	CanUse byte
}

struct PROTO_NC_MAP_CAN_USE_REVIVEITEM_CMD

type NcMapFieldAttributeCmd

type NcMapFieldAttributeCmd struct {
	FieldMapType uint32
}

struct PROTO_NC_MAP_FIELD_ATTRIBUTE_CMD

type NcMapLinkOtherCmd

type NcMapLinkOtherCmd NcCharReviveOtherCmd

NC_MAP_LINKOTHER_CMD

type NcMapLinkSameCmd

type NcMapLinkSameCmd NcCharReviveSameCmd

NC_MAP_LINKSAME_CMD

type NcMapLoginAck

type NcMapLoginAck NcCharMapLoginAck

NC_MAP_LOGIN_ACK

type NcMapLoginCompleteCmd

type NcMapLoginCompleteCmd struct {
}

struct PROTO_NC_MAP_LOGINCOMPLETE_CMD

type NcMapLoginReq

type NcMapLoginReq struct {
	CharData NcZoneCharDataReq
	CheckSum [54]Name8
}

struct PROTO_NC_MAP_LOGIN_REQ

type NcMapLogoutCmd

type NcMapLogoutCmd struct {
	Handle uint16
}

struct PROTO_NC_MAP_LOGOUT_CMD

type NcMapTownPortalAck

type NcMapTownPortalAck struct {
	Err uint16
}

struct PROTO_NC_MAP_TOWNPORTAL_ACK

type NcMapTownPortalReq

type NcMapTownPortalReq struct {
	PortalIndex byte
}

struct PROTO_NC_MAP_TOWNPORTAL_REQ

type NcMenuOpenStorageCmd

type NcMenuOpenStorageCmd struct {
	Cen         uint64
	MaxPage     byte
	CurrentPage byte
	OpenType    byte
	CountItems  byte
	Items       []ProtoItemPacketInformation `struct:"sizefrom=CountItems"`
}

struct PROTO_NC_MENU_OPENSTORAGE_CMD

type NcMiscGameTimeAck

type NcMiscGameTimeAck struct {
	Hour   byte
	Minute byte
	Second byte
}

struct PROTO_NC_MISC_GAMETIME_ACK

type NcMiscHeartBeatAck

type NcMiscHeartBeatAck struct{}

struct PROTO_NC_MISC_HEARTBEAT_ACK

type NcMiscSeedAck

type NcMiscSeedAck struct {
	Seed uint16
}

struct PROTO_NC_MISC_SEED_ACK

type NcMiscServerTimeNotifyCmd

type NcMiscServerTimeNotifyCmd struct {
	Time     TM
	TimeZone byte
}

struct PROTO_NC_MISC_SERVER_TIME_NOTIFY_CMD

type NcMoverHungryCmd

type NcMoverHungryCmd struct {
	Hungry uint16
}

struct PROTO_NC_MOVER_HUNGRY_CMD

type NcMoverMoveSpeedCmd

type NcMoverMoveSpeedCmd struct {
	MoverHandle uint16
	Walk        uint16
	Run         uint16
}

struct PROTO_NC_MOVER_MOVESPEED_CMD

type NcMoverRideOnCmd

type NcMoverRideOnCmd struct {
	MoverHandle uint16
	Slot        byte
	Grade       byte
}

struct PROTO_NC_MOVER_RIDE_ON_CMD

type NcMoverSomeoneRideOffCmd

type NcMoverSomeoneRideOffCmd struct {
	Handle uint16
}

struct PROTO_NC_MOVER_SOMEONE_RIDE_OFF_CMD

type NcMoverSomeoneRideOnCmd

type NcMoverSomeoneRideOnCmd struct {
	Handle      uint16
	MoverHandle uint16
	Slot        byte
	Grade       byte
}

struct PROTO_NC_MOVER_SOMEONE_RIDE_ON_CMD

type NcPrisonGetAck

type NcPrisonGetAck struct {
	Err    uint16
	Minute uint16
}

struct PROTO_NC_PRISON_GET_ACK

type NcQuestResetTimeClientCmd

type NcQuestResetTimeClientCmd NcQuestResetTimeCmd

NC_QUEST_RESET_TIME_CLIENT_CMD

type NcQuestResetTimeCmd

type NcQuestResetTimeCmd struct {
	ResetYear  int32
	ResetMonth int32
	ResetWeek  int32
	ResetDay   int32
}

struct PROTO_NC_QUEST_RESET_TIME_CMD

type NcQuestScriptCmdAck

type NcQuestScriptCmdAck struct {
	QuestID uint16
	QSC     byte
	Result  uint32
}

struct PROTO_NC_QUEST_SCRIPT_CMD_ACK

type NcQuestStartReq

type NcQuestStartReq struct {
	QuestID uint16
}

struct PROTO_NC_QUEST_START_REQ

type NcServerMenuAck

type NcServerMenuAck struct {
	Reply byte
}

struct PROTO_NC_MENU_SERVERMENU_ACK

type NcServerMenuReq

type NcServerMenuReq struct {
	Title       string `struct:"[128]byte"`
	Priority    byte
	NpcHandle   uint16
	NpcPosition ShineXYType
	LimitRange  uint16
	MenuNumber  byte
	Menu        []ServerMenu `struct:"sizefrom=MenuNumber"`
}

struct PROTO_NC_MENU_SERVERMENU_REQ

type NcSoulStoneHpSomeoneUseCmd

type NcSoulStoneHpSomeoneUseCmd struct {
	Player uint16
}

struct PROTO_NC_SOULSTONE_HP_SOMEONEUSE_CMD

type NcSoulStoneSpSomeoneUseCmd

type NcSoulStoneSpSomeoneUseCmd struct {
	Player uint16
}

struct PROTO_NC_SOULSTONE_SP_SOMEONEUSE_CMD

type NcUserClientVersionCheckReq

type NcUserClientVersionCheckReq struct {
	VersionKey [64]byte `struct:"[64]byte"`
}

RE client struct: struct PROTO_NC_USER_CLIENT_VERSION_CHECK_REQ

type NcUserClientWrongVersionCheckAck

type NcUserClientWrongVersionCheckAck struct{}

struct PROTO_NC_USER_CLIENT_WRONGVERSION_CHECK_ACK

type NcUserLoginAck

type NcUserLoginAck struct {
	NumOfWorld byte        `struct:"byte,sizeof=Worlds"`
	Worlds     []WorldInfo `struct:"sizefrom=NumOfWorld"`
}

struct PROTO_NC_USER_LOGIN_ACK

type NcUserLoginFailAck

type NcUserLoginFailAck struct {
	Err uint16
}

struct PROTO_NC_USER_LOGINFAIL_ACK

type NcUserLoginWithOtpReq

type NcUserLoginWithOtpReq struct {
	Otp Name8
}

struct PROTO_NC_USER_LOGIN_WITH_OTP_REQ

type NcUserLoginWorldAck

type NcUserLoginWorldAck struct {
	WorldManager uint16
	NumOfAvatar  byte
	Avatars      []AvatarInformation `struct:"sizefrom=NumOfAvatar"`
}

struct PROTO_NC_USER_LOGINWORLD_ACK

type NcUserLoginWorldReq

type NcUserLoginWorldReq struct {
	User        Name256Byte
	ValidateNew [32]uint16 `struct:"[32]uint16"`
}

struct PROTO_NC_USER_LOGINWORLD_REQ

type NcUserUsLoginReq

type NcUserUsLoginReq struct {
	UserName  string `struct:"[260]byte"`
	Password  string `struct:"[36]byte"`
	SpawnApps Name5
}

struct PROTO_NC_USER_US_LOGIN_REQ

type NcUserUseBeautyShopCmd

type NcUserUseBeautyShopCmd struct {
	Filler byte
}

struct PROTO_NC_USER_USE_BEAUTY_SHOP_CMD

type NcUserWillWorldSelectAck

type NcUserWillWorldSelectAck struct {
	Error uint16
	Otp   Name8
}

struct PROTO_NC_USER_WILL_WORLD_SELECT_ACK

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
	Ip          Name4
	Port        uint16
	ValidateNew [32]uint16 `struct:"[32]uint16"`
}

struct PROTO_NC_USER_WORLDSELECT_ACK

type NcUserWorldSelectReq

type NcUserWorldSelectReq struct {
	WorldNo byte
}

struct PROTO_NC_USER_WORLDSELECT_REQ

type NcZoneCharDataReq

type NcZoneCharDataReq struct {
	WorldManager uint16
	CharID       Name5
}

struct PROTO_NC_CHAR_ZONE_CHARDATA_REQ

type NcitemRelocateReq

type NcitemRelocateReq struct {
	From ItemInventory
	To   ItemInventory
}

struct PROTO_NC_ITEM_RELOC_REQ

type NetCommand

type NetCommand struct {
	Protocol uint16
}

union NETCOMMAND

type NewUserLoginReq

type NewUserLoginReq struct {
	Unk1     [32]byte
	UserName string `struct:"[260]byte"`
	Password string `struct:"[37]byte"`
	Unk2     string `struct:"[20]byte"`
}

type PartMark

type PartMark struct {
	BF0 byte
}

struct PARTMARK

type PlayerQuestData

type PlayerQuestData struct {
	StartTime         int64
	EndTime           int64
	RepeatCount       uint32
	ProgressStep      byte
	EndNpcMobCount    [5]byte
	BF26              byte
	EndRunningTimeSec uint16
}

struct PLAYER_QUEST_DATA

type PlayerQuestDoneInfo

type PlayerQuestDoneInfo struct {
	ID      uint16
	EndTime int64
}

struct PLAYER_QUEST_DONE_INFO

type PlayerQuestInfo

type PlayerQuestInfo struct {
	ID     uint16
	Status byte
	Data   PlayerQuestData
}

struct PLAYER_QUEST_INFO

type ProtoAvatarDeleteInfo

type ProtoAvatarDeleteInfo struct {
	Year  byte
	Month byte
	Day   byte
	Hour  byte
	Min   byte
}

struct PROTO_AVATAR_DELETE_INFO

type ProtoAvatarShapeInfo

type ProtoAvatarShapeInfo struct {
	BF        byte
	HairType  byte
	HairColor byte
	FaceShape byte
}

struct PROTO_AVATAR_SHAPE_INFO

type ProtoEquipment

type ProtoEquipment struct {
	EquHead         uint16
	EquMouth        uint16
	EquRightHand    uint16
	EquBody         uint16
	EquLeftHand     uint16
	EquPant         uint16
	EquBoot         uint16
	EquAccBoot      uint16
	EquAccPant      uint16
	EquAccBody      uint16
	EquAccHeadA     uint16
	EquMinimonR     uint16
	EquEye          uint16
	EquAccLeftHand  uint16
	EquAccRightHand uint16
	EquAccBack      uint16
	EquCosEff       uint16
	EquAccHip       uint16
	EquMinimon      uint16
	EquAccShield    uint16
	Upgrade         EquipmentUpgrade
}

struct PROTO_EQUIPMENT

type ProtoItemPacketInformation

type ProtoItemPacketInformation struct {
	DataSize byte
	Location ItemInventory
	ItemID   uint16
	ItemAttr []byte `struct-size:"DataSize - 4"`
}

struct PROTO_ITEMPACKET_INFORM

type ProtoNcCharClientItemCmdFlag

type ProtoNcCharClientItemCmdFlag struct {
	BF0 byte
}

struct PROTO_NC_CHAR_CLIENT_ITEM_CMD::<unnamed-type-flag>

type ProtoTutorialInfo

type ProtoTutorialInfo struct {
	TutorialState int32
	TutorialStep  byte
}

struct PROTO_TUTORIAL_INFO

type ServerMenu

type ServerMenu struct {
	Reply   byte
	Content string `struct:"[32]byte"`
}

struct SERVERMENU

type ShineCharStatVar

type ShineCharStatVar struct {
	Base   uint32
	Change uint32
}

struct SHINE_CHAR_STATVAR

type ShineCoordType

type ShineCoordType struct {
	XY        ShineXYType
	Direction byte
}

struct SHINE_COORD_TYPE

type ShineDateTime

type ShineDateTime struct {
	BF0 int32
}

struct SHINE_DATETIME

type ShineGuildScore

type ShineGuildScore struct {
	KillCount [7]uint16
	KillScore [7]uint32
}

struct SHINE_GUILD_SCORE

type ShineItem

type ShineItem struct {
	ItemID uint16
}

type ShineItemAttrActionItem

type ShineItemAttrActionItem struct {
	DeleteTime int32
}

struct ShineItemAttr_ActionItem

type ShineItemAttrAmount

type ShineItemAttrAmount struct {
	Amount uint32
}

struct ShineItemAttr_Amount

type ShineItemAttrAmulet

type ShineItemAttrAmulet struct {
	DeleteTime       int32
	IsBound          uint32
	Upgrade          byte
	Strengthen       byte
	UpgradeFailCount byte
	// this is set
	UpgradeOption            UpgradeItemOptionStorage
	RandomOptionChangedCount byte
	// this is dynamic
	Option ItemOptionStorage
}

struct ShineItemAttr_Amulet

type ShineItemAttrArmor

type ShineItemAttrArmor struct {
	Upgrade                  byte
	Strengthen               byte
	UpgradeFailCount         byte
	IsBound                  uint32
	DeleteTime               int32
	RandomOptionChangedCount byte
	Option                   ItemOptionStorage
}

struct ShineItemAttr_Armor

type ShineItemAttrBindItem

type ShineItemAttrBindItem struct {
	PortalNum byte
	Portals   [10]Bind
}

struct ShineItemAttr_BindItem

type ShineItemAttrBoot

type ShineItemAttrBoot struct {
	Upgrade                  byte
	Strengthen               byte
	UpgradeFailCount         byte
	IsBound                  uint32
	DeleteTime               int32
	RandomOptionChangedCount byte
	Option                   ItemOptionStorage
}

struct ShineItemAttr_Boot

type ShineItemAttrBracelet

type ShineItemAttrBracelet struct {
	DeleteTime               int32
	IsBound                  uint32
	Upgrade                  byte
	Strengthen               byte
	UpgradeFailCount         byte
	RandomOptionChangedCount byte
	Option                   ItemOptionStorage
}

struct ShineItemAttr_Bracelet

type ShineItemAttrByteLot

type ShineItemAttrByteLot byte

struct ShineItemAttr_ByteLot

type ShineItemAttrCapsule

type ShineItemAttrCapsule struct {
	Content     [8]byte
	UseAbleTime int32
}

struct ShineItemAttr_Capsule

type ShineItemAttrCostumeShield

type ShineItemAttrCostumeShield struct {
	Durability uint32
}

struct ShineItemAttrCostumeShield

type ShineItemAttrCostumeWeapon

type ShineItemAttrCostumeWeapon struct {
	Durability uint32
}

ShineItemAttr_CostumWeapon

type ShineItemAttrDecoration

type ShineItemAttrDecoration struct {
	IsBound    uint32
	DeleteTime int32
}

struct ShineItemAttr_Decoration

type ShineItemAttrDwrdLot

type ShineItemAttrDwrdLot uint32

type ShineItemAttrFurniture

type ShineItemAttrFurniture struct {
	Flag           byte
	FurnitureID    uint16
	DeleteTime     int32
	LocX           float32
	LocY           float32
	LocZ           float32
	Direction      float32
	ExpirationTime int32
	EndureGrade    byte
	RewardMoney    uint64
}

struct ShineItemAttr_Furniture

type ShineItemAttrItemChest

type ShineItemAttrItemChest struct {
	Type    byte
	Content [8][8]byte
}

struct ShineItemAttr_ItemChest

type ShineItemAttrMiniHouseSkin

type ShineItemAttrMiniHouseSkin struct {
	DeleteTime int32
}

struct ShineItemAttr_MiniHouseSkin

type ShineItemAttrMobCardCollect

type ShineItemAttrMobCardCollect struct {
	SerialNumber uint32
	Start        byte
}

ShineItemAttr_MobCardCollect

type ShineItemAttrMobCardCollectClosed

type ShineItemAttrMobCardCollectClosed struct {
	SerialNumber uint32
	CardID       uint16
	Star         byte
	Group        uint16
}

struct ShineItemAttr_MobCardCollect_Unident

type ShineItemAttrPet

type ShineItemAttrPet struct {
	PetRegNum uint32
	PetID     uint32
	Name      [17]byte
	Summoning byte
}

struct ShineItemAttr_Pet

type ShineItemAttrQuestItem

type ShineItemAttrQuestItem uint16

type ShineItemAttrRiding

type ShineItemAttrRiding struct {
	HungryPoints  uint16
	DeleteTime    int32
	RidingFlag    uint16
	IsBound       uint32
	HP            uint32
	Grade         byte
	RareFailCount uint16
}

struct ShineItemAttr_Riding

type ShineItemAttrShield

type ShineItemAttrShield struct {
	Upgrade                  byte
	Strengthen               byte
	UpgradeFailCount         byte
	IsBound                  uint32
	DeleteTime               int32
	RandomOptionChangedCount byte
	Option                   ItemOptionStorage
}

struct ShineItemAttr_Shield

type ShineItemAttrWeapon

type ShineItemAttrWeapon struct {
	Upgrade            byte
	Strengthen         byte
	UpgradeFailCount   byte
	IsBound            uint32
	Licences           [3]ShineItemWeaponLicence
	WeaponLicenceTitle uint16
	UserTitle          [21]byte
	GemSockets         [3]ShineItemWeaponGemSocket
	MaxSocketCount     byte
	CreatedSocketCount byte
	DeleteTime         int32
	// Bijou hammer usages
	RandomOptionChangedCount byte
	Option                   ItemOptionStorage
}

struct ShineItemAttr_Weapon

type ShineItemAttrWordLot

type ShineItemAttrWordLot uint16

type ShineItemVar

type ShineItemVar struct {
	ItemID   uint16
	ItemAttr []byte
}

struct SHINE_ITEM_VAR_STRUCT

type ShineItemWeaponGemSocket

type ShineItemWeaponGemSocket struct {
	GemID     uint16
	RestCount byte
}

type ShineItemWeaponLicence

type ShineItemWeaponLicence struct {
	MobID uint16
	BF2   int32
}

type ShineXYType

type ShineXYType struct {
	X uint32
	Y uint32
}

struct SHINE_XY_TYPE

type ShortCutData

type ShortCutData struct {
	SlotNo byte
	// 0 = remove item
	// 4 = add item
	CodeNo uint16
	// action index
	Value int32
}

struct SHORT_CUT_DATA

type SkillItemActionCoolTimeCmd

type SkillItemActionCoolTimeCmd struct {
	Num    uint16
	Groups []SkillItemActionCoolTimeCmdGroup `struct:"sizefrom=Num"`
}

struct PROTO_SKILL_ITEMACTIONCOOLTIME_CMD

type SkillItemActionCoolTimeCmdGroup

type SkillItemActionCoolTimeCmdGroup struct {
	ItemActionID      uint16
	ItemActionGroupID uint16
	SecondCoolTime    uint32
}

struct PROTO_SKILL_ITEMACTIONCOOLTIME_CMD::<unnamed-type-group>

type SkillReadBlockClient

type SkillReadBlockClient struct {
	SkillID  uint16
	CoolTime uint32
	Empower  SkillReadBlockClientEmpower
	Mastery  uint32
}

struct PROTO_SKILLREADBLOCKCLIENT

type SkillReadBlockClientEmpower

type SkillReadBlockClientEmpower struct {
	Gap0 byte
	BF1  byte
}

struct PROTO_SKILLREADBLOCKCLIENT::<unnamed-type-empow>

type StopEmoticonDescript

type StopEmoticonDescript struct {
	EmoticonID    byte
	EmoticonFrame uint16
}

struct STOPEMOTICON_DESCRIPT

type StreetBoothSignBoard

type StreetBoothSignBoard struct {
	// Text [30]byte
	Text string `struct:"[30]byte"`
}

struct STREETBOOTH_SIGNBOARD

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

type UpgradeItemOptionStorage

type UpgradeItemOptionStorage struct {
	FixedStat ItemOptionStorageFixedInfo
	// ItemOptionStorageElement max 8
	Elements [8]ItemOptionStorageElement
}

type UseItemMiniMonsterInfo

type UseItemMiniMonsterInfo struct {
	NormalItem      byte
	ChargedItem     byte
	NormalItemList  [12]uint16
	ChargedItemList [12]uint16
}

struct USEITEM_MINIMON_INFO

type WorldInfo

type WorldInfo struct {
	WorldNumber byte
	WorldName   Name4
	WorldStatus byte
}

struct PROTO_NC_USER_LOGIN_ACK::WorldInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL