Documentation ¶
Index ¶
- Variables
- func DealDamageToPlayer(s *database.Socket, enemy *database.Character, dmg int)
- type AcceptTradeHandler
- type ActivateTimeLimitedItemHandler
- type ActivateTimeLimitedItemHandler2
- type AddStatHandler
- type AddTradeGoldHandler
- type AddTradeItemHandler
- type AidHandler
- type ArrangeBankHandler
- type ArrangeInventoryHandler
- type AttackHandler
- type BattleModeHandler
- type BuyHTItemHandler
- type BuySaleItemHandler
- type CancelTradeHandler
- type CastMonkSkillHandler
- type CastSkillHandler
- type ChangeGuildLogoHandler
- type ChangeRoleHandler
- type CharacterMenuHandler
- type ChatHandler
- type CloseHTMenuHandler
- type CloseSaleHandler
- type CombineItemsHandler
- type CreateGuildHandler
- type DealDamageHandler
- type DepositHandler
- type DestroyItemHandler
- type DowngradePassiveSkillHandler
- type DowngradeSkillHandler
- type DressUpHandler
- type EnterGateHandler
- type ExpelFromGuildHandler
- type ExpelFromPartyHandler
- type GetGoldHandler
- type GetInventoryHandler
- type GetStatsHandler
- type GuildRequestHandler
- type HolyWaterUpgradeHandler
- type InTacticalSpaceTPHandler
- type InstantAttackHandler
- type LeaveGuildHandler
- type LeavePartyHandler
- type LootHandler
- type MeditationHandler
- type MovementHandler
- type OpenBoxHandler
- type OpenBoxHandler2
- type OpenBuyMenuHandler
- type OpenHTMenuHandler
- type OpenLotHandler
- type OpenSaleHandler
- type OpenSaleMenuHandler
- type OpenTacticalSpaceHandler
- type QuitGameHandler
- type RemoveBuffHandler
- type RemoveItemHandler
- type RemovePassiveSkillHandler
- type RemoveSkillHandler
- type RemoveTradeItemHandler
- type ReplaceHTItemHandler
- type ReplaceItemHandler
- type RespawnHandler
- type RespondGuildRequestHandler
- type RespondPartyRequestHandler
- type RespondPvPRequestHandler
- type RespondTradeRequestHandler
- type SaveSlotbarHandler
- type SendPartyRequestHandler
- type SendPvPRequestHandler
- type SendTradeRequestHandler
- type ServerMenuHandler
- type SplitItemHandler
- type SwapItemsHandler
- type SwitchWeaponHandler
- type TacticalSpaceTPHandler
- type TargetSelectionHandler
- type TogglePetHandler
- type TransferSoulHandler
- type TravelToCastleHandler
- type UpgradePassiveSkillHandler
- type UpgradeSkillHandler
- type UseConsumableHandler
- type VisitSaleHandler
- type WithdrawHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FreeLotQuantities = map[int]int{10820001: 5, 10600033: 10, 10600036: 10, 17500346: 5, 10600057: 5} PaidLotQuantities = map[int]int{92000001: 5, 92000011: 5, 10820001: 5, 17500346: 10, 10601023: 20, 10601024: 20, 10601007: 50, 10601008: 50, 10600057: 10, 17502966: 5, 17502967: 5, 243: 3} BATTLE_MODE = utils.Packet{0xAA, 0x55, 0x04, 0x00, 0x43, 0x00, 0x55, 0xAA} MEDITATION_MODE = utils.Packet{0xAA, 0x55, 0x05, 0x00, 0x82, 0x05, 0x00, 0x55, 0xAA} TACTICAL_SPACE_MENU = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x50, 0x01, 0x01, 0x55, 0xAA, 0xAA, 0x55, 0x05, 0x00, 0x28, 0xFF, 0x00, 0x00, 0x00, 0x55, 0xAA} TACTICAL_SPACE_TP = utils.Packet{0xAA, 0x55, 0x07, 0x00, 0x01, 0xB9, 0x0A, 0x00, 0x00, 0x00, 0x01, 0x55, 0xAA} OPEN_LOT = utils.Packet{0xAA, 0x55, 0x0C, 0x00, 0xA2, 0x01, 0x32, 0x00, 0x00, 0x00, 0x00, 0x01, 0x55, 0xAA} SELECTION_CHANGED = utils.Packet{0xAA, 0x55, 0x09, 0x00, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA} PVP_REQUEST = utils.Packet{0xAA, 0x55, 0x04, 0x00, 0x2A, 0x01, 0x55, 0xAA} PVP_STARTED = utils.Packet{0xAA, 0x55, 0x0A, 0x00, 0x2A, 0x02, 0x55, 0xAA} )
View Source
var ( ATTACKED = utils.Packet{0xAA, 0x55, 0x0C, 0x00, 0x41, 0x01, 0x0D, 0x02, 0x01, 0x00, 0x00, 0x00, 0x55, 0xAA} INST_ATTACKED = utils.Packet{0xAA, 0x55, 0x0C, 0x00, 0x41, 0x01, 0x0D, 0x02, 0x01, 0x00, 0x00, 0x00, 0x55, 0xAA} )
View Source
var ( CHAT_MESSAGE = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x00, 0x55, 0xAA} SHOUT_MESSAGE = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x71, 0x0E, 0x00, 0x00, 0x55, 0xAA} ANNOUNCEMENT = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x71, 0x06, 0x00, 0x55, 0xAA} )
View Source
var ( CREATED_GUILD = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x83, 0x01, 0x0A, 0x00, 0x00, 0x55, 0xAA} EXPELLED_FROM_GUILD = utils.Packet{0xAA, 0x55, 0x06, 0x00, 0x83, 0x02, 0x55, 0xAA} GUILD_REQUEST = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x83, 0x03, 0x0A, 0x00, 0x05, 0x55, 0xAA} NEW_GUILD_MEMBER = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x83, 0x05, 0x00, 0x01, 0x10, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x32, 0x30, 0x31, 0x38, 0x2D, 0x30, 0x38, 0x2D, 0x32, 0x36, 0x00, 0x55, 0xAA} GUILD_LOGO = utils.Packet{0xAA, 0x55, 0x1B, 0x03, 0x83, 0x0B, 0x0A, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA} MEMBER_EXPELLED = utils.Packet{0xAA, 0x55, 0x06, 0x00, 0x83, 0x07, 0x55, 0xAA} )
View Source
var ( GET_GOLD = utils.Packet{0xAA, 0x55, 0x0A, 0x00, 0x57, 0x0B, 0x55, 0xAA} ITEMS_COMBINED = utils.Packet{0xAA, 0x55, 0x10, 0x00, 0x59, 0x06, 0x0A, 0x00, 0x00, 0x00, 0x55, 0xAA} ARRANGE_ITEM = utils.Packet{0xAA, 0x55, 0x32, 0x00, 0x78, 0x02, 0x00, 0xA2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA} ARRANGE_BANK_ITEM = utils.Packet{0xAA, 0x55, 0x2F, 0x00, 0x80, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA} CLOSE_HT_MENU = utils.Packet{0xAA, 0x55, 0x04, 0x00, 0x64, 0x02, 0x0A, 0x00, 0x55, 0xAA} OPEN_HT_MENU = utils.Packet{0xAA, 0x55, 0x04, 0x00, 0x64, 0x01, 0x0A, 0x00, 0x55, 0xAA} GET_CASH = utils.Packet{0xAA, 0x55, 0x0C, 0x00, 0x64, 0x03, 0x0A, 0x00, 0x55, 0xAA} BUY_HT_ITEM = utils.Packet{0xAA, 0x55, 0x38, 0x00, 0x64, 0x04, 0x0A, 0x00, 0x07, 0xA2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA} REPLACE_HT_ITEM = utils.Packet{0xAA, 0x55, 0x0A, 0x00, 0x59, 0x40, 0x0A, 0x00, 0x55, 0xAA} HT_VISIBILITY = utils.Packet{0xAA, 0x55, 0x06, 0x00, 0x59, 0x11, 0x0A, 0x00, 0x01, 0x00, 0x55, 0xAA} )
View Source
var ( PARTY_REQUEST = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x52, 0x01, 0x0A, 0x00, 0x00, 0x21, 0x55, 0xAA} PARTY_REQUEST_REJECTED = utils.Packet{0xAA, 0x55, 0x04, 0x00, 0x52, 0x02, 0x52, 0x03, 0x55, 0xAA} EXPEL_PARTY_MEMBER = utils.Packet{0xAA, 0x55, 0x08, 0x00, 0x52, 0x06, 0x0A, 0x00, 0x55, 0xAA} )
View Source
var ( OPEN_SALE_MENU = utils.Packet{0xAA, 0x55, 0x05, 0x00, 0x55, 0x09, 0x0A, 0x00, 0x00, 0x55, 0xAA} OPEN_BUY_MENU = utils.Packet{0xAA, 0x55, 0x05, 0x00, 0x68, 0x09, 0x0A, 0x00, 0x00, 0x55, 0xAA} )
View Source
var ( CHARACTER_MENU = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x09, 0x09, 0x00, 0x55, 0xAA} SERVER_MENU = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x09, 0x08, 0x00, 0x55, 0xAA} QUIT_GAME = utils.Packet{0xAA, 0x55, 0x05, 0x00, 0x21, 0x02, 0x00, 0x55, 0xAA} )
View Source
var ( SEND_TRADE_REQUEST = utils.Packet{0xAA, 0x55, 0x06, 0x00, 0x53, 0x01, 0x0A, 0x00, 0x55, 0xAA} TRADE_REQUEST_ACCEPTED = utils.Packet{0xAA, 0x55, 0x04, 0x00, 0x53, 0x02, 0x0A, 0x00, 0x55, 0xAA} TRADE_ITEM_ADDED = utils.Packet{0xAA, 0x55, 0x33, 0x00, 0x53, 0x04, 0x0A, 0x00, 0x00, 0x00, 0xA2, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA} TRADE_GOLD_ADDED = utils.Packet{0xAA, 0x55, 0x0E, 0x00, 0x53, 0x06, 0x0A, 0x00, 0x55, 0xAA} TRADE_ITEM_REMOVED = utils.Packet{0xAA, 0x55, 0x07, 0x00, 0x53, 0x08, 0x0A, 0x00, 0x00, 0x55, 0xAA} TRADE_ACCEPTED = utils.Packet{0xAA, 0x55, 0x07, 0x00, 0x53, 0x09, 0x0A, 0x00, 0x01, 0x55, 0xAA} TRADE_REJECTED = utils.Packet{0xAA, 0x55, 0x07, 0x00, 0x53, 0x09, 0x0A, 0x00, 0x00, 0x55, 0xAA} TRADE_COMPLETED = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x53, 0x10, 0x0A, 0x00, 0x00, 0x55, 0xAA} )
View Source
var (
CHARACTER_MOVEMENT = utils.Packet{0xAA, 0x55, 0x22, 0x00, 0x22, 0x01, 0x00, 0x00, 0x00, 0x00, 0xC8, 0xB0, 0xFE, 0xBE, 0x00, 0x00, 0x55, 0xAA}
)
View Source
var (
STAT_ADDED = utils.Packet{0xAA, 0x55, 0x0B, 0x00, 0x75, 0x00, 0x01, 0x55, 0xAA}
)
Functions ¶
Types ¶
type AcceptTradeHandler ¶
type AcceptTradeHandler struct{}
type ActivateTimeLimitedItemHandler ¶
type ActivateTimeLimitedItemHandler struct{}
type ActivateTimeLimitedItemHandler2 ¶
type ActivateTimeLimitedItemHandler2 struct{}
type AddStatHandler ¶
type AddStatHandler struct {
// contains filtered or unexported fields
}
type AddTradeGoldHandler ¶
type AddTradeGoldHandler struct{}
type AddTradeItemHandler ¶
type AddTradeItemHandler struct{}
type AidHandler ¶
type AidHandler struct{}
type ArrangeBankHandler ¶
type ArrangeBankHandler struct{}
type ArrangeInventoryHandler ¶
type ArrangeInventoryHandler struct{}
type AttackHandler ¶
type AttackHandler struct{}
type BattleModeHandler ¶
type BattleModeHandler struct{}
type BuyHTItemHandler ¶
type BuyHTItemHandler struct{}
type BuySaleItemHandler ¶
type BuySaleItemHandler struct{}
type CancelTradeHandler ¶
type CancelTradeHandler struct{}
type CastMonkSkillHandler ¶
type CastMonkSkillHandler struct{}
type CastSkillHandler ¶
type CastSkillHandler struct{}
type ChangeGuildLogoHandler ¶
type ChangeGuildLogoHandler struct{}
type ChangeRoleHandler ¶
type ChangeRoleHandler struct{}
type CharacterMenuHandler ¶
type CharacterMenuHandler struct { }
type ChatHandler ¶
type ChatHandler struct {
// contains filtered or unexported fields
}
type CloseHTMenuHandler ¶
type CloseHTMenuHandler struct{}
type CloseSaleHandler ¶
type CloseSaleHandler struct{}
type CombineItemsHandler ¶
type CombineItemsHandler struct{}
type CreateGuildHandler ¶
type CreateGuildHandler struct{}
type DealDamageHandler ¶
type DealDamageHandler struct{}
type DepositHandler ¶
type DepositHandler struct{}
type DestroyItemHandler ¶
type DestroyItemHandler struct{}
type DowngradePassiveSkillHandler ¶
type DowngradePassiveSkillHandler struct{}
type DowngradeSkillHandler ¶
type DowngradeSkillHandler struct{}
type DressUpHandler ¶
type DressUpHandler struct{}
type EnterGateHandler ¶
type EnterGateHandler struct{}
type ExpelFromGuildHandler ¶
type ExpelFromGuildHandler struct{}
type ExpelFromPartyHandler ¶
type ExpelFromPartyHandler struct{}
type GetGoldHandler ¶
type GetGoldHandler struct {
// contains filtered or unexported fields
}
type GetInventoryHandler ¶
type GetInventoryHandler struct{}
type GetStatsHandler ¶
type GetStatsHandler struct { }
type GuildRequestHandler ¶
type GuildRequestHandler struct{}
type HolyWaterUpgradeHandler ¶
type HolyWaterUpgradeHandler struct{}
type InTacticalSpaceTPHandler ¶
type InTacticalSpaceTPHandler struct{}
type InstantAttackHandler ¶
type InstantAttackHandler struct{}
type LeaveGuildHandler ¶
type LeaveGuildHandler struct{}
type LeavePartyHandler ¶
type LeavePartyHandler struct{}
type LootHandler ¶
type LootHandler struct { }
type MeditationHandler ¶
type MeditationHandler struct{}
type MovementHandler ¶
type MovementHandler struct { }
type OpenBoxHandler ¶
type OpenBoxHandler struct{}
type OpenBoxHandler2 ¶
type OpenBoxHandler2 struct{}
type OpenBuyMenuHandler ¶
type OpenBuyMenuHandler struct{}
type OpenHTMenuHandler ¶
type OpenHTMenuHandler struct{}
type OpenLotHandler ¶
type OpenLotHandler struct{}
type OpenSaleHandler ¶
type OpenSaleHandler struct{}
type OpenSaleMenuHandler ¶
type OpenSaleMenuHandler struct{}
type OpenTacticalSpaceHandler ¶
type OpenTacticalSpaceHandler struct{}
type QuitGameHandler ¶
type QuitGameHandler struct { }
type RemoveBuffHandler ¶
type RemoveBuffHandler struct{}
type RemoveItemHandler ¶
type RemoveItemHandler struct{}
type RemovePassiveSkillHandler ¶
type RemovePassiveSkillHandler struct{}
type RemoveSkillHandler ¶
type RemoveSkillHandler struct{}
type RemoveTradeItemHandler ¶
type RemoveTradeItemHandler struct{}
type ReplaceHTItemHandler ¶
type ReplaceHTItemHandler struct{}
type ReplaceItemHandler ¶
type ReplaceItemHandler struct{}
type RespawnHandler ¶
type RespawnHandler struct { }
type RespondGuildRequestHandler ¶
type RespondGuildRequestHandler struct{}
type RespondPartyRequestHandler ¶
type RespondPartyRequestHandler struct{}
type RespondPvPRequestHandler ¶
type RespondPvPRequestHandler struct{}
type RespondTradeRequestHandler ¶
type RespondTradeRequestHandler struct{}
type SaveSlotbarHandler ¶
type SaveSlotbarHandler struct { }
type SendPartyRequestHandler ¶
type SendPartyRequestHandler struct{}
type SendPvPRequestHandler ¶
type SendPvPRequestHandler struct{}
type SendTradeRequestHandler ¶
type SendTradeRequestHandler struct{}
type ServerMenuHandler ¶
type ServerMenuHandler struct { }
type SplitItemHandler ¶
type SplitItemHandler struct{}
type SwapItemsHandler ¶
type SwapItemsHandler struct{}
type SwitchWeaponHandler ¶
type SwitchWeaponHandler struct{}
type TacticalSpaceTPHandler ¶
type TacticalSpaceTPHandler struct{}
type TargetSelectionHandler ¶
type TargetSelectionHandler struct{}
type TogglePetHandler ¶
type TogglePetHandler struct{}
type TransferSoulHandler ¶
type TransferSoulHandler struct{}
type TravelToCastleHandler ¶
type TravelToCastleHandler struct{}
type UpgradePassiveSkillHandler ¶
type UpgradePassiveSkillHandler struct{}
type UpgradeSkillHandler ¶
type UpgradeSkillHandler struct{}
type UseConsumableHandler ¶
type UseConsumableHandler struct{}
type VisitSaleHandler ¶
type VisitSaleHandler struct{}
type WithdrawHandler ¶
type WithdrawHandler struct{}
Click to show internal directories.
Click to hide internal directories.