Documentation ¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterXegonyHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterXegonyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client XegonyClient) error
- func RegisterXegonyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterXegonyServer(s *grpc.Server, srv XegonyServer)
- type Class
- func (*Class) Descriptor() ([]byte, []int)
- func (m *Class) GetBit() int64
- func (m *Class) GetIcon() string
- func (m *Class) GetId() int64
- func (m *Class) GetName() string
- func (m *Class) GetShortName() string
- func (*Class) ProtoMessage()
- func (m *Class) Reset()
- func (m *Class) String() string
- func (m *Class) XXX_DiscardUnknown()
- func (m *Class) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Class) XXX_Merge(src proto.Message)
- func (m *Class) XXX_Size() int
- func (m *Class) XXX_Unmarshal(b []byte) error
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)
- func (m *Endpoint) GetHost() string
- func (m *Endpoint) GetName() string
- func (m *Endpoint) GetPassword() string
- func (m *Endpoint) GetPort() int64
- func (*Endpoint) ProtoMessage()
- func (m *Endpoint) Reset()
- func (m *Endpoint) String() string
- func (m *Endpoint) XXX_DiscardUnknown()
- func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Endpoint) XXX_Merge(src proto.Message)
- func (m *Endpoint) XXX_Size() int
- func (m *Endpoint) XXX_Unmarshal(b []byte) error
- type Npc
- func (*Npc) Descriptor() ([]byte, []int)
- func (m *Npc) GetAccuracy() int64
- func (m *Npc) GetAdventureTemplateID() int64
- func (m *Npc) GetAggroRadius() int64
- func (m *Npc) GetAgility() int64
- func (m *Npc) GetAltCurrencyID() int64
- func (m *Npc) GetAmmoIDFile() string
- func (m *Npc) GetArmTexture() int64
- func (m *Npc) GetArmorClass() int64
- func (m *Npc) GetArmorTintBlue() int64
- func (m *Npc) GetArmorTintGreen() int64
- func (m *Npc) GetArmorTintID() int64
- func (m *Npc) GetArmorTintRed() int64
- func (m *Npc) GetAssistRadius() int64
- func (m *Npc) GetAttack() int64
- func (m *Npc) GetAttackCount() int64
- func (m *Npc) GetAttackDelay() int64
- func (m *Npc) GetAttackSpeed() float32
- func (m *Npc) GetAvoidance() int64
- func (m *Npc) GetBodyTypeID() int64
- func (m *Npc) GetBracerTexture() int64
- func (m *Npc) GetCharisma() int64
- func (m *Npc) GetClass() *Class
- func (m *Npc) GetClassID() int64
- func (m *Npc) GetCleanName() string
- func (m *Npc) GetColdResistance() int64
- func (m *Npc) GetCorruptionResistance() int64
- func (m *Npc) GetDMeleeTexture1() int64
- func (m *Npc) GetDMeleeTexture2() int64
- func (m *Npc) GetDexterity() int64
- func (m *Npc) GetDiseaseResistance() int64
- func (m *Npc) GetDrakkinDetails() int64
- func (m *Npc) GetDrakkinHeritage() int64
- func (m *Npc) GetDrakkinTattoo() int64
- func (m *Npc) GetEmoteID() int64
- func (m *Npc) GetExclude() int64
- func (m *Npc) GetFace() int64
- func (m *Npc) GetFeetTexture() int64
- func (m *Npc) GetFindable() int64
- func (m *Npc) GetFireResistance() int64
- func (m *Npc) GetFixed() int64
- func (m *Npc) GetGender() int64
- func (m *Npc) GetHandTexture() int64
- func (m *Npc) GetHealScale() float32
- func (m *Npc) GetHelmTexture() int64
- func (m *Npc) GetHerosForgeModel() int64
- func (m *Npc) GetHitpoints() int64
- func (m *Npc) GetHpRegenRate() int64
- func (m *Npc) GetID() int64
- func (m *Npc) GetIgnoreDespawn() int64
- func (m *Npc) GetIntelligence() int64
- func (m *Npc) GetIsBot() int64
- func (m *Npc) GetIsQuest() int64
- func (m *Npc) GetLastName() string
- func (m *Npc) GetLegTexture() int64
- func (m *Npc) GetLevel() int64
- func (m *Npc) GetLight() int64
- func (m *Npc) GetLootID() int64
- func (m *Npc) GetLuclinBeard() int64
- func (m *Npc) GetLuclinBeardColor() int64
- func (m *Npc) GetLuclinEyeColor() int64
- func (m *Npc) GetLuclinEyeColor2() int64
- func (m *Npc) GetLuclinHairColor() int64
- func (m *Npc) GetLuclinHairStyle() int64
- func (m *Npc) GetMagicResistance() int64
- func (m *Npc) GetMana() int64
- func (m *Npc) GetManaRegenRate() int64
- func (m *Npc) GetMaxLevel() int64
- func (m *Npc) GetMaximumDamage() int64
- func (m *Npc) GetMerchantID() int64
- func (m *Npc) GetMininumDamage() int64
- func (m *Npc) GetName() string
- func (m *Npc) GetNoTargetHotkey() int64
- func (m *Npc) GetNpcAggro() int64
- func (m *Npc) GetNpcFactionID() int64
- func (m *Npc) GetNpcSpecialAttacks() string
- func (m *Npc) GetNpcSpellsEffectsID() int64
- func (m *Npc) GetNpcSpellsID() int64
- func (m *Npc) GetPeqID() int64
- func (m *Npc) GetPhysicalResistance() int64
- func (m *Npc) GetPoisonResistance() int64
- func (m *Npc) GetPrimaryMeleeTypeID() int64
- func (m *Npc) GetPrivateCorpse() int64
- func (m *Npc) GetQuestGlobal() int64
- func (m *Npc) GetRace() *Race
- func (m *Npc) GetRaceID() int64
- func (m *Npc) GetRaidTarget() int64
- func (m *Npc) GetRangedTypeID() int64
- func (m *Npc) GetRunspeed() float32
- func (m *Npc) GetScaleRate() int64
- func (m *Npc) GetSecondaryMeleeTypeID() int64
- func (m *Npc) GetSeeHide() int64
- func (m *Npc) GetSeeImprovedHide() int64
- func (m *Npc) GetSeeInvisible() int64
- func (m *Npc) GetSeeInvisibleUndead() int64
- func (m *Npc) GetShowName() int64
- func (m *Npc) GetSize() float32
- func (m *Npc) GetSlowMitigation() int64
- func (m *Npc) GetSpawnLimit() int64
- func (m *Npc) GetSpecialAbilitiesRaw() string
- func (m *Npc) GetSpellScale() float32
- func (m *Npc) GetStamina() int64
- func (m *Npc) GetStrength() int64
- func (m *Npc) GetTexture() int64
- func (m *Npc) GetTrackable() int64
- func (m *Npc) GetTrapTemplate() int64
- func (m *Npc) GetUnderwater() int64
- func (m *Npc) GetUnique() int64
- func (m *Npc) GetUniqueSpawnByName() int64
- func (m *Npc) GetUntargetable() int64
- func (m *Npc) GetVersion() int64
- func (m *Npc) GetWalkSpeed() int64
- func (m *Npc) GetWisdom() int64
- func (*Npc) ProtoMessage()
- func (m *Npc) Reset()
- func (m *Npc) String() string
- func (m *Npc) XXX_DiscardUnknown()
- func (m *Npc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Npc) XXX_Merge(src proto.Message)
- func (m *Npc) XXX_Size() int
- func (m *Npc) XXX_Unmarshal(b []byte) error
- type NpcCreateRequest
- func (*NpcCreateRequest) Descriptor() ([]byte, []int)
- func (m *NpcCreateRequest) GetNpc() *Npc
- func (*NpcCreateRequest) ProtoMessage()
- func (m *NpcCreateRequest) Reset()
- func (m *NpcCreateRequest) String() string
- func (m *NpcCreateRequest) XXX_DiscardUnknown()
- func (m *NpcCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcCreateRequest) XXX_Merge(src proto.Message)
- func (m *NpcCreateRequest) XXX_Size() int
- func (m *NpcCreateRequest) XXX_Unmarshal(b []byte) error
- type NpcCreateResponse
- func (*NpcCreateResponse) Descriptor() ([]byte, []int)
- func (m *NpcCreateResponse) GetId() int64
- func (*NpcCreateResponse) ProtoMessage()
- func (m *NpcCreateResponse) Reset()
- func (m *NpcCreateResponse) String() string
- func (m *NpcCreateResponse) XXX_DiscardUnknown()
- func (m *NpcCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcCreateResponse) XXX_Merge(src proto.Message)
- func (m *NpcCreateResponse) XXX_Size() int
- func (m *NpcCreateResponse) XXX_Unmarshal(b []byte) error
- type NpcDeleteRequest
- func (*NpcDeleteRequest) Descriptor() ([]byte, []int)
- func (m *NpcDeleteRequest) GetId() int64
- func (*NpcDeleteRequest) ProtoMessage()
- func (m *NpcDeleteRequest) Reset()
- func (m *NpcDeleteRequest) String() string
- func (m *NpcDeleteRequest) XXX_DiscardUnknown()
- func (m *NpcDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcDeleteRequest) XXX_Merge(src proto.Message)
- func (m *NpcDeleteRequest) XXX_Size() int
- func (m *NpcDeleteRequest) XXX_Unmarshal(b []byte) error
- type NpcDeleteResponse
- func (*NpcDeleteResponse) Descriptor() ([]byte, []int)
- func (*NpcDeleteResponse) ProtoMessage()
- func (m *NpcDeleteResponse) Reset()
- func (m *NpcDeleteResponse) String() string
- func (m *NpcDeleteResponse) XXX_DiscardUnknown()
- func (m *NpcDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcDeleteResponse) XXX_Merge(src proto.Message)
- func (m *NpcDeleteResponse) XXX_Size() int
- func (m *NpcDeleteResponse) XXX_Unmarshal(b []byte) error
- type NpcPatchRequest
- func (*NpcPatchRequest) Descriptor() ([]byte, []int)
- func (m *NpcPatchRequest) GetId() int64
- func (m *NpcPatchRequest) GetKey() string
- func (m *NpcPatchRequest) GetValue() string
- func (*NpcPatchRequest) ProtoMessage()
- func (m *NpcPatchRequest) Reset()
- func (m *NpcPatchRequest) String() string
- func (m *NpcPatchRequest) XXX_DiscardUnknown()
- func (m *NpcPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcPatchRequest) XXX_Merge(src proto.Message)
- func (m *NpcPatchRequest) XXX_Size() int
- func (m *NpcPatchRequest) XXX_Unmarshal(b []byte) error
- type NpcPatchResponse
- func (*NpcPatchResponse) Descriptor() ([]byte, []int)
- func (*NpcPatchResponse) ProtoMessage()
- func (m *NpcPatchResponse) Reset()
- func (m *NpcPatchResponse) String() string
- func (m *NpcPatchResponse) XXX_DiscardUnknown()
- func (m *NpcPatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcPatchResponse) XXX_Merge(src proto.Message)
- func (m *NpcPatchResponse) XXX_Size() int
- func (m *NpcPatchResponse) XXX_Unmarshal(b []byte) error
- type NpcReadRequest
- func (*NpcReadRequest) Descriptor() ([]byte, []int)
- func (m *NpcReadRequest) GetId() int64
- func (*NpcReadRequest) ProtoMessage()
- func (m *NpcReadRequest) Reset()
- func (m *NpcReadRequest) String() string
- func (m *NpcReadRequest) XXX_DiscardUnknown()
- func (m *NpcReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcReadRequest) XXX_Merge(src proto.Message)
- func (m *NpcReadRequest) XXX_Size() int
- func (m *NpcReadRequest) XXX_Unmarshal(b []byte) error
- type NpcReadResponse
- func (*NpcReadResponse) Descriptor() ([]byte, []int)
- func (m *NpcReadResponse) GetNpc() *Npc
- func (*NpcReadResponse) ProtoMessage()
- func (m *NpcReadResponse) Reset()
- func (m *NpcReadResponse) String() string
- func (m *NpcReadResponse) XXX_DiscardUnknown()
- func (m *NpcReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcReadResponse) XXX_Merge(src proto.Message)
- func (m *NpcReadResponse) XXX_Size() int
- func (m *NpcReadResponse) XXX_Unmarshal(b []byte) error
- type NpcSearchRequest
- func (*NpcSearchRequest) Descriptor() ([]byte, []int)
- func (m *NpcSearchRequest) GetLimit() int64
- func (m *NpcSearchRequest) GetName() string
- func (m *NpcSearchRequest) GetOffset() int64
- func (m *NpcSearchRequest) GetOrderBy() string
- func (m *NpcSearchRequest) GetOrderDesc() bool
- func (*NpcSearchRequest) ProtoMessage()
- func (m *NpcSearchRequest) Reset()
- func (m *NpcSearchRequest) String() string
- func (m *NpcSearchRequest) XXX_DiscardUnknown()
- func (m *NpcSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcSearchRequest) XXX_Merge(src proto.Message)
- func (m *NpcSearchRequest) XXX_Size() int
- func (m *NpcSearchRequest) XXX_Unmarshal(b []byte) error
- type NpcSearchResponse
- func (*NpcSearchResponse) Descriptor() ([]byte, []int)
- func (m *NpcSearchResponse) GetLimit() int64
- func (m *NpcSearchResponse) GetNpcs() []*Npc
- func (m *NpcSearchResponse) GetOffset() int64
- func (m *NpcSearchResponse) GetOrderBy() string
- func (m *NpcSearchResponse) GetOrderDesc() bool
- func (m *NpcSearchResponse) GetTotal() int64
- func (*NpcSearchResponse) ProtoMessage()
- func (m *NpcSearchResponse) Reset()
- func (m *NpcSearchResponse) String() string
- func (m *NpcSearchResponse) XXX_DiscardUnknown()
- func (m *NpcSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcSearchResponse) XXX_Merge(src proto.Message)
- func (m *NpcSearchResponse) XXX_Size() int
- func (m *NpcSearchResponse) XXX_Unmarshal(b []byte) error
- type NpcUpdateRequest
- func (*NpcUpdateRequest) Descriptor() ([]byte, []int)
- func (m *NpcUpdateRequest) GetId() int64
- func (m *NpcUpdateRequest) GetNpc() *Npc
- func (*NpcUpdateRequest) ProtoMessage()
- func (m *NpcUpdateRequest) Reset()
- func (m *NpcUpdateRequest) String() string
- func (m *NpcUpdateRequest) XXX_DiscardUnknown()
- func (m *NpcUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcUpdateRequest) XXX_Merge(src proto.Message)
- func (m *NpcUpdateRequest) XXX_Size() int
- func (m *NpcUpdateRequest) XXX_Unmarshal(b []byte) error
- type NpcUpdateResponse
- func (*NpcUpdateResponse) Descriptor() ([]byte, []int)
- func (*NpcUpdateResponse) ProtoMessage()
- func (m *NpcUpdateResponse) Reset()
- func (m *NpcUpdateResponse) String() string
- func (m *NpcUpdateResponse) XXX_DiscardUnknown()
- func (m *NpcUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NpcUpdateResponse) XXX_Merge(src proto.Message)
- func (m *NpcUpdateResponse) XXX_Size() int
- func (m *NpcUpdateResponse) XXX_Unmarshal(b []byte) error
- type Race
- func (*Race) Descriptor() ([]byte, []int)
- func (m *Race) GetBit() int64
- func (m *Race) GetFemale() string
- func (m *Race) GetIcon() string
- func (m *Race) GetId() int64
- func (m *Race) GetMale() string
- func (m *Race) GetName() string
- func (m *Race) GetNeutral() string
- func (*Race) ProtoMessage()
- func (m *Race) Reset()
- func (m *Race) String() string
- func (m *Race) XXX_DiscardUnknown()
- func (m *Race) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Race) XXX_Merge(src proto.Message)
- func (m *Race) XXX_Size() int
- func (m *Race) XXX_Unmarshal(b []byte) error
- type Site
- func (*Site) Descriptor() ([]byte, []int)
- func (m *Site) GetAuthor() string
- func (m *Site) GetDescription() string
- func (m *Site) GetImage() string
- func (m *Site) GetName() string
- func (m *Site) GetPage() string
- func (m *Site) GetPageSummary() string
- func (m *Site) GetSection() string
- func (m *Site) GetTitle() string
- func (m *Site) GetUser() *User
- func (*Site) ProtoMessage()
- func (m *Site) Reset()
- func (m *Site) String() string
- func (m *Site) XXX_DiscardUnknown()
- func (m *Site) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Site) XXX_Merge(src proto.Message)
- func (m *Site) XXX_Size() int
- func (m *Site) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetId() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type XegonyClient
- type XegonyServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterXegonyHandler ¶
RegisterXegonyHandler registers the http handlers for service Xegony to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterXegonyHandlerClient ¶
func RegisterXegonyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client XegonyClient) error
RegisterXegonyHandlerClient registers the http handlers for service Xegony to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "XegonyClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "XegonyClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "XegonyClient" to call the correct interceptors.
func RegisterXegonyHandlerFromEndpoint ¶
func RegisterXegonyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterXegonyHandlerFromEndpoint is same as RegisterXegonyHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterXegonyServer ¶
func RegisterXegonyServer(s *grpc.Server, srv XegonyServer)
Types ¶
type Class ¶
type Class struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"` Bit int64 `protobuf:"varint,4,opt,name=bit,proto3" json:"bit,omitempty"` ShortName string `protobuf:"bytes,5,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Class) Descriptor ¶
func (*Class) GetShortName ¶
func (*Class) ProtoMessage ¶
func (*Class) ProtoMessage()
func (*Class) XXX_DiscardUnknown ¶
func (m *Class) XXX_DiscardUnknown()
func (*Class) XXX_Marshal ¶
func (*Class) XXX_Unmarshal ¶
type Endpoint ¶
type Endpoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Port int64 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Endpoint) Descriptor ¶
func (*Endpoint) GetPassword ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) XXX_DiscardUnknown ¶
func (m *Endpoint) XXX_DiscardUnknown()
func (*Endpoint) XXX_Marshal ¶
func (*Endpoint) XXX_Unmarshal ¶
type Npc ¶
type Npc struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` LastName string `protobuf:"bytes,3,opt,name=LastName,proto3" json:"LastName,omitempty"` Level int64 `protobuf:"varint,4,opt,name=Level,proto3" json:"Level,omitempty"` RaceID int64 `protobuf:"varint,5,opt,name=RaceID,proto3" json:"RaceID,omitempty"` ClassID int64 `protobuf:"varint,6,opt,name=ClassID,proto3" json:"ClassID,omitempty"` BodyTypeID int64 `protobuf:"varint,7,opt,name=BodyTypeID,proto3" json:"BodyTypeID,omitempty"` Hitpoints int64 `protobuf:"varint,8,opt,name=Hitpoints,proto3" json:"Hitpoints,omitempty"` Mana int64 `protobuf:"varint,9,opt,name=Mana,proto3" json:"Mana,omitempty"` Gender int64 `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"` Texture int64 `protobuf:"varint,11,opt,name=Texture,proto3" json:"Texture,omitempty"` HelmTexture int64 `protobuf:"varint,12,opt,name=HelmTexture,proto3" json:"HelmTexture,omitempty"` HerosForgeModel int64 `protobuf:"varint,13,opt,name=HerosForgeModel,proto3" json:"HerosForgeModel,omitempty"` Size float32 `protobuf:"fixed32,14,opt,name=Size,proto3" json:"Size,omitempty"` HpRegenRate int64 `protobuf:"varint,15,opt,name=HpRegenRate,proto3" json:"HpRegenRate,omitempty"` ManaRegenRate int64 `protobuf:"varint,16,opt,name=ManaRegenRate,proto3" json:"ManaRegenRate,omitempty"` LootID int64 `protobuf:"varint,17,opt,name=LootID,proto3" json:"LootID,omitempty"` MerchantID int64 `protobuf:"varint,18,opt,name=MerchantID,proto3" json:"MerchantID,omitempty"` AltCurrencyID int64 `protobuf:"varint,19,opt,name=AltCurrencyID,proto3" json:"AltCurrencyID,omitempty"` NpcSpellsID int64 `protobuf:"varint,20,opt,name=NpcSpellsID,proto3" json:"NpcSpellsID,omitempty"` NpcSpellsEffectsID int64 `protobuf:"varint,21,opt,name=NpcSpellsEffectsID,proto3" json:"NpcSpellsEffectsID,omitempty"` NpcFactionID int64 `protobuf:"varint,22,opt,name=NpcFactionID,proto3" json:"NpcFactionID,omitempty"` AdventureTemplateID int64 `protobuf:"varint,23,opt,name=AdventureTemplateID,proto3" json:"AdventureTemplateID,omitempty"` TrapTemplate int64 `protobuf:"varint,24,opt,name=TrapTemplate,proto3" json:"TrapTemplate,omitempty"` MininumDamage int64 `protobuf:"varint,25,opt,name=MininumDamage,proto3" json:"MininumDamage,omitempty"` MaximumDamage int64 `protobuf:"varint,26,opt,name=MaximumDamage,proto3" json:"MaximumDamage,omitempty"` AttackCount int64 `protobuf:"varint,27,opt,name=AttackCount,proto3" json:"AttackCount,omitempty"` NpcSpecialAttacks string `protobuf:"bytes,28,opt,name=NpcSpecialAttacks,proto3" json:"NpcSpecialAttacks,omitempty"` SpecialAbilitiesRaw string `protobuf:"bytes,29,opt,name=SpecialAbilitiesRaw,proto3" json:"SpecialAbilitiesRaw,omitempty"` AggroRadius int64 `protobuf:"varint,30,opt,name=AggroRadius,proto3" json:"AggroRadius,omitempty"` AssistRadius int64 `protobuf:"varint,31,opt,name=AssistRadius,proto3" json:"AssistRadius,omitempty"` Face int64 `protobuf:"varint,32,opt,name=Face,proto3" json:"Face,omitempty"` LuclinHairStyle int64 `protobuf:"varint,33,opt,name=LuclinHairStyle,proto3" json:"LuclinHairStyle,omitempty"` LuclinHairColor int64 `protobuf:"varint,34,opt,name=LuclinHairColor,proto3" json:"LuclinHairColor,omitempty"` LuclinEyeColor int64 `protobuf:"varint,35,opt,name=LuclinEyeColor,proto3" json:"LuclinEyeColor,omitempty"` LuclinEyeColor2 int64 `protobuf:"varint,36,opt,name=LuclinEyeColor2,proto3" json:"LuclinEyeColor2,omitempty"` LuclinBeardColor int64 `protobuf:"varint,37,opt,name=LuclinBeardColor,proto3" json:"LuclinBeardColor,omitempty"` LuclinBeard int64 `protobuf:"varint,38,opt,name=LuclinBeard,proto3" json:"LuclinBeard,omitempty"` DrakkinHeritage int64 `protobuf:"varint,39,opt,name=DrakkinHeritage,proto3" json:"DrakkinHeritage,omitempty"` DrakkinTattoo int64 `protobuf:"varint,40,opt,name=DrakkinTattoo,proto3" json:"DrakkinTattoo,omitempty"` DrakkinDetails int64 `protobuf:"varint,41,opt,name=DrakkinDetails,proto3" json:"DrakkinDetails,omitempty"` ArmorTintID int64 `protobuf:"varint,42,opt,name=ArmorTintID,proto3" json:"ArmorTintID,omitempty"` ArmorTintRed int64 `protobuf:"varint,43,opt,name=ArmorTintRed,proto3" json:"ArmorTintRed,omitempty"` ArmorTintGreen int64 `protobuf:"varint,44,opt,name=ArmorTintGreen,proto3" json:"ArmorTintGreen,omitempty"` ArmorTintBlue int64 `protobuf:"varint,45,opt,name=ArmorTintBlue,proto3" json:"ArmorTintBlue,omitempty"` DMeleeTexture1 int64 `protobuf:"varint,46,opt,name=DMeleeTexture1,proto3" json:"DMeleeTexture1,omitempty"` DMeleeTexture2 int64 `protobuf:"varint,47,opt,name=DMeleeTexture2,proto3" json:"DMeleeTexture2,omitempty"` AmmoIDFile string `protobuf:"bytes,48,opt,name=AmmoIDFile,proto3" json:"AmmoIDFile,omitempty"` PrimaryMeleeTypeID int64 `protobuf:"varint,49,opt,name=PrimaryMeleeTypeID,proto3" json:"PrimaryMeleeTypeID,omitempty"` SecondaryMeleeTypeID int64 `protobuf:"varint,50,opt,name=SecondaryMeleeTypeID,proto3" json:"SecondaryMeleeTypeID,omitempty"` RangedTypeID int64 `protobuf:"varint,51,opt,name=RangedTypeID,proto3" json:"RangedTypeID,omitempty"` Runspeed float32 `protobuf:"fixed32,52,opt,name=Runspeed,proto3" json:"Runspeed,omitempty"` MagicResistance int64 `protobuf:"varint,53,opt,name=MagicResistance,proto3" json:"MagicResistance,omitempty"` ColdResistance int64 `protobuf:"varint,54,opt,name=ColdResistance,proto3" json:"ColdResistance,omitempty"` DiseaseResistance int64 `protobuf:"varint,55,opt,name=DiseaseResistance,proto3" json:"DiseaseResistance,omitempty"` FireResistance int64 `protobuf:"varint,56,opt,name=FireResistance,proto3" json:"FireResistance,omitempty"` PoisonResistance int64 `protobuf:"varint,57,opt,name=PoisonResistance,proto3" json:"PoisonResistance,omitempty"` CorruptionResistance int64 `protobuf:"varint,58,opt,name=CorruptionResistance,proto3" json:"CorruptionResistance,omitempty"` PhysicalResistance int64 `protobuf:"varint,59,opt,name=PhysicalResistance,proto3" json:"PhysicalResistance,omitempty"` SeeInvisible int64 `protobuf:"varint,60,opt,name=SeeInvisible,proto3" json:"SeeInvisible,omitempty"` SeeInvisibleUndead int64 `protobuf:"varint,61,opt,name=SeeInvisibleUndead,proto3" json:"SeeInvisibleUndead,omitempty"` QuestGlobal int64 `protobuf:"varint,62,opt,name=QuestGlobal,proto3" json:"QuestGlobal,omitempty"` ArmorClass int64 `protobuf:"varint,63,opt,name=ArmorClass,proto3" json:"ArmorClass,omitempty"` NpcAggro int64 `protobuf:"varint,64,opt,name=NpcAggro,proto3" json:"NpcAggro,omitempty"` SpawnLimit int64 `protobuf:"varint,65,opt,name=SpawnLimit,proto3" json:"SpawnLimit,omitempty"` AttackSpeed float32 `protobuf:"fixed32,66,opt,name=AttackSpeed,proto3" json:"AttackSpeed,omitempty"` AttackDelay int64 `protobuf:"varint,67,opt,name=AttackDelay,proto3" json:"AttackDelay,omitempty"` Findable int64 `protobuf:"varint,68,opt,name=Findable,proto3" json:"Findable,omitempty"` Strength int64 `protobuf:"varint,69,opt,name=Strength,proto3" json:"Strength,omitempty"` Stamina int64 `protobuf:"varint,70,opt,name=Stamina,proto3" json:"Stamina,omitempty"` Dexterity int64 `protobuf:"varint,71,opt,name=Dexterity,proto3" json:"Dexterity,omitempty"` Agility int64 `protobuf:"varint,72,opt,name=Agility,proto3" json:"Agility,omitempty"` Intelligence int64 `protobuf:"varint,73,opt,name=Intelligence,proto3" json:"Intelligence,omitempty"` Wisdom int64 `protobuf:"varint,74,opt,name=Wisdom,proto3" json:"Wisdom,omitempty"` Charisma int64 `protobuf:"varint,75,opt,name=Charisma,proto3" json:"Charisma,omitempty"` SeeHide int64 `protobuf:"varint,76,opt,name=SeeHide,proto3" json:"SeeHide,omitempty"` SeeImprovedHide int64 `protobuf:"varint,77,opt,name=SeeImprovedHide,proto3" json:"SeeImprovedHide,omitempty"` Trackable int64 `protobuf:"varint,78,opt,name=Trackable,proto3" json:"Trackable,omitempty"` IsBot int64 `protobuf:"varint,79,opt,name=IsBot,proto3" json:"IsBot,omitempty"` Exclude int64 `protobuf:"varint,80,opt,name=Exclude,proto3" json:"Exclude,omitempty"` Attack int64 `protobuf:"varint,81,opt,name=Attack,proto3" json:"Attack,omitempty"` Accuracy int64 `protobuf:"varint,82,opt,name=Accuracy,proto3" json:"Accuracy,omitempty"` Avoidance int64 `protobuf:"varint,83,opt,name=Avoidance,proto3" json:"Avoidance,omitempty"` SlowMitigation int64 `protobuf:"varint,84,opt,name=SlowMitigation,proto3" json:"SlowMitigation,omitempty"` Version int64 `protobuf:"varint,85,opt,name=Version,proto3" json:"Version,omitempty"` MaxLevel int64 `protobuf:"varint,86,opt,name=MaxLevel,proto3" json:"MaxLevel,omitempty"` ScaleRate int64 `protobuf:"varint,87,opt,name=ScaleRate,proto3" json:"ScaleRate,omitempty"` PrivateCorpse int64 `protobuf:"varint,88,opt,name=PrivateCorpse,proto3" json:"PrivateCorpse,omitempty"` UniqueSpawnByName int64 `protobuf:"varint,89,opt,name=UniqueSpawnByName,proto3" json:"UniqueSpawnByName,omitempty"` Underwater int64 `protobuf:"varint,90,opt,name=Underwater,proto3" json:"Underwater,omitempty"` IsQuest int64 `protobuf:"varint,91,opt,name=IsQuest,proto3" json:"IsQuest,omitempty"` EmoteID int64 `protobuf:"varint,92,opt,name=EmoteID,proto3" json:"EmoteID,omitempty"` SpellScale float32 `protobuf:"fixed32,93,opt,name=SpellScale,proto3" json:"SpellScale,omitempty"` HealScale float32 `protobuf:"fixed32,94,opt,name=HealScale,proto3" json:"HealScale,omitempty"` NoTargetHotkey int64 `protobuf:"varint,95,opt,name=NoTargetHotkey,proto3" json:"NoTargetHotkey,omitempty"` RaidTarget int64 `protobuf:"varint,96,opt,name=RaidTarget,proto3" json:"RaidTarget,omitempty"` ArmTexture int64 `protobuf:"varint,97,opt,name=ArmTexture,proto3" json:"ArmTexture,omitempty"` BracerTexture int64 `protobuf:"varint,98,opt,name=BracerTexture,proto3" json:"BracerTexture,omitempty"` HandTexture int64 `protobuf:"varint,99,opt,name=HandTexture,proto3" json:"HandTexture,omitempty"` LegTexture int64 `protobuf:"varint,100,opt,name=LegTexture,proto3" json:"LegTexture,omitempty"` FeetTexture int64 `protobuf:"varint,101,opt,name=FeetTexture,proto3" json:"FeetTexture,omitempty"` Light int64 `protobuf:"varint,102,opt,name=Light,proto3" json:"Light,omitempty"` WalkSpeed int64 `protobuf:"varint,103,opt,name=WalkSpeed,proto3" json:"WalkSpeed,omitempty"` PeqID int64 `protobuf:"varint,104,opt,name=PeqID,proto3" json:"PeqID,omitempty"` Unique int64 `protobuf:"varint,105,opt,name=Unique,proto3" json:"Unique,omitempty"` Fixed int64 `protobuf:"varint,106,opt,name=Fixed,proto3" json:"Fixed,omitempty"` IgnoreDespawn int64 `protobuf:"varint,107,opt,name=IgnoreDespawn,proto3" json:"IgnoreDespawn,omitempty"` ShowName int64 `protobuf:"varint,108,opt,name=ShowName,proto3" json:"ShowName,omitempty"` Untargetable int64 `protobuf:"varint,109,opt,name=Untargetable,proto3" json:"Untargetable,omitempty"` // New, non-field mapped identified elements Race *Race `protobuf:"bytes,110,opt,name=race,proto3" json:"race,omitempty"` Class *Class `protobuf:"bytes,111,opt,name=class,proto3" json:"class,omitempty"` CleanName string `protobuf:"bytes,112,opt,name=clean_name,json=cleanName,proto3" json:"clean_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Npc) Descriptor ¶
func (*Npc) GetAccuracy ¶
func (*Npc) GetAdventureTemplateID ¶
func (*Npc) GetAggroRadius ¶
func (*Npc) GetAgility ¶
func (*Npc) GetAltCurrencyID ¶
func (*Npc) GetAmmoIDFile ¶
func (*Npc) GetArmTexture ¶
func (*Npc) GetArmorClass ¶
func (*Npc) GetArmorTintBlue ¶
func (*Npc) GetArmorTintGreen ¶
func (*Npc) GetArmorTintID ¶
func (*Npc) GetArmorTintRed ¶
func (*Npc) GetAssistRadius ¶
func (*Npc) GetAttackCount ¶
func (*Npc) GetAttackDelay ¶
func (*Npc) GetAttackSpeed ¶
func (*Npc) GetAvoidance ¶
func (*Npc) GetBodyTypeID ¶
func (*Npc) GetBracerTexture ¶
func (*Npc) GetCharisma ¶
func (*Npc) GetClassID ¶
func (*Npc) GetCleanName ¶
func (*Npc) GetColdResistance ¶
func (*Npc) GetCorruptionResistance ¶
func (*Npc) GetDMeleeTexture1 ¶
func (*Npc) GetDMeleeTexture2 ¶
func (*Npc) GetDexterity ¶
func (*Npc) GetDiseaseResistance ¶
func (*Npc) GetDrakkinDetails ¶
func (*Npc) GetDrakkinHeritage ¶
func (*Npc) GetDrakkinTattoo ¶
func (*Npc) GetEmoteID ¶
func (*Npc) GetExclude ¶
func (*Npc) GetFeetTexture ¶
func (*Npc) GetFindable ¶
func (*Npc) GetFireResistance ¶
func (*Npc) GetHandTexture ¶
func (*Npc) GetHealScale ¶
func (*Npc) GetHelmTexture ¶
func (*Npc) GetHerosForgeModel ¶
func (*Npc) GetHitpoints ¶
func (*Npc) GetHpRegenRate ¶
func (*Npc) GetIgnoreDespawn ¶
func (*Npc) GetIntelligence ¶
func (*Npc) GetIsQuest ¶
func (*Npc) GetLastName ¶
func (*Npc) GetLegTexture ¶
func (*Npc) GetLuclinBeard ¶
func (*Npc) GetLuclinBeardColor ¶
func (*Npc) GetLuclinEyeColor ¶
func (*Npc) GetLuclinEyeColor2 ¶
func (*Npc) GetLuclinHairColor ¶
func (*Npc) GetLuclinHairStyle ¶
func (*Npc) GetMagicResistance ¶
func (*Npc) GetManaRegenRate ¶
func (*Npc) GetMaxLevel ¶
func (*Npc) GetMaximumDamage ¶
func (*Npc) GetMerchantID ¶
func (*Npc) GetMininumDamage ¶
func (*Npc) GetNoTargetHotkey ¶
func (*Npc) GetNpcAggro ¶
func (*Npc) GetNpcFactionID ¶
func (*Npc) GetNpcSpecialAttacks ¶
func (*Npc) GetNpcSpellsEffectsID ¶
func (*Npc) GetNpcSpellsID ¶
func (*Npc) GetPhysicalResistance ¶
func (*Npc) GetPoisonResistance ¶
func (*Npc) GetPrimaryMeleeTypeID ¶
func (*Npc) GetPrivateCorpse ¶
func (*Npc) GetQuestGlobal ¶
func (*Npc) GetRaidTarget ¶
func (*Npc) GetRangedTypeID ¶
func (*Npc) GetRunspeed ¶
func (*Npc) GetScaleRate ¶
func (*Npc) GetSecondaryMeleeTypeID ¶
func (*Npc) GetSeeHide ¶
func (*Npc) GetSeeImprovedHide ¶
func (*Npc) GetSeeInvisible ¶
func (*Npc) GetSeeInvisibleUndead ¶
func (*Npc) GetShowName ¶
func (*Npc) GetSlowMitigation ¶
func (*Npc) GetSpawnLimit ¶
func (*Npc) GetSpecialAbilitiesRaw ¶
func (*Npc) GetSpellScale ¶
func (*Npc) GetStamina ¶
func (*Npc) GetStrength ¶
func (*Npc) GetTexture ¶
func (*Npc) GetTrackable ¶
func (*Npc) GetTrapTemplate ¶
func (*Npc) GetUnderwater ¶
func (*Npc) GetUniqueSpawnByName ¶
func (*Npc) GetUntargetable ¶
func (*Npc) GetVersion ¶
func (*Npc) GetWalkSpeed ¶
func (*Npc) ProtoMessage ¶
func (*Npc) ProtoMessage()
func (*Npc) XXX_DiscardUnknown ¶
func (m *Npc) XXX_DiscardUnknown()
func (*Npc) XXX_Unmarshal ¶
type NpcCreateRequest ¶
type NpcCreateRequest struct { Npc *Npc `protobuf:"bytes,1,opt,name=npc,proto3" json:"npc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcCreateRequest) Descriptor ¶
func (*NpcCreateRequest) Descriptor() ([]byte, []int)
func (*NpcCreateRequest) GetNpc ¶
func (m *NpcCreateRequest) GetNpc() *Npc
func (*NpcCreateRequest) ProtoMessage ¶
func (*NpcCreateRequest) ProtoMessage()
func (*NpcCreateRequest) Reset ¶
func (m *NpcCreateRequest) Reset()
func (*NpcCreateRequest) String ¶
func (m *NpcCreateRequest) String() string
func (*NpcCreateRequest) XXX_DiscardUnknown ¶
func (m *NpcCreateRequest) XXX_DiscardUnknown()
func (*NpcCreateRequest) XXX_Marshal ¶
func (m *NpcCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcCreateRequest) XXX_Merge ¶
func (m *NpcCreateRequest) XXX_Merge(src proto.Message)
func (*NpcCreateRequest) XXX_Size ¶
func (m *NpcCreateRequest) XXX_Size() int
func (*NpcCreateRequest) XXX_Unmarshal ¶
func (m *NpcCreateRequest) XXX_Unmarshal(b []byte) error
type NpcCreateResponse ¶
type NpcCreateResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcCreateResponse) Descriptor ¶
func (*NpcCreateResponse) Descriptor() ([]byte, []int)
func (*NpcCreateResponse) GetId ¶
func (m *NpcCreateResponse) GetId() int64
func (*NpcCreateResponse) ProtoMessage ¶
func (*NpcCreateResponse) ProtoMessage()
func (*NpcCreateResponse) Reset ¶
func (m *NpcCreateResponse) Reset()
func (*NpcCreateResponse) String ¶
func (m *NpcCreateResponse) String() string
func (*NpcCreateResponse) XXX_DiscardUnknown ¶
func (m *NpcCreateResponse) XXX_DiscardUnknown()
func (*NpcCreateResponse) XXX_Marshal ¶
func (m *NpcCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcCreateResponse) XXX_Merge ¶
func (m *NpcCreateResponse) XXX_Merge(src proto.Message)
func (*NpcCreateResponse) XXX_Size ¶
func (m *NpcCreateResponse) XXX_Size() int
func (*NpcCreateResponse) XXX_Unmarshal ¶
func (m *NpcCreateResponse) XXX_Unmarshal(b []byte) error
type NpcDeleteRequest ¶
type NpcDeleteRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcDeleteRequest) Descriptor ¶
func (*NpcDeleteRequest) Descriptor() ([]byte, []int)
func (*NpcDeleteRequest) GetId ¶
func (m *NpcDeleteRequest) GetId() int64
func (*NpcDeleteRequest) ProtoMessage ¶
func (*NpcDeleteRequest) ProtoMessage()
func (*NpcDeleteRequest) Reset ¶
func (m *NpcDeleteRequest) Reset()
func (*NpcDeleteRequest) String ¶
func (m *NpcDeleteRequest) String() string
func (*NpcDeleteRequest) XXX_DiscardUnknown ¶
func (m *NpcDeleteRequest) XXX_DiscardUnknown()
func (*NpcDeleteRequest) XXX_Marshal ¶
func (m *NpcDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcDeleteRequest) XXX_Merge ¶
func (m *NpcDeleteRequest) XXX_Merge(src proto.Message)
func (*NpcDeleteRequest) XXX_Size ¶
func (m *NpcDeleteRequest) XXX_Size() int
func (*NpcDeleteRequest) XXX_Unmarshal ¶
func (m *NpcDeleteRequest) XXX_Unmarshal(b []byte) error
type NpcDeleteResponse ¶
type NpcDeleteResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcDeleteResponse) Descriptor ¶
func (*NpcDeleteResponse) Descriptor() ([]byte, []int)
func (*NpcDeleteResponse) ProtoMessage ¶
func (*NpcDeleteResponse) ProtoMessage()
func (*NpcDeleteResponse) Reset ¶
func (m *NpcDeleteResponse) Reset()
func (*NpcDeleteResponse) String ¶
func (m *NpcDeleteResponse) String() string
func (*NpcDeleteResponse) XXX_DiscardUnknown ¶
func (m *NpcDeleteResponse) XXX_DiscardUnknown()
func (*NpcDeleteResponse) XXX_Marshal ¶
func (m *NpcDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcDeleteResponse) XXX_Merge ¶
func (m *NpcDeleteResponse) XXX_Merge(src proto.Message)
func (*NpcDeleteResponse) XXX_Size ¶
func (m *NpcDeleteResponse) XXX_Size() int
func (*NpcDeleteResponse) XXX_Unmarshal ¶
func (m *NpcDeleteResponse) XXX_Unmarshal(b []byte) error
type NpcPatchRequest ¶
type NpcPatchRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcPatchRequest) Descriptor ¶
func (*NpcPatchRequest) Descriptor() ([]byte, []int)
func (*NpcPatchRequest) GetId ¶
func (m *NpcPatchRequest) GetId() int64
func (*NpcPatchRequest) GetKey ¶
func (m *NpcPatchRequest) GetKey() string
func (*NpcPatchRequest) GetValue ¶
func (m *NpcPatchRequest) GetValue() string
func (*NpcPatchRequest) ProtoMessage ¶
func (*NpcPatchRequest) ProtoMessage()
func (*NpcPatchRequest) Reset ¶
func (m *NpcPatchRequest) Reset()
func (*NpcPatchRequest) String ¶
func (m *NpcPatchRequest) String() string
func (*NpcPatchRequest) XXX_DiscardUnknown ¶
func (m *NpcPatchRequest) XXX_DiscardUnknown()
func (*NpcPatchRequest) XXX_Marshal ¶
func (m *NpcPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcPatchRequest) XXX_Merge ¶
func (m *NpcPatchRequest) XXX_Merge(src proto.Message)
func (*NpcPatchRequest) XXX_Size ¶
func (m *NpcPatchRequest) XXX_Size() int
func (*NpcPatchRequest) XXX_Unmarshal ¶
func (m *NpcPatchRequest) XXX_Unmarshal(b []byte) error
type NpcPatchResponse ¶
type NpcPatchResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcPatchResponse) Descriptor ¶
func (*NpcPatchResponse) Descriptor() ([]byte, []int)
func (*NpcPatchResponse) ProtoMessage ¶
func (*NpcPatchResponse) ProtoMessage()
func (*NpcPatchResponse) Reset ¶
func (m *NpcPatchResponse) Reset()
func (*NpcPatchResponse) String ¶
func (m *NpcPatchResponse) String() string
func (*NpcPatchResponse) XXX_DiscardUnknown ¶
func (m *NpcPatchResponse) XXX_DiscardUnknown()
func (*NpcPatchResponse) XXX_Marshal ¶
func (m *NpcPatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcPatchResponse) XXX_Merge ¶
func (m *NpcPatchResponse) XXX_Merge(src proto.Message)
func (*NpcPatchResponse) XXX_Size ¶
func (m *NpcPatchResponse) XXX_Size() int
func (*NpcPatchResponse) XXX_Unmarshal ¶
func (m *NpcPatchResponse) XXX_Unmarshal(b []byte) error
type NpcReadRequest ¶
type NpcReadRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcReadRequest) Descriptor ¶
func (*NpcReadRequest) Descriptor() ([]byte, []int)
func (*NpcReadRequest) GetId ¶
func (m *NpcReadRequest) GetId() int64
func (*NpcReadRequest) ProtoMessage ¶
func (*NpcReadRequest) ProtoMessage()
func (*NpcReadRequest) Reset ¶
func (m *NpcReadRequest) Reset()
func (*NpcReadRequest) String ¶
func (m *NpcReadRequest) String() string
func (*NpcReadRequest) XXX_DiscardUnknown ¶
func (m *NpcReadRequest) XXX_DiscardUnknown()
func (*NpcReadRequest) XXX_Marshal ¶
func (m *NpcReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcReadRequest) XXX_Merge ¶
func (m *NpcReadRequest) XXX_Merge(src proto.Message)
func (*NpcReadRequest) XXX_Size ¶
func (m *NpcReadRequest) XXX_Size() int
func (*NpcReadRequest) XXX_Unmarshal ¶
func (m *NpcReadRequest) XXX_Unmarshal(b []byte) error
type NpcReadResponse ¶
type NpcReadResponse struct { Npc *Npc `protobuf:"bytes,1,opt,name=npc,proto3" json:"npc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcReadResponse) Descriptor ¶
func (*NpcReadResponse) Descriptor() ([]byte, []int)
func (*NpcReadResponse) GetNpc ¶
func (m *NpcReadResponse) GetNpc() *Npc
func (*NpcReadResponse) ProtoMessage ¶
func (*NpcReadResponse) ProtoMessage()
func (*NpcReadResponse) Reset ¶
func (m *NpcReadResponse) Reset()
func (*NpcReadResponse) String ¶
func (m *NpcReadResponse) String() string
func (*NpcReadResponse) XXX_DiscardUnknown ¶
func (m *NpcReadResponse) XXX_DiscardUnknown()
func (*NpcReadResponse) XXX_Marshal ¶
func (m *NpcReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcReadResponse) XXX_Merge ¶
func (m *NpcReadResponse) XXX_Merge(src proto.Message)
func (*NpcReadResponse) XXX_Size ¶
func (m *NpcReadResponse) XXX_Size() int
func (*NpcReadResponse) XXX_Unmarshal ¶
func (m *NpcReadResponse) XXX_Unmarshal(b []byte) error
type NpcSearchRequest ¶
type NpcSearchRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` OrderDesc bool `protobuf:"varint,5,opt,name=order_desc,json=orderDesc,proto3" json:"order_desc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcSearchRequest) Descriptor ¶
func (*NpcSearchRequest) Descriptor() ([]byte, []int)
func (*NpcSearchRequest) GetLimit ¶
func (m *NpcSearchRequest) GetLimit() int64
func (*NpcSearchRequest) GetName ¶
func (m *NpcSearchRequest) GetName() string
func (*NpcSearchRequest) GetOffset ¶
func (m *NpcSearchRequest) GetOffset() int64
func (*NpcSearchRequest) GetOrderBy ¶
func (m *NpcSearchRequest) GetOrderBy() string
func (*NpcSearchRequest) GetOrderDesc ¶
func (m *NpcSearchRequest) GetOrderDesc() bool
func (*NpcSearchRequest) ProtoMessage ¶
func (*NpcSearchRequest) ProtoMessage()
func (*NpcSearchRequest) Reset ¶
func (m *NpcSearchRequest) Reset()
func (*NpcSearchRequest) String ¶
func (m *NpcSearchRequest) String() string
func (*NpcSearchRequest) XXX_DiscardUnknown ¶
func (m *NpcSearchRequest) XXX_DiscardUnknown()
func (*NpcSearchRequest) XXX_Marshal ¶
func (m *NpcSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcSearchRequest) XXX_Merge ¶
func (m *NpcSearchRequest) XXX_Merge(src proto.Message)
func (*NpcSearchRequest) XXX_Size ¶
func (m *NpcSearchRequest) XXX_Size() int
func (*NpcSearchRequest) XXX_Unmarshal ¶
func (m *NpcSearchRequest) XXX_Unmarshal(b []byte) error
type NpcSearchResponse ¶
type NpcSearchResponse struct { Npcs []*Npc `protobuf:"bytes,1,rep,name=Npcs,proto3" json:"Npcs,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Total int64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` OrderDesc bool `protobuf:"varint,6,opt,name=order_desc,json=orderDesc,proto3" json:"order_desc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcSearchResponse) Descriptor ¶
func (*NpcSearchResponse) Descriptor() ([]byte, []int)
func (*NpcSearchResponse) GetLimit ¶
func (m *NpcSearchResponse) GetLimit() int64
func (*NpcSearchResponse) GetNpcs ¶
func (m *NpcSearchResponse) GetNpcs() []*Npc
func (*NpcSearchResponse) GetOffset ¶
func (m *NpcSearchResponse) GetOffset() int64
func (*NpcSearchResponse) GetOrderBy ¶
func (m *NpcSearchResponse) GetOrderBy() string
func (*NpcSearchResponse) GetOrderDesc ¶
func (m *NpcSearchResponse) GetOrderDesc() bool
func (*NpcSearchResponse) GetTotal ¶
func (m *NpcSearchResponse) GetTotal() int64
func (*NpcSearchResponse) ProtoMessage ¶
func (*NpcSearchResponse) ProtoMessage()
func (*NpcSearchResponse) Reset ¶
func (m *NpcSearchResponse) Reset()
func (*NpcSearchResponse) String ¶
func (m *NpcSearchResponse) String() string
func (*NpcSearchResponse) XXX_DiscardUnknown ¶
func (m *NpcSearchResponse) XXX_DiscardUnknown()
func (*NpcSearchResponse) XXX_Marshal ¶
func (m *NpcSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcSearchResponse) XXX_Merge ¶
func (m *NpcSearchResponse) XXX_Merge(src proto.Message)
func (*NpcSearchResponse) XXX_Size ¶
func (m *NpcSearchResponse) XXX_Size() int
func (*NpcSearchResponse) XXX_Unmarshal ¶
func (m *NpcSearchResponse) XXX_Unmarshal(b []byte) error
type NpcUpdateRequest ¶
type NpcUpdateRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Npc *Npc `protobuf:"bytes,2,opt,name=npc,proto3" json:"npc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcUpdateRequest) Descriptor ¶
func (*NpcUpdateRequest) Descriptor() ([]byte, []int)
func (*NpcUpdateRequest) GetId ¶
func (m *NpcUpdateRequest) GetId() int64
func (*NpcUpdateRequest) GetNpc ¶
func (m *NpcUpdateRequest) GetNpc() *Npc
func (*NpcUpdateRequest) ProtoMessage ¶
func (*NpcUpdateRequest) ProtoMessage()
func (*NpcUpdateRequest) Reset ¶
func (m *NpcUpdateRequest) Reset()
func (*NpcUpdateRequest) String ¶
func (m *NpcUpdateRequest) String() string
func (*NpcUpdateRequest) XXX_DiscardUnknown ¶
func (m *NpcUpdateRequest) XXX_DiscardUnknown()
func (*NpcUpdateRequest) XXX_Marshal ¶
func (m *NpcUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcUpdateRequest) XXX_Merge ¶
func (m *NpcUpdateRequest) XXX_Merge(src proto.Message)
func (*NpcUpdateRequest) XXX_Size ¶
func (m *NpcUpdateRequest) XXX_Size() int
func (*NpcUpdateRequest) XXX_Unmarshal ¶
func (m *NpcUpdateRequest) XXX_Unmarshal(b []byte) error
type NpcUpdateResponse ¶
type NpcUpdateResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NpcUpdateResponse) Descriptor ¶
func (*NpcUpdateResponse) Descriptor() ([]byte, []int)
func (*NpcUpdateResponse) ProtoMessage ¶
func (*NpcUpdateResponse) ProtoMessage()
func (*NpcUpdateResponse) Reset ¶
func (m *NpcUpdateResponse) Reset()
func (*NpcUpdateResponse) String ¶
func (m *NpcUpdateResponse) String() string
func (*NpcUpdateResponse) XXX_DiscardUnknown ¶
func (m *NpcUpdateResponse) XXX_DiscardUnknown()
func (*NpcUpdateResponse) XXX_Marshal ¶
func (m *NpcUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NpcUpdateResponse) XXX_Merge ¶
func (m *NpcUpdateResponse) XXX_Merge(src proto.Message)
func (*NpcUpdateResponse) XXX_Size ¶
func (m *NpcUpdateResponse) XXX_Size() int
func (*NpcUpdateResponse) XXX_Unmarshal ¶
func (m *NpcUpdateResponse) XXX_Unmarshal(b []byte) error
type Race ¶
type Race struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"` Bit int64 `protobuf:"varint,4,opt,name=bit,proto3" json:"bit,omitempty"` Male string `protobuf:"bytes,5,opt,name=male,proto3" json:"male,omitempty"` Female string `protobuf:"bytes,6,opt,name=female,proto3" json:"female,omitempty"` Neutral string `protobuf:"bytes,7,opt,name=neutral,proto3" json:"neutral,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Race) Descriptor ¶
func (*Race) GetNeutral ¶
func (*Race) ProtoMessage ¶
func (*Race) ProtoMessage()
func (*Race) XXX_DiscardUnknown ¶
func (m *Race) XXX_DiscardUnknown()
func (*Race) XXX_Unmarshal ¶
type Site ¶
type Site struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Page string `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // page is listed above, summary gives details PageSummary string `protobuf:"bytes,4,opt,name=page_summary,json=pageSummary,proto3" json:"page_summary,omitempty"` Section string `protobuf:"bytes,5,opt,name=section,proto3" json:"section,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Image string `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"` Author string `protobuf:"bytes,8,opt,name=author,proto3" json:"author,omitempty"` User *User `protobuf:"bytes,9,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Site) Descriptor ¶
func (*Site) GetDescription ¶
func (*Site) GetPageSummary ¶
func (*Site) GetSection ¶
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) XXX_DiscardUnknown ¶
func (m *Site) XXX_DiscardUnknown()
func (*Site) XXX_Unmarshal ¶
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type XegonyClient ¶
type XegonyClient interface { NpcSearch(ctx context.Context, in *NpcSearchRequest, opts ...grpc.CallOption) (*NpcSearchResponse, error) NpcCreate(ctx context.Context, in *NpcCreateRequest, opts ...grpc.CallOption) (*NpcCreateResponse, error) NpcRead(ctx context.Context, in *NpcReadRequest, opts ...grpc.CallOption) (*NpcReadResponse, error) NpcUpdate(ctx context.Context, in *NpcUpdateRequest, opts ...grpc.CallOption) (*NpcUpdateResponse, error) NpcDelete(ctx context.Context, in *NpcDeleteRequest, opts ...grpc.CallOption) (*NpcDeleteResponse, error) NpcPatch(ctx context.Context, in *NpcPatchRequest, opts ...grpc.CallOption) (*NpcPatchResponse, error) }
XegonyClient is the client API for Xegony service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewXegonyClient ¶
func NewXegonyClient(cc *grpc.ClientConn) XegonyClient
type XegonyServer ¶
type XegonyServer interface { NpcSearch(context.Context, *NpcSearchRequest) (*NpcSearchResponse, error) NpcCreate(context.Context, *NpcCreateRequest) (*NpcCreateResponse, error) NpcRead(context.Context, *NpcReadRequest) (*NpcReadResponse, error) NpcUpdate(context.Context, *NpcUpdateRequest) (*NpcUpdateResponse, error) NpcDelete(context.Context, *NpcDeleteRequest) (*NpcDeleteResponse, error) NpcPatch(context.Context, *NpcPatchRequest) (*NpcPatchResponse, error) }
XegonyServer is the server API for Xegony service.