Documentation ¶
Index ¶
- Variables
- type Building
- func (*Building) Descriptor() ([]byte, []int)deprecated
- func (x *Building) GetCommands() []string
- func (x *Building) GetDescription() string
- func (x *Building) GetName() string
- func (*Building) ProtoMessage()
- func (x *Building) ProtoReflect() protoreflect.Message
- func (x *Building) Reset()
- func (x *Building) String() string
- type Chat
- func (*Chat) Descriptor() ([]byte, []int)deprecated
- func (x *Chat) GetAnyField() *anypb.Any
- func (x *Chat) GetMsg() string
- func (x *Chat) GetPlayer() *Player
- func (x *Chat) GetType() ChatType
- func (*Chat) ProtoMessage()
- func (x *Chat) ProtoReflect() protoreflect.Message
- func (x *Chat) Reset()
- func (x *Chat) String() string
- type ChatType
- type Coordinate
- func (*Coordinate) Descriptor() ([]byte, []int)deprecated
- func (x *Coordinate) GetCity() string
- func (x *Coordinate) GetEast() int32
- func (x *Coordinate) GetNorth() int32
- func (x *Coordinate) GetPoi() string
- func (x *Coordinate) GetPoitype() int32
- func (*Coordinate) ProtoMessage()
- func (x *Coordinate) ProtoReflect() protoreflect.Message
- func (x *Coordinate) Reset()
- func (x *Coordinate) String() string
- type Direction
- type GPS
- func (*GPS) Descriptor() ([]byte, []int)deprecated
- func (x *GPS) GetAnyField() *anypb.Any
- func (x *GPS) GetEnabled() bool
- func (x *GPS) GetHeight() int32
- func (x *GPS) GetLocation() *Coordinate
- func (x *GPS) GetName() string
- func (x *GPS) GetPois() []*Coordinate
- func (x *GPS) GetWidth() int32
- func (*GPS) ProtoMessage()
- func (x *GPS) ProtoReflect() protoreflect.Message
- func (x *GPS) Reset()
- func (x *GPS) String() string
- type Gender
- type Generic
- func (*Generic) Descriptor() ([]byte, []int)deprecated
- func (x *Generic) GetAlignment() uint32
- func (x *Generic) GetAnyField() *anypb.Any
- func (x *Generic) GetAscii() bool
- func (x *Generic) GetCommand() string
- func (x *Generic) GetMessages() []string
- func (x *Generic) GetStatus() ResponseStatus
- func (*Generic) ProtoMessage()
- func (x *Generic) ProtoReflect() protoreflect.Message
- func (x *Generic) Reset()
- func (x *Generic) String() string
- type Inventory
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetAmount() int32
- func (x *Item) GetArmorGuns() uint32
- func (x *Item) GetArmorMelee() uint32
- func (x *Item) GetCondition() float32
- func (x *Item) GetDamage() uint32
- func (x *Item) GetDescription() string
- func (x *Item) GetEquipped() bool
- func (x *Item) GetHasUseEffect() bool
- func (x *Item) GetId() string
- func (x *Item) GetIsGear() bool
- func (x *Item) GetName() string
- func (x *Item) GetPrice() uint32
- func (x *Item) GetType() ItemType
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) String() string
- type ItemType
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetAnyField() *anypb.Any
- func (x *Location) GetBuildings() []*Building
- func (x *Location) GetCityName() string
- func (x *Location) GetClear() bool
- func (x *Location) GetCoordinates() *Coordinate
- func (x *Location) GetDescription() string
- func (x *Location) GetItems() []*Item
- func (x *Location) GetNpcs() []*NPC
- func (x *Location) GetPlayers() []*Player
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type MerchantInventory
- func (*MerchantInventory) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantInventory) GetAnyField() *anypb.Any
- func (x *MerchantInventory) GetItems() []*MerchantItemGroup
- func (x *MerchantInventory) GetMerchantGender() Gender
- func (x *MerchantInventory) GetMerchantId() string
- func (x *MerchantInventory) GetMerchantName() string
- func (x *MerchantInventory) GetMerchantType() MerchantType
- func (x *MerchantInventory) GetOpen() bool
- func (x *MerchantInventory) GetPlayerItems() []*MerchantItem
- func (*MerchantInventory) ProtoMessage()
- func (x *MerchantInventory) ProtoReflect() protoreflect.Message
- func (x *MerchantInventory) Reset()
- func (x *MerchantInventory) String() string
- type MerchantItem
- func (*MerchantItem) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantItem) GetCanbuy() bool
- func (x *MerchantItem) GetCansell() bool
- func (x *MerchantItem) GetCondition() float32
- func (x *MerchantItem) GetDemand() float32
- func (x *MerchantItem) GetDescription() string
- func (x *MerchantItem) GetIndex() int32
- func (x *MerchantItem) GetName() string
- func (x *MerchantItem) GetPrice() uint32
- func (x *MerchantItem) GetQuality() string
- func (x *MerchantItem) GetQuantity() int32
- func (x *MerchantItem) GetRep() int64
- func (*MerchantItem) ProtoMessage()
- func (x *MerchantItem) ProtoReflect() protoreflect.Message
- func (x *MerchantItem) Reset()
- func (x *MerchantItem) String() string
- type MerchantItemGroup
- func (*MerchantItemGroup) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantItemGroup) GetItems() []*MerchantItem
- func (x *MerchantItemGroup) GetType() ItemType
- func (*MerchantItemGroup) ProtoMessage()
- func (x *MerchantItemGroup) ProtoReflect() protoreflect.Message
- func (x *MerchantItemGroup) Reset()
- func (x *MerchantItemGroup) String() string
- type MerchantMessage
- func (*MerchantMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantMessage) GetAnyField() *anypb.Any
- func (x *MerchantMessage) GetMessage() string
- func (x *MerchantMessage) GetStatus() ResponseStatus
- func (*MerchantMessage) ProtoMessage()
- func (x *MerchantMessage) ProtoReflect() protoreflect.Message
- func (x *MerchantMessage) Reset()
- func (x *MerchantMessage) String() string
- type MerchantType
- func (MerchantType) Descriptor() protoreflect.EnumDescriptor
- func (x MerchantType) Enum() *MerchantType
- func (MerchantType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MerchantType) Number() protoreflect.EnumNumber
- func (x MerchantType) String() string
- func (MerchantType) Type() protoreflect.EnumType
- type MoveEventType
- func (MoveEventType) Descriptor() protoreflect.EnumDescriptor
- func (x MoveEventType) Enum() *MoveEventType
- func (MoveEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MoveEventType) Number() protoreflect.EnumNumber
- func (x MoveEventType) String() string
- func (MoveEventType) Type() protoreflect.EnumType
- type NPC
- type NPCMoveEvent
- func (*NPCMoveEvent) Descriptor() ([]byte, []int)deprecated
- func (x *NPCMoveEvent) GetAnyField() *anypb.Any
- func (x *NPCMoveEvent) GetDirection() Direction
- func (x *NPCMoveEvent) GetNpc() *NPC
- func (x *NPCMoveEvent) GetType() MoveEventType
- func (*NPCMoveEvent) ProtoMessage()
- func (x *NPCMoveEvent) ProtoReflect() protoreflect.Message
- func (x *NPCMoveEvent) Reset()
- func (x *NPCMoveEvent) String() string
- type NetworkType
- func (NetworkType) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkType) Enum() *NetworkType
- func (NetworkType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkType) Number() protoreflect.EnumNumber
- func (x NetworkType) String() string
- func (NetworkType) Type() protoreflect.EnumType
- type NewsFlash
- func (*NewsFlash) Descriptor() ([]byte, []int)deprecated
- func (x *NewsFlash) GetAnyField() *anypb.Any
- func (x *NewsFlash) GetMsg() string
- func (x *NewsFlash) GetType() NewsType
- func (*NewsFlash) ProtoMessage()
- func (x *NewsFlash) ProtoReflect() protoreflect.Message
- func (x *NewsFlash) Reset()
- func (x *NewsFlash) String() string
- type NewsType
- type Player
- func (*Player) Descriptor() ([]byte, []int)deprecated
- func (x *Player) GetGangTag() string
- func (x *Player) GetHometown() string
- func (x *Player) GetId() uint64
- func (x *Player) GetName() string
- func (x *Player) GetRank() string
- func (*Player) ProtoMessage()
- func (x *Player) ProtoReflect() protoreflect.Message
- func (x *Player) Reset()
- func (x *Player) String() string
- type PlayerEvent
- func (PlayerEvent) Descriptor() protoreflect.EnumDescriptor
- func (x PlayerEvent) Enum() *PlayerEvent
- func (PlayerEvent) EnumDescriptor() ([]byte, []int)deprecated
- func (x PlayerEvent) Number() protoreflect.EnumNumber
- func (x PlayerEvent) String() string
- func (PlayerEvent) Type() protoreflect.EnumType
- type PlayerList
- func (*PlayerList) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerList) GetAnyField() *anypb.Any
- func (x *PlayerList) GetGangTag() string
- func (x *PlayerList) GetHometown() string
- func (x *PlayerList) GetId() string
- func (x *PlayerList) GetName() string
- func (x *PlayerList) GetType() PlayerEvent
- func (*PlayerList) ProtoMessage()
- func (x *PlayerList) ProtoReflect() protoreflect.Message
- func (x *PlayerList) Reset()
- func (x *PlayerList) String() string
- type PlayerMoveEvent
- func (*PlayerMoveEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerMoveEvent) GetAnyField() *anypb.Any
- func (x *PlayerMoveEvent) GetDirection() Direction
- func (x *PlayerMoveEvent) GetFled() bool
- func (x *PlayerMoveEvent) GetPlayer() *Player
- func (x *PlayerMoveEvent) GetSamecity() bool
- func (x *PlayerMoveEvent) GetType() MoveEventType
- func (*PlayerMoveEvent) ProtoMessage()
- func (x *PlayerMoveEvent) ProtoReflect() protoreflect.Message
- func (x *PlayerMoveEvent) Reset()
- func (x *PlayerMoveEvent) String() string
- type ResponseStatus
- func (ResponseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseStatus) Enum() *ResponseStatus
- func (ResponseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseStatus) Number() protoreflect.EnumNumber
- func (x ResponseStatus) String() string
- func (ResponseStatus) Type() protoreflect.EnumType
- type Skill
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)deprecated
- func (x *Stats) GetAnyField() *anypb.Any
- func (x *Stats) GetBank() int64
- func (x *Stats) GetCash() int64
- func (x *Stats) GetHealth() int32
- func (x *Stats) GetHometown() string
- func (x *Stats) GetMaxHealth() uint32
- func (x *Stats) GetName() string
- func (x *Stats) GetNextRank() int64
- func (x *Stats) GetRank() string
- func (x *Stats) GetReputation() int64
- func (x *Stats) GetSkills() []*Skill
- func (*Stats) ProtoMessage()
- func (x *Stats) ProtoReflect() protoreflect.Message
- func (x *Stats) Reset()
- func (x *Stats) String() string
- type System
- type SystemType
Constants ¶
This section is empty.
Variables ¶
var ( ChatType_name = map[int32]string{ 0: "CHAT_TYPE_GLOBAL", 1: "CHAT_TYPE_LOCAL", 2: "CHAT_TYPE_PRIVATE", } ChatType_value = map[string]int32{ "CHAT_TYPE_GLOBAL": 0, "CHAT_TYPE_LOCAL": 1, "CHAT_TYPE_PRIVATE": 2, } )
Enum value maps for ChatType.
var ( NetworkType_name = map[int32]string{ 0: "NETWORK_TYPE_SYSTEM", 1: "NETWORK_TYPE_CHAT", 2: "NETWORK_TYPE_STATS", } NetworkType_value = map[string]int32{ "NETWORK_TYPE_SYSTEM": 0, "NETWORK_TYPE_CHAT": 1, "NETWORK_TYPE_STATS": 2, } )
Enum value maps for NetworkType.
var ( ResponseStatus_name = map[int32]string{ 0: "RESPONSE_STATUS_NORMAL", 1: "RESPONSE_STATUS_ERROR", 2: "RESPONSE_STATUS_SUCCESS", 3: "RESPONSE_STATUS_INFO", 4: "RESPONSE_STATUS_WARN", } ResponseStatus_value = map[string]int32{ "RESPONSE_STATUS_NORMAL": 0, "RESPONSE_STATUS_ERROR": 1, "RESPONSE_STATUS_SUCCESS": 2, "RESPONSE_STATUS_INFO": 3, "RESPONSE_STATUS_WARN": 4, } )
Enum value maps for ResponseStatus.
var ( ItemType_name = map[int32]string{ 0: "ITEM_TYPE_TRASH", 1: "ITEM_TYPE_GUN", 2: "ITEM_TYPE_MELEE", 3: "ITEM_TYPE_ARMOR", 4: "ITEM_TYPE_AMMO", 5: "ITEM_TYPE_SMART_PHONE", 6: "ITEM_TYPE_DRUG", 7: "ITEM_TYPE_LABEL", 8: "ITEM_TYPE_MYSTERY", } ItemType_value = map[string]int32{ "ITEM_TYPE_TRASH": 0, "ITEM_TYPE_GUN": 1, "ITEM_TYPE_MELEE": 2, "ITEM_TYPE_ARMOR": 3, "ITEM_TYPE_AMMO": 4, "ITEM_TYPE_SMART_PHONE": 5, "ITEM_TYPE_DRUG": 6, "ITEM_TYPE_LABEL": 7, "ITEM_TYPE_MYSTERY": 8, } )
Enum value maps for ItemType.
var ( Gender_name = map[int32]string{ 0: "RANDOM", 1: "MALE", 2: "FEMALE", } Gender_value = map[string]int32{ "RANDOM": 0, "MALE": 1, "FEMALE": 2, } )
Enum value maps for Gender.
var ( Direction_name = map[int32]string{ 0: "DIRECTION_NORTH", 1: "DIRECTION_SOUTH", 2: "DIRECTION_EAST", 3: "DIRECTION_WEST", 4: "DIRECTION_UNKNOWN", } Direction_value = map[string]int32{ "DIRECTION_NORTH": 0, "DIRECTION_SOUTH": 1, "DIRECTION_EAST": 2, "DIRECTION_WEST": 3, "DIRECTION_UNKNOWN": 4, } )
Enum value maps for Direction.
var ( MoveEventType_name = map[int32]string{ 0: "MOVE_EVENT_ARRIVE", 1: "MOVE_EVENT_LEAVE", } MoveEventType_value = map[string]int32{ "MOVE_EVENT_ARRIVE": 0, "MOVE_EVENT_LEAVE": 1, } )
Enum value maps for MoveEventType.
var ( MerchantType_name = map[int32]string{ 0: "MERCHANT_PAWN_SHOP", 1: "MERCHANT_DRUG_DEALER", 2: "MERCHANT_DRUGGIE", 3: "MERCHANT_ARMS_DEALER", } MerchantType_value = map[string]int32{ "MERCHANT_PAWN_SHOP": 0, "MERCHANT_DRUG_DEALER": 1, "MERCHANT_DRUGGIE": 2, "MERCHANT_ARMS_DEALER": 3, } )
Enum value maps for MerchantType.
var ( NewsType_name = map[int32]string{ 0: "CHAT_TYPE_GENERIC", 1: "CHAT_TYPE_RESTOCK", } NewsType_value = map[string]int32{ "CHAT_TYPE_GENERIC": 0, "CHAT_TYPE_RESTOCK": 1, } )
Enum value maps for NewsType.
var ( PlayerEvent_name = map[int32]string{ 0: "EVENT_TYPE_PLAYER_LEAVE", 1: "EVENT_TYPE_PLAYER_JOIN", } PlayerEvent_value = map[string]int32{ "EVENT_TYPE_PLAYER_LEAVE": 0, "EVENT_TYPE_PLAYER_JOIN": 1, } )
Enum value maps for PlayerEvent.
var ( SystemType_name = map[int32]string{ 0: "GAME_READY", } SystemType_value = map[string]int32{ "GAME_READY": 0, } )
Enum value maps for SystemType.
var File_chat_proto protoreflect.FileDescriptor
var File_common_proto protoreflect.FileDescriptor
var File_generic_proto protoreflect.FileDescriptor
var File_gps_proto protoreflect.FileDescriptor
var File_inventory_proto protoreflect.FileDescriptor
var File_location_proto protoreflect.FileDescriptor
var File_merchant_proto protoreflect.FileDescriptor
var File_news_proto protoreflect.FileDescriptor
var File_playerlist_proto protoreflect.FileDescriptor
var File_stats_proto protoreflect.FileDescriptor
var File_system_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Building ¶
type Building struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Commands []string `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"` // contains filtered or unexported fields }
func (*Building) Descriptor
deprecated
func (*Building) GetCommands ¶
func (*Building) GetDescription ¶
func (*Building) ProtoMessage ¶
func (*Building) ProtoMessage()
func (*Building) ProtoReflect ¶
func (x *Building) ProtoReflect() protoreflect.Message
type Chat ¶
type Chat struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Type ChatType `protobuf:"varint,2,opt,name=type,proto3,enum=responses.ChatType" json:"type,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` Player *Player `protobuf:"bytes,4,opt,name=player,proto3" json:"player,omitempty"` // contains filtered or unexported fields }
func (*Chat) Descriptor
deprecated
func (*Chat) GetAnyField ¶
func (*Chat) ProtoMessage ¶
func (*Chat) ProtoMessage()
func (*Chat) ProtoReflect ¶
func (x *Chat) ProtoReflect() protoreflect.Message
type ChatType ¶
type ChatType int32
func (ChatType) Descriptor ¶
func (ChatType) Descriptor() protoreflect.EnumDescriptor
func (ChatType) EnumDescriptor
deprecated
func (ChatType) Number ¶
func (x ChatType) Number() protoreflect.EnumNumber
func (ChatType) Type ¶
func (ChatType) Type() protoreflect.EnumType
type Coordinate ¶
type Coordinate struct { North int32 `protobuf:"varint,1,opt,name=north,proto3" json:"north,omitempty"` East int32 `protobuf:"varint,2,opt,name=east,proto3" json:"east,omitempty"` City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"` Poi string `protobuf:"bytes,4,opt,name=poi,proto3" json:"poi,omitempty"` Poitype int32 `protobuf:"varint,5,opt,name=poitype,proto3" json:"poitype,omitempty"` // contains filtered or unexported fields }
func (*Coordinate) Descriptor
deprecated
func (*Coordinate) Descriptor() ([]byte, []int)
Deprecated: Use Coordinate.ProtoReflect.Descriptor instead.
func (*Coordinate) GetCity ¶
func (x *Coordinate) GetCity() string
func (*Coordinate) GetEast ¶
func (x *Coordinate) GetEast() int32
func (*Coordinate) GetNorth ¶
func (x *Coordinate) GetNorth() int32
func (*Coordinate) GetPoi ¶
func (x *Coordinate) GetPoi() string
func (*Coordinate) GetPoitype ¶
func (x *Coordinate) GetPoitype() int32
func (*Coordinate) ProtoMessage ¶
func (*Coordinate) ProtoMessage()
func (*Coordinate) ProtoReflect ¶
func (x *Coordinate) ProtoReflect() protoreflect.Message
func (*Coordinate) Reset ¶
func (x *Coordinate) Reset()
func (*Coordinate) String ¶
func (x *Coordinate) String() string
type Direction ¶
type Direction int32
func (Direction) Descriptor ¶
func (Direction) Descriptor() protoreflect.EnumDescriptor
func (Direction) EnumDescriptor
deprecated
func (Direction) Number ¶
func (x Direction) Number() protoreflect.EnumNumber
func (Direction) Type ¶
func (Direction) Type() protoreflect.EnumType
type GPS ¶
type GPS struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` Location *Coordinate `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Pois []*Coordinate `protobuf:"bytes,4,rep,name=pois,proto3" json:"pois,omitempty"` Width int32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GPS) Descriptor
deprecated
func (*GPS) GetAnyField ¶
func (*GPS) GetEnabled ¶
func (*GPS) GetLocation ¶
func (x *GPS) GetLocation() *Coordinate
func (*GPS) GetPois ¶
func (x *GPS) GetPois() []*Coordinate
func (*GPS) ProtoMessage ¶
func (*GPS) ProtoMessage()
func (*GPS) ProtoReflect ¶
func (x *GPS) ProtoReflect() protoreflect.Message
type Gender ¶
type Gender int32
func (Gender) Descriptor ¶
func (Gender) Descriptor() protoreflect.EnumDescriptor
func (Gender) EnumDescriptor
deprecated
func (Gender) Number ¶
func (x Gender) Number() protoreflect.EnumNumber
func (Gender) Type ¶
func (Gender) Type() protoreflect.EnumType
type Generic ¶
type Generic struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Status ResponseStatus `protobuf:"varint,2,opt,name=status,proto3,enum=responses.ResponseStatus" json:"status,omitempty"` Alignment uint32 `protobuf:"varint,3,opt,name=alignment,proto3" json:"alignment,omitempty"` Messages []string `protobuf:"bytes,4,rep,name=messages,proto3" json:"messages,omitempty"` Command string `protobuf:"bytes,5,opt,name=command,proto3" json:"command,omitempty"` Ascii bool `protobuf:"varint,6,opt,name=ascii,proto3" json:"ascii,omitempty"` // contains filtered or unexported fields }
func (*Generic) Descriptor
deprecated
func (*Generic) GetAlignment ¶
func (*Generic) GetAnyField ¶
func (*Generic) GetCommand ¶
func (*Generic) GetMessages ¶
func (*Generic) GetStatus ¶
func (x *Generic) GetStatus() ResponseStatus
func (*Generic) ProtoMessage ¶
func (*Generic) ProtoMessage()
func (*Generic) ProtoReflect ¶
func (x *Generic) ProtoReflect() protoreflect.Message
type Inventory ¶
type Inventory struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Items []*Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*Inventory) Descriptor
deprecated
func (*Inventory) GetAnyField ¶
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) ProtoReflect ¶
func (x *Inventory) ProtoReflect() protoreflect.Message
type Item ¶
type Item struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Condition float32 `protobuf:"fixed32,4,opt,name=condition,proto3" json:"condition,omitempty"` Type ItemType `protobuf:"varint,5,opt,name=type,proto3,enum=responses.ItemType" json:"type,omitempty"` Amount int32 `protobuf:"varint,6,opt,name=amount,proto3" json:"amount,omitempty"` Price uint32 `protobuf:"varint,7,opt,name=price,proto3" json:"price,omitempty"` Damage uint32 `protobuf:"varint,8,opt,name=damage,proto3" json:"damage,omitempty"` ArmorGuns uint32 `protobuf:"varint,9,opt,name=armor_guns,json=armorGuns,proto3" json:"armor_guns,omitempty"` ArmorMelee uint32 `protobuf:"varint,10,opt,name=armor_melee,json=armorMelee,proto3" json:"armor_melee,omitempty"` Equipped bool `protobuf:"varint,11,opt,name=equipped,proto3" json:"equipped,omitempty"` IsGear bool `protobuf:"varint,12,opt,name=is_gear,json=isGear,proto3" json:"is_gear,omitempty"` HasUseEffect bool `protobuf:"varint,13,opt,name=has_use_effect,json=hasUseEffect,proto3" json:"has_use_effect,omitempty"` // contains filtered or unexported fields }
func (*Item) Descriptor
deprecated
func (*Item) GetArmorGuns ¶
func (*Item) GetArmorMelee ¶
func (*Item) GetCondition ¶
func (*Item) GetDescription ¶
func (*Item) GetEquipped ¶
func (*Item) GetHasUseEffect ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type ItemType ¶
type ItemType int32
const ( ItemType_ITEM_TYPE_TRASH ItemType = 0 ItemType_ITEM_TYPE_GUN ItemType = 1 ItemType_ITEM_TYPE_MELEE ItemType = 2 ItemType_ITEM_TYPE_ARMOR ItemType = 3 ItemType_ITEM_TYPE_AMMO ItemType = 4 ItemType_ITEM_TYPE_SMART_PHONE ItemType = 5 ItemType_ITEM_TYPE_DRUG ItemType = 6 ItemType_ITEM_TYPE_LABEL ItemType = 7 ItemType_ITEM_TYPE_MYSTERY ItemType = 8 )
func (ItemType) Descriptor ¶
func (ItemType) Descriptor() protoreflect.EnumDescriptor
func (ItemType) EnumDescriptor
deprecated
func (ItemType) Number ¶
func (x ItemType) Number() protoreflect.EnumNumber
func (ItemType) Type ¶
func (ItemType) Type() protoreflect.EnumType
type Location ¶
type Location struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` CityName string `protobuf:"bytes,2,opt,name=city_name,json=cityName,proto3" json:"city_name,omitempty"` Clear bool `protobuf:"varint,3,opt,name=clear,proto3" json:"clear,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Coordinates *Coordinate `protobuf:"bytes,5,opt,name=coordinates,proto3" json:"coordinates,omitempty"` Buildings []*Building `protobuf:"bytes,6,rep,name=buildings,proto3" json:"buildings,omitempty"` Players []*Player `protobuf:"bytes,7,rep,name=players,proto3" json:"players,omitempty"` Npcs []*NPC `protobuf:"bytes,8,rep,name=npcs,proto3" json:"npcs,omitempty"` Items []*Item `protobuf:"bytes,9,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*Location) Descriptor
deprecated
func (*Location) GetAnyField ¶
func (*Location) GetBuildings ¶
func (*Location) GetCityName ¶
func (*Location) GetCoordinates ¶
func (x *Location) GetCoordinates() *Coordinate
func (*Location) GetDescription ¶
func (*Location) GetPlayers ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type MerchantInventory ¶
type MerchantInventory struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` MerchantId string `protobuf:"bytes,2,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"` MerchantName string `protobuf:"bytes,3,opt,name=merchant_name,json=merchantName,proto3" json:"merchant_name,omitempty"` MerchantGender Gender `` /* 126-byte string literal not displayed */ MerchantType MerchantType `` /* 126-byte string literal not displayed */ Open bool `protobuf:"varint,6,opt,name=open,proto3" json:"open,omitempty"` Items []*MerchantItemGroup `protobuf:"bytes,7,rep,name=items,proto3" json:"items,omitempty"` PlayerItems []*MerchantItem `protobuf:"bytes,8,rep,name=player_items,json=playerItems,proto3" json:"player_items,omitempty"` // contains filtered or unexported fields }
func (*MerchantInventory) Descriptor
deprecated
func (*MerchantInventory) Descriptor() ([]byte, []int)
Deprecated: Use MerchantInventory.ProtoReflect.Descriptor instead.
func (*MerchantInventory) GetAnyField ¶
func (x *MerchantInventory) GetAnyField() *anypb.Any
func (*MerchantInventory) GetItems ¶
func (x *MerchantInventory) GetItems() []*MerchantItemGroup
func (*MerchantInventory) GetMerchantGender ¶
func (x *MerchantInventory) GetMerchantGender() Gender
func (*MerchantInventory) GetMerchantId ¶
func (x *MerchantInventory) GetMerchantId() string
func (*MerchantInventory) GetMerchantName ¶
func (x *MerchantInventory) GetMerchantName() string
func (*MerchantInventory) GetMerchantType ¶
func (x *MerchantInventory) GetMerchantType() MerchantType
func (*MerchantInventory) GetOpen ¶
func (x *MerchantInventory) GetOpen() bool
func (*MerchantInventory) GetPlayerItems ¶
func (x *MerchantInventory) GetPlayerItems() []*MerchantItem
func (*MerchantInventory) ProtoMessage ¶
func (*MerchantInventory) ProtoMessage()
func (*MerchantInventory) ProtoReflect ¶
func (x *MerchantInventory) ProtoReflect() protoreflect.Message
func (*MerchantInventory) Reset ¶
func (x *MerchantInventory) Reset()
func (*MerchantInventory) String ¶
func (x *MerchantInventory) String() string
type MerchantItem ¶
type MerchantItem struct { Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Condition float32 `protobuf:"fixed32,4,opt,name=condition,proto3" json:"condition,omitempty"` Price uint32 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"` Quality string `protobuf:"bytes,6,opt,name=quality,proto3" json:"quality,omitempty"` Canbuy bool `protobuf:"varint,7,opt,name=canbuy,proto3" json:"canbuy,omitempty"` Rep int64 `protobuf:"varint,8,opt,name=rep,proto3" json:"rep,omitempty"` Cansell bool `protobuf:"varint,9,opt,name=cansell,proto3" json:"cansell,omitempty"` Quantity int32 `protobuf:"varint,10,opt,name=quantity,proto3" json:"quantity,omitempty"` Demand float32 `protobuf:"fixed32,11,opt,name=demand,proto3" json:"demand,omitempty"` // contains filtered or unexported fields }
func (*MerchantItem) Descriptor
deprecated
func (*MerchantItem) Descriptor() ([]byte, []int)
Deprecated: Use MerchantItem.ProtoReflect.Descriptor instead.
func (*MerchantItem) GetCanbuy ¶
func (x *MerchantItem) GetCanbuy() bool
func (*MerchantItem) GetCansell ¶
func (x *MerchantItem) GetCansell() bool
func (*MerchantItem) GetCondition ¶
func (x *MerchantItem) GetCondition() float32
func (*MerchantItem) GetDemand ¶
func (x *MerchantItem) GetDemand() float32
func (*MerchantItem) GetDescription ¶
func (x *MerchantItem) GetDescription() string
func (*MerchantItem) GetIndex ¶
func (x *MerchantItem) GetIndex() int32
func (*MerchantItem) GetName ¶
func (x *MerchantItem) GetName() string
func (*MerchantItem) GetPrice ¶
func (x *MerchantItem) GetPrice() uint32
func (*MerchantItem) GetQuality ¶
func (x *MerchantItem) GetQuality() string
func (*MerchantItem) GetQuantity ¶
func (x *MerchantItem) GetQuantity() int32
func (*MerchantItem) GetRep ¶
func (x *MerchantItem) GetRep() int64
func (*MerchantItem) ProtoMessage ¶
func (*MerchantItem) ProtoMessage()
func (*MerchantItem) ProtoReflect ¶
func (x *MerchantItem) ProtoReflect() protoreflect.Message
func (*MerchantItem) Reset ¶
func (x *MerchantItem) Reset()
func (*MerchantItem) String ¶
func (x *MerchantItem) String() string
type MerchantItemGroup ¶
type MerchantItemGroup struct { Type ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType" json:"type,omitempty"` Items []*MerchantItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*MerchantItemGroup) Descriptor
deprecated
func (*MerchantItemGroup) Descriptor() ([]byte, []int)
Deprecated: Use MerchantItemGroup.ProtoReflect.Descriptor instead.
func (*MerchantItemGroup) GetItems ¶
func (x *MerchantItemGroup) GetItems() []*MerchantItem
func (*MerchantItemGroup) GetType ¶
func (x *MerchantItemGroup) GetType() ItemType
func (*MerchantItemGroup) ProtoMessage ¶
func (*MerchantItemGroup) ProtoMessage()
func (*MerchantItemGroup) ProtoReflect ¶
func (x *MerchantItemGroup) ProtoReflect() protoreflect.Message
func (*MerchantItemGroup) Reset ¶
func (x *MerchantItemGroup) Reset()
func (*MerchantItemGroup) String ¶
func (x *MerchantItemGroup) String() string
type MerchantMessage ¶
type MerchantMessage struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Status ResponseStatus `protobuf:"varint,2,opt,name=status,proto3,enum=responses.ResponseStatus" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*MerchantMessage) Descriptor
deprecated
func (*MerchantMessage) Descriptor() ([]byte, []int)
Deprecated: Use MerchantMessage.ProtoReflect.Descriptor instead.
func (*MerchantMessage) GetAnyField ¶
func (x *MerchantMessage) GetAnyField() *anypb.Any
func (*MerchantMessage) GetMessage ¶
func (x *MerchantMessage) GetMessage() string
func (*MerchantMessage) GetStatus ¶
func (x *MerchantMessage) GetStatus() ResponseStatus
func (*MerchantMessage) ProtoMessage ¶
func (*MerchantMessage) ProtoMessage()
func (*MerchantMessage) ProtoReflect ¶
func (x *MerchantMessage) ProtoReflect() protoreflect.Message
func (*MerchantMessage) Reset ¶
func (x *MerchantMessage) Reset()
func (*MerchantMessage) String ¶
func (x *MerchantMessage) String() string
type MerchantType ¶
type MerchantType int32
const ( MerchantType_MERCHANT_PAWN_SHOP MerchantType = 0 MerchantType_MERCHANT_DRUG_DEALER MerchantType = 1 MerchantType_MERCHANT_DRUGGIE MerchantType = 2 MerchantType_MERCHANT_ARMS_DEALER MerchantType = 3 )
func (MerchantType) Descriptor ¶
func (MerchantType) Descriptor() protoreflect.EnumDescriptor
func (MerchantType) Enum ¶
func (x MerchantType) Enum() *MerchantType
func (MerchantType) EnumDescriptor
deprecated
func (MerchantType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MerchantType.Descriptor instead.
func (MerchantType) Number ¶
func (x MerchantType) Number() protoreflect.EnumNumber
func (MerchantType) String ¶
func (x MerchantType) String() string
func (MerchantType) Type ¶
func (MerchantType) Type() protoreflect.EnumType
type MoveEventType ¶
type MoveEventType int32
const ( MoveEventType_MOVE_EVENT_ARRIVE MoveEventType = 0 MoveEventType_MOVE_EVENT_LEAVE MoveEventType = 1 )
func (MoveEventType) Descriptor ¶
func (MoveEventType) Descriptor() protoreflect.EnumDescriptor
func (MoveEventType) Enum ¶
func (x MoveEventType) Enum() *MoveEventType
func (MoveEventType) EnumDescriptor
deprecated
func (MoveEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MoveEventType.Descriptor instead.
func (MoveEventType) Number ¶
func (x MoveEventType) Number() protoreflect.EnumNumber
func (MoveEventType) String ¶
func (x MoveEventType) String() string
func (MoveEventType) Type ¶
func (MoveEventType) Type() protoreflect.EnumType
type NPC ¶
type NPC struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Rank string `protobuf:"bytes,2,opt,name=rank,proto3" json:"rank,omitempty"` Health int32 `protobuf:"varint,3,opt,name=health,proto3" json:"health,omitempty"` // contains filtered or unexported fields }
func (*NPC) Descriptor
deprecated
func (*NPC) ProtoMessage ¶
func (*NPC) ProtoMessage()
func (*NPC) ProtoReflect ¶
func (x *NPC) ProtoReflect() protoreflect.Message
type NPCMoveEvent ¶
type NPCMoveEvent struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Type MoveEventType `protobuf:"varint,2,opt,name=type,proto3,enum=responses.MoveEventType" json:"type,omitempty"` Npc *NPC `protobuf:"bytes,3,opt,name=npc,proto3" json:"npc,omitempty"` Direction Direction `protobuf:"varint,4,opt,name=direction,proto3,enum=responses.Direction" json:"direction,omitempty"` // contains filtered or unexported fields }
func (*NPCMoveEvent) Descriptor
deprecated
func (*NPCMoveEvent) Descriptor() ([]byte, []int)
Deprecated: Use NPCMoveEvent.ProtoReflect.Descriptor instead.
func (*NPCMoveEvent) GetAnyField ¶
func (x *NPCMoveEvent) GetAnyField() *anypb.Any
func (*NPCMoveEvent) GetDirection ¶
func (x *NPCMoveEvent) GetDirection() Direction
func (*NPCMoveEvent) GetNpc ¶
func (x *NPCMoveEvent) GetNpc() *NPC
func (*NPCMoveEvent) GetType ¶
func (x *NPCMoveEvent) GetType() MoveEventType
func (*NPCMoveEvent) ProtoMessage ¶
func (*NPCMoveEvent) ProtoMessage()
func (*NPCMoveEvent) ProtoReflect ¶
func (x *NPCMoveEvent) ProtoReflect() protoreflect.Message
func (*NPCMoveEvent) Reset ¶
func (x *NPCMoveEvent) Reset()
func (*NPCMoveEvent) String ¶
func (x *NPCMoveEvent) String() string
type NetworkType ¶
type NetworkType int32
const ( NetworkType_NETWORK_TYPE_SYSTEM NetworkType = 0 NetworkType_NETWORK_TYPE_CHAT NetworkType = 1 NetworkType_NETWORK_TYPE_STATS NetworkType = 2 )
func (NetworkType) Descriptor ¶
func (NetworkType) Descriptor() protoreflect.EnumDescriptor
func (NetworkType) Enum ¶
func (x NetworkType) Enum() *NetworkType
func (NetworkType) EnumDescriptor
deprecated
func (NetworkType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkType.Descriptor instead.
func (NetworkType) Number ¶
func (x NetworkType) Number() protoreflect.EnumNumber
func (NetworkType) String ¶
func (x NetworkType) String() string
func (NetworkType) Type ¶
func (NetworkType) Type() protoreflect.EnumType
type NewsFlash ¶
type NewsFlash struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Type NewsType `protobuf:"varint,2,opt,name=type,proto3,enum=responses.NewsType" json:"type,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*NewsFlash) Descriptor
deprecated
func (*NewsFlash) GetAnyField ¶
func (*NewsFlash) ProtoMessage ¶
func (*NewsFlash) ProtoMessage()
func (*NewsFlash) ProtoReflect ¶
func (x *NewsFlash) ProtoReflect() protoreflect.Message
type NewsType ¶
type NewsType int32
func (NewsType) Descriptor ¶
func (NewsType) Descriptor() protoreflect.EnumDescriptor
func (NewsType) EnumDescriptor
deprecated
func (NewsType) Number ¶
func (x NewsType) Number() protoreflect.EnumNumber
func (NewsType) Type ¶
func (NewsType) Type() protoreflect.EnumType
type Player ¶
type Player struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` GangTag string `protobuf:"bytes,3,opt,name=gang_tag,json=gangTag,proto3" json:"gang_tag,omitempty"` Rank string `protobuf:"bytes,4,opt,name=rank,proto3" json:"rank,omitempty"` Hometown string `protobuf:"bytes,5,opt,name=hometown,proto3" json:"hometown,omitempty"` // contains filtered or unexported fields }
func (*Player) Descriptor
deprecated
func (*Player) GetGangTag ¶
func (*Player) GetHometown ¶
func (*Player) ProtoMessage ¶
func (*Player) ProtoMessage()
func (*Player) ProtoReflect ¶
func (x *Player) ProtoReflect() protoreflect.Message
type PlayerEvent ¶
type PlayerEvent int32
const ( PlayerEvent_EVENT_TYPE_PLAYER_LEAVE PlayerEvent = 0 PlayerEvent_EVENT_TYPE_PLAYER_JOIN PlayerEvent = 1 )
func (PlayerEvent) Descriptor ¶
func (PlayerEvent) Descriptor() protoreflect.EnumDescriptor
func (PlayerEvent) Enum ¶
func (x PlayerEvent) Enum() *PlayerEvent
func (PlayerEvent) EnumDescriptor
deprecated
func (PlayerEvent) EnumDescriptor() ([]byte, []int)
Deprecated: Use PlayerEvent.Descriptor instead.
func (PlayerEvent) Number ¶
func (x PlayerEvent) Number() protoreflect.EnumNumber
func (PlayerEvent) String ¶
func (x PlayerEvent) String() string
func (PlayerEvent) Type ¶
func (PlayerEvent) Type() protoreflect.EnumType
type PlayerList ¶
type PlayerList struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Type PlayerEvent `protobuf:"varint,2,opt,name=type,proto3,enum=responses.PlayerEvent" json:"type,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Hometown string `protobuf:"bytes,5,opt,name=hometown,proto3" json:"hometown,omitempty"` GangTag string `protobuf:"bytes,6,opt,name=gang_tag,json=gangTag,proto3" json:"gang_tag,omitempty"` // contains filtered or unexported fields }
func (*PlayerList) Descriptor
deprecated
func (*PlayerList) Descriptor() ([]byte, []int)
Deprecated: Use PlayerList.ProtoReflect.Descriptor instead.
func (*PlayerList) GetAnyField ¶
func (x *PlayerList) GetAnyField() *anypb.Any
func (*PlayerList) GetGangTag ¶
func (x *PlayerList) GetGangTag() string
func (*PlayerList) GetHometown ¶
func (x *PlayerList) GetHometown() string
func (*PlayerList) GetId ¶
func (x *PlayerList) GetId() string
func (*PlayerList) GetName ¶
func (x *PlayerList) GetName() string
func (*PlayerList) GetType ¶
func (x *PlayerList) GetType() PlayerEvent
func (*PlayerList) ProtoMessage ¶
func (*PlayerList) ProtoMessage()
func (*PlayerList) ProtoReflect ¶
func (x *PlayerList) ProtoReflect() protoreflect.Message
func (*PlayerList) Reset ¶
func (x *PlayerList) Reset()
func (*PlayerList) String ¶
func (x *PlayerList) String() string
type PlayerMoveEvent ¶
type PlayerMoveEvent struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Type MoveEventType `protobuf:"varint,2,opt,name=type,proto3,enum=responses.MoveEventType" json:"type,omitempty"` Player *Player `protobuf:"bytes,3,opt,name=player,proto3" json:"player,omitempty"` Direction Direction `protobuf:"varint,4,opt,name=direction,proto3,enum=responses.Direction" json:"direction,omitempty"` Samecity bool `protobuf:"varint,5,opt,name=samecity,proto3" json:"samecity,omitempty"` Fled bool `protobuf:"varint,6,opt,name=fled,proto3" json:"fled,omitempty"` // contains filtered or unexported fields }
func (*PlayerMoveEvent) Descriptor
deprecated
func (*PlayerMoveEvent) Descriptor() ([]byte, []int)
Deprecated: Use PlayerMoveEvent.ProtoReflect.Descriptor instead.
func (*PlayerMoveEvent) GetAnyField ¶
func (x *PlayerMoveEvent) GetAnyField() *anypb.Any
func (*PlayerMoveEvent) GetDirection ¶
func (x *PlayerMoveEvent) GetDirection() Direction
func (*PlayerMoveEvent) GetFled ¶
func (x *PlayerMoveEvent) GetFled() bool
func (*PlayerMoveEvent) GetPlayer ¶
func (x *PlayerMoveEvent) GetPlayer() *Player
func (*PlayerMoveEvent) GetSamecity ¶
func (x *PlayerMoveEvent) GetSamecity() bool
func (*PlayerMoveEvent) GetType ¶
func (x *PlayerMoveEvent) GetType() MoveEventType
func (*PlayerMoveEvent) ProtoMessage ¶
func (*PlayerMoveEvent) ProtoMessage()
func (*PlayerMoveEvent) ProtoReflect ¶
func (x *PlayerMoveEvent) ProtoReflect() protoreflect.Message
func (*PlayerMoveEvent) Reset ¶
func (x *PlayerMoveEvent) Reset()
func (*PlayerMoveEvent) String ¶
func (x *PlayerMoveEvent) String() string
type ResponseStatus ¶
type ResponseStatus int32
const ( ResponseStatus_RESPONSE_STATUS_NORMAL ResponseStatus = 0 ResponseStatus_RESPONSE_STATUS_ERROR ResponseStatus = 1 ResponseStatus_RESPONSE_STATUS_SUCCESS ResponseStatus = 2 ResponseStatus_RESPONSE_STATUS_INFO ResponseStatus = 3 ResponseStatus_RESPONSE_STATUS_WARN ResponseStatus = 4 )
func (ResponseStatus) Descriptor ¶
func (ResponseStatus) Descriptor() protoreflect.EnumDescriptor
func (ResponseStatus) Enum ¶
func (x ResponseStatus) Enum() *ResponseStatus
func (ResponseStatus) EnumDescriptor
deprecated
func (ResponseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseStatus.Descriptor instead.
func (ResponseStatus) Number ¶
func (x ResponseStatus) Number() protoreflect.EnumNumber
func (ResponseStatus) String ¶
func (x ResponseStatus) String() string
func (ResponseStatus) Type ¶
func (ResponseStatus) Type() protoreflect.EnumType
type Skill ¶
type Skill struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Skill) Descriptor
deprecated
func (*Skill) ProtoMessage ¶
func (*Skill) ProtoMessage()
func (*Skill) ProtoReflect ¶
func (x *Skill) ProtoReflect() protoreflect.Message
type Stats ¶
type Stats struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Rank string `protobuf:"bytes,3,opt,name=rank,proto3" json:"rank,omitempty"` Reputation int64 `protobuf:"varint,4,opt,name=reputation,proto3" json:"reputation,omitempty"` NextRank int64 `protobuf:"varint,5,opt,name=next_rank,json=nextRank,proto3" json:"next_rank,omitempty"` Cash int64 `protobuf:"varint,6,opt,name=cash,proto3" json:"cash,omitempty"` Bank int64 `protobuf:"varint,7,opt,name=bank,proto3" json:"bank,omitempty"` Hometown string `protobuf:"bytes,8,opt,name=hometown,proto3" json:"hometown,omitempty"` Health int32 `protobuf:"varint,9,opt,name=health,proto3" json:"health,omitempty"` MaxHealth uint32 `protobuf:"varint,10,opt,name=max_health,json=maxHealth,proto3" json:"max_health,omitempty"` Skills []*Skill `protobuf:"bytes,11,rep,name=skills,proto3" json:"skills,omitempty"` // contains filtered or unexported fields }
func (*Stats) Descriptor
deprecated
func (*Stats) GetAnyField ¶
func (*Stats) GetHometown ¶
func (*Stats) GetMaxHealth ¶
func (*Stats) GetNextRank ¶
func (*Stats) GetReputation ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶
func (x *Stats) ProtoReflect() protoreflect.Message
type System ¶
type System struct { AnyField *anypb.Any `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"` Type SystemType `protobuf:"varint,2,opt,name=type,proto3,enum=responses.SystemType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*System) Descriptor
deprecated
func (*System) GetAnyField ¶
func (*System) GetType ¶
func (x *System) GetType() SystemType
func (*System) ProtoMessage ¶
func (*System) ProtoMessage()
func (*System) ProtoReflect ¶
func (x *System) ProtoReflect() protoreflect.Message
type SystemType ¶
type SystemType int32
const (
SystemType_GAME_READY SystemType = 0
)
func (SystemType) Descriptor ¶
func (SystemType) Descriptor() protoreflect.EnumDescriptor
func (SystemType) Enum ¶
func (x SystemType) Enum() *SystemType
func (SystemType) EnumDescriptor
deprecated
func (SystemType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SystemType.Descriptor instead.
func (SystemType) Number ¶
func (x SystemType) Number() protoreflect.EnumNumber
func (SystemType) String ¶
func (x SystemType) String() string
func (SystemType) Type ¶
func (SystemType) Type() protoreflect.EnumType