packets

package
Version: v0.0.0-...-769df87 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DropAdd

func DropAdd() maplepacket.Packet

func DropRemove

func DropRemove() maplepacket.Packet

func InventoryAddItem

func InventoryAddItem(item models.Item, newItem bool) maplepacket.Packet

func InventoryChangeEquip

func InventoryChangeEquip(char *models.Character) maplepacket.Packet

func InventoryChangeItemSlot

func InventoryChangeItemSlot(invTabID byte, origPos, newPos int16) maplepacket.Packet

func InventoryRemoveItem

func InventoryRemoveItem(item models.Item) maplepacket.Packet

func LoginCreatedCharacter

func LoginCreatedCharacter(success bool, character *models.Character) maplepacket.Packet

func LoginDeleteCharacter

func LoginDeleteCharacter(charID int32, deleted bool, hacking bool) maplepacket.Packet

func LoginDisplayCharacters

func LoginDisplayCharacters(characters []*models.Character) maplepacket.Packet

func LoginEndWorldList

func LoginEndWorldList() maplepacket.Packet

func LoginMigrateClient

func LoginMigrateClient(ip []byte, port int16, charID int32) maplepacket.Packet

func LoginNameCheck

func LoginNameCheck(name string, nameFound int) maplepacket.Packet

func LoginResponce

func LoginResponce(result byte, userID int32, gender byte, isAdmin byte, username string, isBanned int) maplepacket.Packet

func LoginReturnFromChannel

func LoginReturnFromChannel() maplepacket.Packet

func LoginSendBadMigrate

func LoginSendBadMigrate() maplepacket.Packet

func LoginWorldInfo

func LoginWorldInfo(warning byte, population byte) maplepacket.Packet

func LoginWorldListing

func LoginWorldListing(worldIndex byte) maplepacket.Packet

func LoginWritePlayerCharacter

func LoginWritePlayerCharacter(pac *maplepacket.Packet, pos int32, char *models.Character)

func MapChange

func MapChange(mapID int32, channelID int32, mapPos byte, hp int16) maplepacket.Packet

func MapPlayerEnter

func MapPlayerEnter(char *models.Character) maplepacket.Packet

func MapPlayerLeft

func MapPlayerLeft(charID int32) maplepacket.Packet

func MessageAllChat

func MessageAllChat(senderID int32, isAdmin bool, msg string) maplepacket.Packet

func MessageBroadcastChannel

func MessageBroadcastChannel(senderName string, msg string, channel byte, ear bool) maplepacket.Packet

Need to figure out how to display the username and atm it bastardises it.

func MessageBubblessChat

func MessageBubblessChat(msgType byte, sender string, msg string) maplepacket.Packet

func MessageDialogueBox

func MessageDialogueBox(msg string) maplepacket.Packet

func MessageDropPickUp

func MessageDropPickUp(isMesos bool, itemID, ammount int32) maplepacket.Packet

func MessageExpGained

func MessageExpGained(whiteText, appearInChat bool, ammount int32) maplepacket.Packet

func MessageFameChange

func MessageFameChange(ammount int32) maplepacket.Packet

func MessageFindResult

func MessageFindResult(character string, isAdmin, inCashShop, sameChannel bool, mapID int32) maplepacket.Packet

func MessageGmBan

func MessageGmBan(good bool) maplepacket.Packet

Implement logic for these

func MessageGmBlockedAccess

func MessageGmBlockedAccess() maplepacket.Packet

func MessageGmRemoveFromRanks

func MessageGmRemoveFromRanks() maplepacket.Packet

func MessageGmUnblock

func MessageGmUnblock() maplepacket.Packet

func MessageGmWarning

func MessageGmWarning(good bool) maplepacket.Packet

func MessageGmWrongNpc

func MessageGmWrongNpc() maplepacket.Packet

Don't know what this is used for

func MessageGuildPointsChange

func MessageGuildPointsChange(ammount int32) maplepacket.Packet

func MessageItemExpired

func MessageItemExpired(itemID int32) maplepacket.Packet

sends the [item name] has passed its expeiration date and will be removed from your inventory

func MessageItemExpired2

func MessageItemExpired2(itemID int32) maplepacket.Packet

func MessageMesosChangeChat

func MessageMesosChangeChat(ammount int32) maplepacket.Packet

func MessageNotice

func MessageNotice(msg string) maplepacket.Packet

func MessageRedText

func MessageRedText(msg string) maplepacket.Packet

func MessageScrollingHeader

func MessageScrollingHeader(msg string) maplepacket.Packet

func MessageUnableToPickUp

func MessageUnableToPickUp(itemNotAvailable bool) maplepacket.Packet

func MessageWhisper

func MessageWhisper(sender string, message string, channel byte) maplepacket.Packet

func MessageWhiteBar

func MessageWhiteBar(msg string) maplepacket.Packet

func MobAck

func MobAck(mobID int32, moveID int16, allowedToUseSkill bool, mp int16, skill byte, level byte) maplepacket.Packet

func MobControl

func MobControl(mob mobInter, isNewSpawn bool) maplepacket.Packet

func MobEndControl

func MobEndControl(mob mobInter) maplepacket.Packet

func MobMove

func MobMove(mobID int32, allowedToUseSkill bool, activity, skill, level byte, option int16, buf []byte) maplepacket.Packet

func MobRemove

func MobRemove(mob mobInter, deathType byte) maplepacket.Packet

func MobShow

func MobShow(mob mobInter, isNewSpawn bool) maplepacket.Packet

func MobShowHpChange

func MobShowHpChange(spawnID int32, dmg int32) maplepacket.Packet

func NPCChatBackNext

func NPCChatBackNext(npcID int32, msg string, front, back bool) maplepacket.Packet

func NPCChatSelection

func NPCChatSelection(npcID int32, msg string) maplepacket.Packet

func NPCChatStyleWindow

func NPCChatStyleWindow(npcID int32, msg string, styles []int32) maplepacket.Packet

func NPCChatUnkown1

func NPCChatUnkown1(npcID int32, msg string) maplepacket.Packet

func NPCChatUnkown2

func NPCChatUnkown2(npcID int32, msg string) maplepacket.Packet

func NPCChatUserNumber

func NPCChatUserNumber(npcID int32, msg string, defaultInput, minLength, maxLength int32) maplepacket.Packet

func NPCChatUserString

func NPCChatUserString(npcID int32, msg string, defaultInput string, minLength, maxLength int16) maplepacket.Packet

func NPCChatYesNo

func NPCChatYesNo(npcID int32, msg string) maplepacket.Packet

func NPCMovement

func NPCMovement(bytes []byte) maplepacket.Packet

func NPCRemove

func NPCRemove(npcID int32) maplepacket.Packet

func NPCSetController

func NPCSetController(npcID int32, isLocal bool) maplepacket.Packet

func NPCShop

func NPCShop(npcID int32, items [][]int32) maplepacket.Packet

func NPCShopContinue

func NPCShopContinue() maplepacket.Packet

func NPCShopNotEnoughMesos

func NPCShopNotEnoughMesos() maplepacket.Packet

func NPCShopNotEnoughStock

func NPCShopNotEnoughStock() maplepacket.Packet

func NPCStorageShow

func NPCStorageShow(npcID, storageMesos int32, storageSlots byte, items []models.Item) maplepacket.Packet

func NPCTradeError

func NPCTradeError() maplepacket.Packet

func NpcShow

func NpcShow(npc npcInter) maplepacket.Packet

func PlayerAvatarSummaryWindow

func PlayerAvatarSummaryWindow(charID int32, char models.Character, guildName string) maplepacket.Packet

func PlayerEmoticon

func PlayerEmoticon(playerID int32, emotion int32) maplepacket.Packet

func PlayerEnterGame

func PlayerEnterGame(char models.Character, channelID int32) maplepacket.Packet

func PlayerLevelUpAnimation

func PlayerLevelUpAnimation(charID int32) maplepacket.Packet

func PlayerMove

func PlayerMove(charID int32, leftOverBytes maplepacket.Packet) maplepacket.Packet

func PlayerReceivedDmg

func PlayerReceivedDmg(charID int32, ammount int32, dmgType byte, mobID int32, hit byte, reduction byte, stance byte) maplepacket.Packet

func PlayerSkillBookUpdate

func PlayerSkillBookUpdate(skillID int32, level int32) maplepacket.Packet

func PlayerStatChange

func PlayerStatChange(byPlayer bool, stat int32, value int32) maplepacket.Packet

func PlayerStatNoChange

func PlayerStatNoChange() maplepacket.Packet

func RoomBusy

func RoomBusy() maplepacket.Packet

func RoomCannotEnterTournament

func RoomCannotEnterTournament() maplepacket.Packet

func RoomCannotStartGameHere

func RoomCannotStartGameHere() maplepacket.Packet

func RoomChat

func RoomChat(sender, message string, roomSlot byte) maplepacket.Packet

func RoomClosed

func RoomClosed() maplepacket.Packet

func RoomFull

func RoomFull() maplepacket.Packet

func RoomGameResult

func RoomGameResult(draw bool, forfeit int, chars []models.Character) maplepacket.Packet

func RoomGarbageMsgAboutFloorInFm

func RoomGarbageMsgAboutFloorInFm() maplepacket.Packet

func RoomGarbageTradeMsg

func RoomGarbageTradeMsg() maplepacket.Packet

func RoomIncorrectPassword

func RoomIncorrectPassword() maplepacket.Packet

func RoomInvite

func RoomInvite(roomType byte, name string, roomID int32) maplepacket.Packet

func RoomInviteResult

func RoomInviteResult(resultCode byte, name string) maplepacket.Packet

func RoomJoin

func RoomJoin(roomType, roomSlot byte, char *models.Character) maplepacket.Packet

func RoomLeave

func RoomLeave(roomSlot byte, leaveCode byte) maplepacket.Packet

func RoomMayNotEnterStore

func RoomMayNotEnterStore() maplepacket.Packet

func RoomMemoryStart

func RoomMemoryStart(ownerStart bool, boardType int32) maplepacket.Packet

func RoomMiniRoomNotHere

func RoomMiniRoomNotHere() maplepacket.Packet

func RoomNoTradeAtm

func RoomNoTradeAtm() maplepacket.Packet

func RoomNotAllowedDuringEvent

func RoomNotAllowedDuringEvent() maplepacket.Packet

func RoomNotAllowedWhenDead

func RoomNotAllowedWhenDead() maplepacket.Packet

func RoomNotEnoughMesos

func RoomNotEnoughMesos() maplepacket.Packet

func RoomOmokInvalidPlaceMsg

func RoomOmokInvalidPlaceMsg() maplepacket.Packet

func RoomOmokSkip

func RoomOmokSkip(isOwner bool) maplepacket.Packet

func RoomOmokStart

func RoomOmokStart(ownerStart bool) maplepacket.Packet

func RoomPersonalStoreFMOnly

func RoomPersonalStoreFMOnly() maplepacket.Packet

func RoomPlaceOmokPiece

func RoomPlaceOmokPiece(x, y int32, piece byte) maplepacket.Packet

func RoomReady

func RoomReady() maplepacket.Packet

func RoomRejectTie

func RoomRejectTie() maplepacket.Packet

func RoomRejectUndo

func RoomRejectUndo() maplepacket.Packet

func RoomRemoveBox

func RoomRemoveBox(charID int32) maplepacket.Packet

func RoomRequestTie

func RoomRequestTie() maplepacket.Packet

func RoomRequestUndo

func RoomRequestUndo() maplepacket.Packet

func RoomShowAccept

func RoomShowAccept() maplepacket.Packet

func RoomShowMapBox

func RoomShowMapBox(charID, roomID int32, roomType, boardType byte, name string, hasPassword, koreanText bool, ammount byte) maplepacket.Packet

func RoomShowWindow

func RoomShowWindow(roomType, boardType, maxPlayers, roomSlot byte, roomTitle string, chars []*models.Character) maplepacket.Packet

func RoomStoreMaintenance

func RoomStoreMaintenance() maplepacket.Packet

func RoomThisCharacterNotAllowed

func RoomThisCharacterNotAllowed() maplepacket.Packet

func RoomTradeRequireSameMap

func RoomTradeRequireSameMap() maplepacket.Packet

func RoomUnReady

func RoomUnReady() maplepacket.Packet

func RoomYellowChat

func RoomYellowChat(msgType byte, name string) maplepacket.Packet

func RoomcannotCreateMiniroomHere

func RoomcannotCreateMiniroomHere() maplepacket.Packet

func SkillAnimation

func SkillAnimation(charID int32, skillID int32, level byte) maplepacket.Packet

func SkillGmHide

func SkillGmHide(isHidden bool) maplepacket.Packet

func SkillMagic

func SkillMagic(charID int32, skillID int32, targets, hits, display, animation byte, damages map[int32][]int32) maplepacket.Packet

func SkillMelee

func SkillMelee(charID int32, skillID int32, targets, hits, display, animation byte, damages map[int32][]int32) maplepacket.Packet

func SkillRanged

func SkillRanged(charID, skillID, objID int32, targets, hits, display, animation byte, damages map[int32][]int32) maplepacket.Packet

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL