Documentation
¶
Index ¶
- Constants
- type ActionDepositBank
- type ActionDepositBankResponse
- type ActionMove
- type ActionWithdrawBank
- type ActiveEvent
- type BankDepositResponse
- type BankInventoryParams
- type BankInventoryResponse
- type BlockedHits
- type CancelTask
- type Character
- type CharacterFight
- type CharacterFightData
- type CharacterGathering
- type CharacterGatheringResponse
- type CharacterMovement
- type CharacterMovementResponse
- type CharacterRecyclingResponse
- type CharacterResponse
- type Content
- type Cooldown
- type CraftInformation
- type CraftingDetails
- type CreateCharacter
- type CreateTask
- type Credentials
- type Destination
- type EventResponse
- type Fight
- type GetAllEventsQueryParameters
- type GetAllItemsQueryParameters
- type GrandExchangeItemDetail
- type InventorySlot
- type Item
- type ItemDetails
- type ItemEffect
- type ItemResponse
- type ItemsResponse
- type ListItemParameters
- type MapContent
- type MapSchema
- type RecyclingItemsResponse
- type RecyclingResponse
- type Task
- type WithdrawBank
- type WithdrawBankResponse
Constants ¶
View Source
const ( AshTree string = "ash_tree" AshTeeX int = 6 AshTreeY int = 1 Bank string = "bank" BankX int = 4 BankY int = 1 SouthBank string = "south_bank" SouthBankX int = 7 SouthBankY int = 13 Bass string = "bass" BassLevel int = 30 BassX int = 6 BassY int = 12 BirchTree string = "birch_tree" BirchTreeLevel int = 20 BirchTreeX int = 3 BirchTreeY int = 5 Crafting string = "crafting" CoalLevel int = 20 Coal string = "coal_rocks" CoalX int = 1 CoalY int = 6 CookingWorkshop string = "cooking_workshop" CookingWorkshopX int = 1 CookingWorkshopY int = 1 Copper string = "copper_ore" CopperX int = 2 CopperY int = 0 Combat string = "combat" DeadTree string = "dead_tree" DeadTreeLevel int = 30 DeadTreeX int = 9 DeadTreeY int = 8 ForgeWorkshop string = "forge_workshop" GearcraftingWorkshop string = "gearcrafting_workshop" GearcraftingWorkshopX int = 3 GearcraftingWorkshopY int = 1 Gudgeon string = "gudgeon" GudgeonX int = 4 GudgeonY int = 2 GoldLevel int = 30 Gold string = "gold_rocks" GoldX int = 10 GoldY int = -4 InventorySize int = 100 ItemTypeConsumable string = "" ItemTypeBodyArmor string = "" IronLevel int = 10 Iron string = "iron_rocks" IronX int = 1 IronY int = 7 JewelrycraftingWorkshop string = "jewelrycrafting_workshop" JewelrycraftingWorkshopX int = 1 JewelrycraftingWorkshopY int = 3 MiningWorkshop string = "mining_workshop" MiningWorkshopX int = 1 MiningWorkshopY int = 5 MagicTree string = "magic_tree" Shrimp string = "shrimp" ShrimpLevel int = 10 ShrimpX int = 5 ShrimpY int = 2 SpruceTree string = "spruce_tree" SpruceTreeLevel int = 10 SpruceTreeX int = 2 SpruceTreeY int = 6 StrangeRocks string = "strange_rocks" Trout string = "trout" TroutLevel int = 20 TroutX int = 7 TroutY int = 12 ItemRetrieved string = "item_retrieved" TaskCancelled string = "task_cancelled" TaskCreated string = "task_created" TaskRetrieved string = "task_retrieved" WeaponcraftingWorkshop string = "weaponcrafting_workshop" WeaponcraftingWorkshopX int = 2 WeaponcraftingWorkshopY int = 1 WoodcuttingWorkshop string = "woodcutting_workshop" WoodcuttingWorkshopX int = -2 WoodcuttingWorkshopY int = -3 )
View Source
const ( TaskStatusCancelled = "cancelled" TaskStatusPending = "pending" TaskStatusRunning = "running" TaskStatusSuccess = "success" TaskStatusError = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionDepositBank ¶
type ActionDepositBankResponse ¶
type ActionDepositBankResponse struct {
Data BankDepositResponse `json:"data"`
}
type ActionMove ¶
type ActionWithdrawBank ¶
type ActiveEvent ¶
type BankDepositResponse ¶
type BankDepositResponse struct { Cooldown Cooldown `json:"cooldown"` Item ItemDetails `json:"item"` Bank []Item `json:"bank"` Character Character `json:"character"` }
type BankInventoryParams ¶
type BankInventoryResponse ¶
type BlockedHits ¶
type CancelTask ¶
type CancelTask struct {
Reason string `json:"reason"`
}
type Character ¶
type Character struct { Name string `json:"name"` Skin string `json:"skin"` Level int `json:"level"` XP int `json:"xp"` MaxXp int `json:"max_xp"` TotalXp int `json:"total_xp"` Gold int `json:"gold"` Speed int `json:"speed"` MiningLevel int `json:"mining_level"` MiningXp int `json:"mining_xp"` MiningMaxXp int `json:"mining_max_xp"` WoodcuttingLevel int `json:"woodcutting_level"` WoodcuttingMaxXp int `json:"woodcutting_max_xp"` FishingLevel int `json:"fishing_level"` FishingXp int `json:"fishing_xp"` FishingMaxXp int `json:"fishing_max_xp"` WeaponCraftingLevel int `json:"weaponcrafting_level"` WeaponCraftingXp int `json:"weaponcrafting_xp"` WeaponCraftingMaxXp int `json:"weaponcrafting_max_xp"` GearCraftingLevel int `json:"gearcrafting_level"` GearCraftingXp int `json:"gearcrafting_xp"` GearCraftingMaxXp int `json:"gearcrafting_max_xp"` JewelryCraftingLevel int `json:"jewelrycrafting_level"` JewelryCraftingXp int `json:"jewelrycrafting_xp"` JewelryCraftingMaxXp int `json:"jewelrycrafting_max_xp"` CookingLevel int `json:"cooking_level"` CookingXp int `json:"cooking_xp"` CookingMaxXp int `json:"cooking_max_xp"` Hp int `json:"hp"` Haste int `json:"haste"` CriticalStrike int `json:"critical_strike"` Stamina int `json:"stamina"` AttackFire int `json:"attack_fire"` AttackEarth int `json:"attack_earth"` AttackWater int `json:"attack_water"` AttackAir int `json:"attack_air"` DmgFire int `json:"dmg_fire"` DmgEarth int `json:"dmg_earth"` DmgWater int `json:"dmg_water"` DmgAir int `json:"dmg_air"` ResFire int `json:"res_fire"` ResEarth int `json:"res_earth"` ResWater int `json:"res_water"` ResAir int `json:"res_air"` X int `json:"x"` Y int `json:"y"` Cooldown int `json:"cooldown"` CooldownExpiration time.Time `json:"cooldown_expiration"` WeaponSlot string `json:"weapon_slot"` ShieldSlot string `json:"shield_slot"` HelmetSlot string `json:"helmet_slot"` BodyArmorSlot string `json:"body_armor_slot"` LegArmorSlot string `json:"leg_armor_slot"` BootsSlot string `json:"boots_slot"` Ring1Slot string `json:"ring1_slot"` Ring2Slot string `json:"ring2_slot"` AmuletSlot string `json:"amulet_slot"` Artifact1Slot string `json:"artifact1_slot"` Artifact2Slot string `json:"artifact2_slot"` Artifact3Slot string `json:"artifact3_slot"` Consumable1Slot string `json:"consumable1_slot"` Consumable1SlotQuantity int `json:"consumable1_slot_quantity"` Consumable2Slot string `json:"consumable2_slot"` Consumable2SlotQuantity int `json:"consumable2_slot_quantity"` Task string `json:"task"` TaskType string `json:"task_type"` TaskProgress int `json:"task_progress"` TaskTotal int `json:"task_total"` InventoryMaxItems int `json:"inventory_max_items"` Inventory []InventorySlot `json:"inventory"` }
type CharacterFight ¶
type CharacterFightData ¶
type CharacterFightData struct {
Data CharacterFight `json:"data"`
}
type CharacterGathering ¶
type CharacterGathering struct { Cooldown Cooldown `json:"cooldown"` Details CraftingDetails `json:"details"` Character Character `json:"character"` }
type CharacterGatheringResponse ¶
type CharacterGatheringResponse struct {
Data CharacterGathering `json:"data"`
}
type CharacterMovement ¶
type CharacterMovement struct { Cooldown Cooldown `json:"cooldown"` Destination Destination `json:"destination"` Character Character `json:"character"` }
type CharacterMovementResponse ¶
type CharacterMovementResponse struct {
Data CharacterMovement `json:"data"`
}
type CharacterRecyclingResponse ¶
type CharacterRecyclingResponse struct {
Data RecyclingResponse `json:"data"`
}
type CharacterResponse ¶
type CharacterResponse struct {
Data Character `json:"data"`
}
type CraftInformation ¶
type CraftingDetails ¶
type CreateCharacter ¶
type CreateTask ¶
type Credentials ¶
type Destination ¶
type EventResponse ¶
type EventResponse struct { Data []ActiveEvent `json:"data"` Total int `json:"total"` Page int `json:"page"` Size int `json:"size"` Pages int `json:"pages"` }
type Fight ¶
type Fight struct { Xp int `json:"xp"` Gold int `json:"gold"` Drops []Item `json:"drops"` Turns int `json:"turns"` MonsterBlockedHits BlockedHits `json:"monster_blocked_hits"` PlayerBlockedHits BlockedHits `json:"player_blocked_hits"` Logs []string `json:"logs"` Result string `json:"result"` }
type GrandExchangeItemDetail ¶
type InventorySlot ¶
type ItemDetails ¶
type ItemDetails struct { Name string `bson:"name" json:"name"` Code string `bson:"code" json:"code"` Level int `bson:"level" json:"level"` Type string `bson:"type" json:"type"` SubType string `bson:"subType" json:"subType"` Description string `bson:"description" json:"description"` Effects []ItemEffect `bson:"effects,omitempty" json:"effects,omitempty"` Craft CraftInformation `bson:"craft,omitempty" json:"craft,omitempty"` }
type ItemEffect ¶
type ItemResponse ¶
type ItemResponse struct { Data ItemDetails `json:"data"` Ge GrandExchangeItemDetail `json:"ge,omitempty"` }
type ItemsResponse ¶
type ItemsResponse struct { Data []ItemDetails `json:"data"` Total int `json:"total"` Page int `json:"page"` Size int `json:"size"` Pages int `json:"pages"` }
type ListItemParameters ¶
type MapContent ¶
type MapSchema ¶
type MapSchema struct { Name string `json:"name"` Skin string `json:"skin"` X int `json:"x"` Y int `json:"y"` Content MapContent `json:"content"` }
type RecyclingItemsResponse ¶
type RecyclingItemsResponse struct {
Items []Item `json:"items"`
}
type RecyclingResponse ¶
type RecyclingResponse struct { Cooldown Cooldown `json:"cooldown"` Details RecyclingItemsResponse `json:"details"` Character Character `json:"character"` }
type Task ¶
type Task struct { Id string `bson:"_id" json:"id"` Action string `bson:"action,omitempty" json:"action,omitempty"` ActionCategory string `bson:"actionCategory" json:"actionCategory"` Item string `bson:"item,omitempty" json:"item,omitempty"` Monster string `bson:"monster,omitempty" json:"monster,omitempty"` Quantity int `bson:"quantity" json:"quantity"` QuantityCompleted int `bson:"quantityCompleted" json:"quantityCompleted"` Status string `bson:"status" json:"status"` ErrorReason string `bson:"errorReason" json:"errorReason"` Character string `bson:"character" json:"character"` }
type WithdrawBank ¶
type WithdrawBank struct { Cooldown Cooldown `json:"cooldown"` Item ItemDetails `json:"item"` Bank []Item `json:"bank"` Character Character `json:"character"` }
type WithdrawBankResponse ¶
type WithdrawBankResponse struct {
Data WithdrawBank `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.