opcode

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RecvCashShopBuyItem        byte = 0x02
	RecvCashShopGiftItem       byte = 0x03
	RecvCashShopUpdateWishlist byte = 0x04
	RecvCashShopIncreaseSlots  byte = 0x05
	RecvCashShopMoveLtoS       byte = 0x0A
	RecvCashShopMoveStoL       byte = 0x0B
	RecvCashShopBuyCoupleRing  byte = 0x18
	RecvCashShopBuyPackage     byte = 0x19
	RecvCashShopGiftPackage    byte = 0x1A
	RecvCashShopBuyQuestItem   byte = 0x1B

	SendCashShopLoadLockerDone      byte = 31
	SendCashShopLoadLockerFailed    byte = 32
	SendCashShopLoadWishDone        byte = 33
	SendCashShopLoadWishFailed      byte = 34
	SendCashShopUpdateWishDone      byte = 35
	SendCashShopUpdateWishFailed    byte = 36
	SendCashShopBuyDone             byte = 37
	SendCashShopBuyFailed           byte = 38
	SendCashShopGiftDone            byte = 39
	SendCashShopGiftFailed          byte = 41
	SendCashShopUseCouponDone       byte = 42
	SendCashShopUseCouponFailed     byte = 44
	SendCashShopUseGiftCouponDone   byte = 45
	SendCashShopIncSlotCountDone    byte = 46
	SendCashShopIncSlotCountFailed  byte = 47
	SendCashShopIncTrunkCountDone   byte = 48
	SendCashShopIncTrunkCountFailed byte = 49

	SendCashShopMoveLtoSDone   byte = 50
	SendCashShopMoveLtoSFailed byte = 51
	SendCashShopMoveStoLDone   byte = 52
	SendCashShopMoveStoLFailed byte = 53
)
View Source
const (
	LoginDeleteCharacter        byte = 0x00
	WorldNew                    byte = 0x01
	WorldRequestOk              byte = 0x02
	WorldRequestBad             byte = 0x03
	WorldInfo                   byte = 0x03
	ChannelNew                  byte = 0x04
	ChannelOk                   byte = 0x05
	ChannelBad                  byte = 0x06
	ChannelInfo                 byte = 0x07
	ChannelConnectionInfo       byte = 0x08
	ChannelPlayerConnect        byte = 0x09
	ChannePlayerDisconnect      byte = 0x0a
	ChannelPlayerChatEvent      byte = 0x0b
	ChannelPlayerBuddyEvent     byte = 0x0c
	ChannelPlayerPartyEvent     byte = 0x0d
	ChannelPlayerGuildEvent     byte = 0x0e
	ChangeRate                  byte = 0x0f
	CashShopNew                 byte = 0x10
	CashShopOk                  byte = 0x11
	CashShopBad                 byte = 0x12
	CashShopInfo                byte = 0x13
	CashShopRequestChannelInfo  byte = 0x14
	ChannelPlayerMessengerEvent byte = 0x15
	UpdateLoginInfo             byte = 0x16
	SyncParties                 byte = 0x17
)
View Source
const (
	RecvLoginRequest               byte = 0x01
	RecvLoginEULA                  byte = 0x06
	RecvLoginChannelSelect         byte = 0x04
	RecvLoginWorldSelect           byte = 0x05
	RecvLoginCheckLogin            byte = 0x08
	RecvLoginRegisterPin           byte = 0x09
	RecvLoginSelectCharacter       byte = 0x0B
	RecvClientMigrate              byte = 0x0C
	RecvLoginNameCheck             byte = 0x0D
	RecvLoginNewCharacter          byte = 0x0E
	RecvLoginDeleteChar            byte = 0x0F
	RecvPing                       byte = 0x12
	RecvReturnToLoginScreen        byte = 0x14
	RecvChannelUserPortal          byte = 0x17
	RecvCHannelChangeChannel       byte = 0x18
	RecvChannelEnterCashShop       byte = 0x19
	RecvChannelPlayerMovement      byte = 0x1A
	RecvChannelPlayerStand         byte = 0x1B
	RecvChannelPlayerUseChair      byte = 0x1C
	RecvChannelMeleeSkill          byte = 0x1D
	RecvChannelRangedSkill         byte = 0x1E
	RecvChannelMagicSkill          byte = 0x1F
	RecvChannelDmgRecv             byte = 0x21
	RecvChannelPlayerSendAllChat   byte = 0x22
	RecvChannelEmote               byte = 0x23
	RecvChannelNpcDialogue         byte = 0x27
	RecvChannelNpcDialogueContinue byte = 0x28
	RecvChannelNpcShop             byte = 0x29
	RecvChannelNpcStorage          byte = 0x2A
	RecvChannelInvMoveItem         byte = 0x2D
	RecvChannelInvUseItem          byte = 0x2E
	RecvChannelChairHeal           byte = 0x30
	RecvChannelUseSack             byte = 0x31
	RecvChannelInvUseCashItem      byte = 0x33
	RecvChannelNearestTown         byte = 0x34
	RecvChannelUseScroll           byte = 0x35
	RecvChannelAddStatPoint        byte = 0x36
	RecvChannelPassiveRegen        byte = 0x37
	RecvChannelAddSkillPoint       byte = 0x38
	RecvChannelSpecialSkill        byte = 0x39
	RecvChannelRequestBuffCancel   byte = 0x3A
	RecvChannelPlayerDropMesos     byte = 0x3C
	RecvChannelPlayerFame          byte = 0x3D
	RecvChannelCharacterInfo       byte = 0x3F
	RecvChannelPetSpawn            byte = 0x40
	RecvChannelCancelBuff          byte = 0x41 // This is received by the client when the buff needs to be cancelled
	RecvChannelScriptedPortal      byte = 0x42
	RecvChannelTeleportRock        byte = 0x43
	RecvChannelLieDetectorResult   byte = 0x45
	RecvChannelQuestOperation      byte = 0x47
	RecvChannelAcknowledgeBuff     byte = 0x48
	RecvChannelCharacterReport     byte = 0x49
	RecvChannelGroupChat           byte = 0x4B
	RecvChannelSlashCommands       byte = 0x4C
	RecvChannelMessenger           byte = 0x4D
	RecvChannelCharacterUIWindow   byte = 0x4E
	RecvChannelPartyInfo           byte = 0x4F
	RecvChannelGuildManagement     byte = 0x51
	RecvChannelGuildReject         byte = 0x52
	RecvChannelBuddyOperation      byte = 0x55
	RecvChannelUseMysticDoor       byte = 0x58
	RecvChannelPetMove             byte = 0x5B
	RecvChannelPetAction           byte = 0x5C
	RecvChannelPetInteraction      byte = 0x5D
	RecvChannelPetLoot             byte = 0x5E
	RecvChannelSummonMove          byte = 0x62
	RecvChannelSummonAttack        byte = 0x63
	RecvChannelSummonDamage        byte = 0x64
	RecvChannelMobControl          byte = 0x6A
	RecvChannelDistance            byte = 0x6B
	RecvChannelNpcMovement         byte = 0x6F
	RecvChannelPlayerPickup        byte = 0x73
	RecvChannelReactorHit          byte = 0x76
	RecvChannelBoatMap             byte = 0x80
	RecvCashShopOperation          byte = 0x85
)
View Source
const (
	SendLoginResponse                  byte = 0x01
	SendLoginWorldMeta                 byte = 0x03
	SendLoginPinOperation              byte = 0x07 // Add 1 byte, 1 = register byte a pin
	SendLoginPinStuff                  byte = 0x08 // Setting byte pin good
	SendLoginWorldList                 byte = 0x09
	SendLoginCharacterData             byte = 0x0A
	SendLoginCharacterMigrate          byte = 0x0B
	SendLoginNameCheckResult           byte = 0x0C
	SendLoginNewCharacterGood          byte = 0x0D
	SendLoginDeleteCharacter           byte = 0x0E
	SendChannelChange                  byte = 0x0F
	SendLoginRestarter                 byte = 0x15
	SendChannelInventoryOperation      byte = 0x18
	SendChannelStatChange              byte = 0x1A
	SendChannelTempStatChange          byte = 0x1B
	SendChannelRemoveTempStat          byte = 0x1C
	SendChannelSkillRecordUpdate       byte = 0x1D
	SendChannelSkillUseResult          byte = 0x1E
	SendChannelFameOperation           byte = 0x1F
	SendChannelMessage                 byte = 0x20
	SendChannelInfoMessage             byte = 0x20
	SendChannelMapTransferResult       byte = 0x22
	SendChannelLieDetectorTest         byte = 0x23
	SendChannelQuestComplete           byte = 0x27 // Useless packet, quest completion reminders
	SendChannelAvatarInfoWindow        byte = 0x2c
	SendChannelPartyInfo               byte = 0x2D
	SendChannelBuddyInfo               byte = 0x2E
	SendChannelGuildInfo               byte = 0x30
	SendChannelTownPortal              byte = 0x31
	SendChannelBroadcastMessage        byte = 0x32
	SendChannelWarpToMap               byte = 0x36
	SendChannelSetCashShop             byte = 0x37
	SendChannelPortalClosed            byte = 0x3A
	SendChannelChangeServer            byte = 0x3B
	SendChannelBubblessChat            byte = 0x3D
	SendChannelWhisper                 byte = 0x3E
	SendChannelMapEffect               byte = 0x40
	SendChannelBlowWeather             byte = 0x41
	SendChannelPlayJukebox             byte = 0x42
	SendChannelEmployee                byte = 0x43
	SendChannelQuizQAndA               byte = 0x44
	SendChannelTimer                   byte = 0x46
	SendChannelMovingObj               byte = 0x47
	SendChannelBoat                    byte = 0x48
	SendChannelCharacterEnterField     byte = 0x4E
	SendChannelCharacterLeaveField     byte = 0x4F
	SendChannelAllChatMsg              byte = 0x51
	SendChannelRoomBox                 byte = 0x52
	SendChannelUseScroll               byte = 0x54
	SendChannelPetSpawn                byte = 0x56
	SendChannelPetMove                 byte = 0x57
	SendChannelPetAction               byte = 0x58
	SendChannelPetNameChange           byte = 0x59
	SendChannelPetInteraction          byte = 0x5A
	SendChannelSpecialMapObjectSpawn   byte = 0x5D
	SendChannelSpecialMapObjectRemove  byte = 0x5E
	SendChannelSummonMove              byte = 0x5F
	SendChannelSummonAttack            byte = 0x60
	SendChannelSummonDamage            byte = 0x61
	SendChannelPlayerMovement          byte = 0x65
	SendChannelPlayerUseMeleeSkill     byte = 0x66
	SendChannelPlayerUseRangedSkill    byte = 0x67
	SendChannelPlayerUseMagicSkill     byte = 0x68
	SendChannelPlayerPrepareSkill      byte = 0x69
	SendChannelPlayerStopSkill         byte = 0x6A
	SendChannelPlayerTakeDmg           byte = 0x6B
	SendChannelPlayerEmoticon          byte = 0x6C
	SendChannelPlayerActiveEffect      byte = 0x6D
	SendChannelPlayerSit               byte = 0x6E
	SendChannelPlayerChangeAvatar      byte = 0x6F
	SendChannelPlayerAnimation         byte = 0x70
	SendChannelPlayerGiveForeignBuff   byte = 0x71
	SendChannelPlayerResetForeignBuff  byte = 0x72
	SendChannelPlayerSitResult         byte = 0x78
	SendChannelPlayerEffect            byte = 0x79
	SendChannelQuestActionResult       byte = 0x7E
	SendChannelSkillCooldown           byte = 0x82
	SendChannelShowMob                 byte = 0x86
	SendChannelRemoveMob               byte = 0x87
	SendChannelControlMob              byte = 0x88
	SendChannelMoveMob                 byte = 0x8A
	SendChannelControlMobAck           byte = 0x8B
	SendChannelMobStatSet              byte = 0x8D
	SendChannelMobStatReset            byte = 0x8E
	SendChannelMobAffected             byte = 0x90
	SendChannelMobDamage               byte = 0x91
	SendChannelMobSpecialEffectBySkill byte = 0x92
	SendChannelNpcShow                 byte = 0x97
	SendChannelNpcRemove               byte = 0x98
	SendChannelNpcControl              byte = 0x99
	SendChannelNpcMovement             byte = 0x9B
	SendChannelDropEnterMap            byte = 0xA4
	SendChannelDropExitMap             byte = 0xA5
	SendChannelAffectedAreaCreate      byte = 0xAD
	SendChannelAffectedAreaRemove      byte = 0xAE
	SendChannelSpawnDoor               byte = 0xB1
	SendChannelRemoveDoor              byte = 0xB2
	SendChannelReactorChangeState      byte = 0xB5
	SendChannelReactorEnterField       byte = 0xB7
	SendChannelReactorLeaveField       byte = 0xB8
	SendChannelNpcDialogueBox          byte = 0xC5
	SendChannelNpcShop                 byte = 0xC8
	SendChannelNpcShopResult           byte = 0xC9
	SendChannelNpcStorage              byte = 0xCD
	SendChannelNpcStorageResult        byte = 0xCE
	SendChannelMessenger               byte = 0xD9
	SendChannelRoom                    byte = 0xDC
	SendChannelCSRecharge              byte = 0xE7
	SendChannelCSUpdateAmounts         byte = 0xE8
	SendChannelCSAction                byte = 0xE9
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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