Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDarwinServiceServer(s grpc.ServiceRegistrar, srv DarwinServiceServer)
- type AlignmentEnum
- func (AlignmentEnum) Descriptor() protoreflect.EnumDescriptor
- func (x AlignmentEnum) Enum() *AlignmentEnum
- func (AlignmentEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x AlignmentEnum) Number() protoreflect.EnumNumber
- func (x AlignmentEnum) String() string
- func (AlignmentEnum) Type() protoreflect.EnumType
- type AudioFormatEnum
- func (AudioFormatEnum) Descriptor() protoreflect.EnumDescriptor
- func (x AudioFormatEnum) Enum() *AudioFormatEnum
- func (AudioFormatEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x AudioFormatEnum) Number() protoreflect.EnumNumber
- func (x AudioFormatEnum) String() string
- func (AudioFormatEnum) Type() protoreflect.EnumType
- type AudioMusicEnum
- func (AudioMusicEnum) Descriptor() protoreflect.EnumDescriptor
- func (x AudioMusicEnum) Enum() *AudioMusicEnum
- func (AudioMusicEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x AudioMusicEnum) Number() protoreflect.EnumNumber
- func (x AudioMusicEnum) String() string
- func (AudioMusicEnum) Type() protoreflect.EnumType
- type AudioSoundEnum
- func (AudioSoundEnum) Descriptor() protoreflect.EnumDescriptor
- func (x AudioSoundEnum) Enum() *AudioSoundEnum
- func (AudioSoundEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x AudioSoundEnum) Number() protoreflect.EnumNumber
- func (x AudioSoundEnum) String() string
- func (AudioSoundEnum) Type() protoreflect.EnumType
- type Character
- func (*Character) Descriptor() ([]byte, []int)deprecated
- func (x *Character) GetCharacterType() CharacterTypeEnum
- func (x *Character) GetColor() *Vector3
- func (x *Character) GetGForce() *Vector3
- func (x *Character) GetName() string
- func (x *Character) GetNormal() *Vector3
- func (x *Character) GetPhysic() *Physic
- func (x *Character) GetSpecialEffectBoost() *SpecialEffectParameter
- func (x *Character) GetStatusEnum() StatusEnum
- func (*Character) ProtoMessage()
- func (x *Character) ProtoReflect() protoreflect.Message
- func (x *Character) Reset()
- func (x *Character) String() string
- type CharacterTypeEnum
- func (CharacterTypeEnum) Descriptor() protoreflect.EnumDescriptor
- func (x CharacterTypeEnum) Enum() *CharacterTypeEnum
- func (CharacterTypeEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x CharacterTypeEnum) Number() protoreflect.EnumNumber
- func (x CharacterTypeEnum) String() string
- func (CharacterTypeEnum) Type() protoreflect.EnumType
- type ClientAudio
- func (*ClientAudio) Descriptor() ([]byte, []int)deprecated
- func (x *ClientAudio) GetAudioFormatEnum() AudioFormatEnum
- func (x *ClientAudio) GetChannels() int32
- func (x *ClientAudio) GetChunkSize() int32
- func (x *ClientAudio) GetFadeMusic() float64
- func (x *ClientAudio) GetMusicQueues() []*MusicQueue
- func (x *ClientAudio) GetSampleRate() int32
- func (x *ClientAudio) GetSoundQueues() []*SoundQueue
- func (*ClientAudio) ProtoMessage()
- func (x *ClientAudio) ProtoReflect() protoreflect.Message
- func (x *ClientAudio) Reset()
- func (x *ClientAudio) String() string
- type ClientParameter
- func (*ClientParameter) Descriptor() ([]byte, []int)deprecated
- func (x *ClientParameter) GetFontFile() string
- func (x *ClientParameter) GetFontSizes() []*FontSize
- func (x *ClientParameter) GetIsSslEnable() bool
- func (x *ClientParameter) GetOverlayPlay() *PageDescription
- func (x *ClientParameter) GetOverlayState() *PageDescription
- func (x *ClientParameter) GetOverlayTitle() *PageDescription
- func (x *ClientParameter) GetServerName() string
- func (*ClientParameter) ProtoMessage()
- func (x *ClientParameter) ProtoReflect() protoreflect.Message
- func (x *ClientParameter) Reset()
- func (x *ClientParameter) String() string
- type ColorParameter
- func (*ColorParameter) Descriptor() ([]byte, []int)deprecated
- func (x *ColorParameter) GetColor() *Vector3
- func (x *ColorParameter) GetName() string
- func (*ColorParameter) ProtoMessage()
- func (x *ColorParameter) ProtoReflect() protoreflect.Message
- func (x *ColorParameter) Reset()
- func (x *ColorParameter) String() string
- type ColorString
- func (*ColorString) Descriptor() ([]byte, []int)deprecated
- func (x *ColorString) GetAlpha() string
- func (x *ColorString) GetBlue() string
- func (x *ColorString) GetGreen() string
- func (x *ColorString) GetRed() string
- func (*ColorString) ProtoMessage()
- func (x *ColorString) ProtoReflect() protoreflect.Message
- func (x *ColorString) Reset()
- func (x *ColorString) String() string
- type CreateCharacterRequest
- func (*CreateCharacterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCharacterRequest) GetColor() *Vector3
- func (x *CreateCharacterRequest) GetName() string
- func (*CreateCharacterRequest) ProtoMessage()
- func (x *CreateCharacterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCharacterRequest) Reset()
- func (x *CreateCharacterRequest) String() string
- type CreateCharacterResponse
- func (*CreateCharacterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCharacterResponse) GetReturnEnum() ReturnEnum
- func (*CreateCharacterResponse) ProtoMessage()
- func (x *CreateCharacterResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCharacterResponse) Reset()
- func (x *CreateCharacterResponse) String() string
- type DarwinServiceClient
- type DarwinServiceServer
- type DarwinService_UpdateClient
- type DarwinService_UpdateServer
- type DecorationEnum
- func (DecorationEnum) Descriptor() protoreflect.EnumDescriptor
- func (x DecorationEnum) Enum() *DecorationEnum
- func (DecorationEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x DecorationEnum) Number() protoreflect.EnumNumber
- func (x DecorationEnum) String() string
- func (DecorationEnum) Type() protoreflect.EnumType
- type Element
- func (*Element) Descriptor() ([]byte, []int)deprecated
- func (x *Element) GetColor() *Vector3
- func (x *Element) GetName() string
- func (x *Element) GetPhysic() *Physic
- func (x *Element) GetTypeEnum() TypeEnum
- func (*Element) ProtoMessage()
- func (x *Element) ProtoReflect() protoreflect.Message
- func (x *Element) Reset()
- func (x *Element) String() string
- type FontSize
- type MusicQueue
- func (*MusicQueue) Descriptor() ([]byte, []int)deprecated
- func (x *MusicQueue) GetAudioFile() string
- func (x *MusicQueue) GetAudioMusicEnum() AudioMusicEnum
- func (x *MusicQueue) GetAuthor() string
- func (x *MusicQueue) GetTitle() string
- func (*MusicQueue) ProtoMessage()
- func (x *MusicQueue) ProtoReflect() protoreflect.Message
- func (x *MusicQueue) Reset()
- func (x *MusicQueue) String() string
- type PageDescription
- func (*PageDescription) Descriptor() ([]byte, []int)deprecated
- func (x *PageDescription) GetName() string
- func (x *PageDescription) GetPageElements() []*PageElement
- func (x *PageDescription) GetSize() *Vector2
- func (*PageDescription) ProtoMessage()
- func (x *PageDescription) ProtoReflect() protoreflect.Message
- func (x *PageDescription) Reset()
- func (x *PageDescription) String() string
- type PageElement
- func (*PageElement) Descriptor() ([]byte, []int)deprecated
- func (x *PageElement) GetImage() *PageElementImage
- func (x *PageElement) GetLine() *PageElementLine
- func (x *PageElement) GetList() *PageElementList
- func (m *PageElement) GetPageElementOneof() isPageElement_PageElementOneof
- func (x *PageElement) GetRectFilled() *PageElementRectFilled
- func (x *PageElement) GetText() *PageElementText
- func (*PageElement) ProtoMessage()
- func (x *PageElement) ProtoReflect() protoreflect.Message
- func (x *PageElement) Reset()
- func (x *PageElement) String() string
- type PageElementDecoration
- func (*PageElementDecoration) Descriptor() ([]byte, []int)deprecated
- func (x *PageElementDecoration) GetColor() *Vector4
- func (m *PageElementDecoration) GetColorOneof() isPageElementDecoration_ColorOneof
- func (x *PageElementDecoration) GetColorString() *ColorString
- func (x *PageElementDecoration) GetDecorationEnum() DecorationEnum
- func (x *PageElementDecoration) GetOffset() *Vector2
- func (m *PageElementDecoration) GetOffsetOneof() isPageElementDecoration_OffsetOneof
- func (x *PageElementDecoration) GetOffsetString() *Vector2String
- func (*PageElementDecoration) ProtoMessage()
- func (x *PageElementDecoration) ProtoReflect() protoreflect.Message
- func (x *PageElementDecoration) Reset()
- func (x *PageElementDecoration) String() string
- type PageElementDecoration_Color
- type PageElementDecoration_ColorString
- type PageElementDecoration_Offset
- type PageElementDecoration_OffsetString
- type PageElementImage
- func (*PageElementImage) Descriptor() ([]byte, []int)deprecated
- func (x *PageElementImage) GetAlignmentEnum() AlignmentEnum
- func (x *PageElementImage) GetImage() string
- func (x *PageElementImage) GetPosition() *Vector2
- func (m *PageElementImage) GetPositionOneof() isPageElementImage_PositionOneof
- func (x *PageElementImage) GetPositionString() *Vector2String
- func (x *PageElementImage) GetSize() *Vector2
- func (m *PageElementImage) GetSizeOneof() isPageElementImage_SizeOneof
- func (x *PageElementImage) GetSizeString() *Vector2String
- func (*PageElementImage) ProtoMessage()
- func (x *PageElementImage) ProtoReflect() protoreflect.Message
- func (x *PageElementImage) Reset()
- func (x *PageElementImage) String() string
- type PageElementImage_Position
- type PageElementImage_PositionString
- type PageElementImage_Size
- type PageElementImage_SizeString
- type PageElementLine
- func (*PageElementLine) Descriptor() ([]byte, []int)deprecated
- func (x *PageElementLine) GetAlignmentEnum() AlignmentEnum
- func (x *PageElementLine) GetColor() *Vector4
- func (m *PageElementLine) GetColorOneof() isPageElementLine_ColorOneof
- func (x *PageElementLine) GetColorString() *ColorString
- func (x *PageElementLine) GetEnd() *Vector2
- func (m *PageElementLine) GetEndOneof() isPageElementLine_EndOneof
- func (x *PageElementLine) GetEndString() *Vector2String
- func (x *PageElementLine) GetStart() *Vector2
- func (m *PageElementLine) GetStartOneof() isPageElementLine_StartOneof
- func (x *PageElementLine) GetStartString() *Vector2String
- func (x *PageElementLine) GetThickness() float64
- func (*PageElementLine) ProtoMessage()
- func (x *PageElementLine) ProtoReflect() protoreflect.Message
- func (x *PageElementLine) Reset()
- func (x *PageElementLine) String() string
- type PageElementLine_Color
- type PageElementLine_ColorString
- type PageElementLine_End
- type PageElementLine_EndString
- type PageElementLine_Start
- type PageElementLine_StartString
- type PageElementList
- func (*PageElementList) Descriptor() ([]byte, []int)deprecated
- func (x *PageElementList) GetElementCount() string
- func (x *PageElementList) GetElementIndex() string
- func (x *PageElementList) GetPageElements() []*PageElement
- func (x *PageElementList) GetPosition() *Vector2
- func (m *PageElementList) GetPositionOneof() isPageElementList_PositionOneof
- func (x *PageElementList) GetPositionString() *Vector2String
- func (x *PageElementList) GetSize() *Vector2
- func (m *PageElementList) GetSizeOneof() isPageElementList_SizeOneof
- func (x *PageElementList) GetSizeString() *Vector2String
- func (*PageElementList) ProtoMessage()
- func (x *PageElementList) ProtoReflect() protoreflect.Message
- func (x *PageElementList) Reset()
- func (x *PageElementList) String() string
- type PageElementList_Position
- type PageElementList_PositionString
- type PageElementList_Size
- type PageElementList_SizeString
- type PageElementRectFilled
- func (*PageElementRectFilled) Descriptor() ([]byte, []int)deprecated
- func (x *PageElementRectFilled) GetAlignmentEnum() AlignmentEnum
- func (x *PageElementRectFilled) GetColor() *Vector4
- func (m *PageElementRectFilled) GetColorOneof() isPageElementRectFilled_ColorOneof
- func (x *PageElementRectFilled) GetColorString() *ColorString
- func (x *PageElementRectFilled) GetPosition() *Vector2
- func (m *PageElementRectFilled) GetPositionOneof() isPageElementRectFilled_PositionOneof
- func (x *PageElementRectFilled) GetPositionString() *Vector2String
- func (x *PageElementRectFilled) GetRounding() float64
- func (x *PageElementRectFilled) GetSize() *Vector2
- func (m *PageElementRectFilled) GetSizeOneof() isPageElementRectFilled_SizeOneof
- func (x *PageElementRectFilled) GetSizeString() *Vector2String
- func (*PageElementRectFilled) ProtoMessage()
- func (x *PageElementRectFilled) ProtoReflect() protoreflect.Message
- func (x *PageElementRectFilled) Reset()
- func (x *PageElementRectFilled) String() string
- type PageElementRectFilled_Color
- type PageElementRectFilled_ColorString
- type PageElementRectFilled_Position
- type PageElementRectFilled_PositionString
- type PageElementRectFilled_Size
- type PageElementRectFilled_SizeString
- type PageElementText
- func (*PageElementText) Descriptor() ([]byte, []int)deprecated
- func (x *PageElementText) GetAlignmentEnum() AlignmentEnum
- func (x *PageElementText) GetColor() *Vector4
- func (m *PageElementText) GetColorOneof() isPageElementText_ColorOneof
- func (x *PageElementText) GetColorString() *ColorString
- func (x *PageElementText) GetDecorations() []*PageElementDecoration
- func (x *PageElementText) GetNoReplace() bool
- func (x *PageElementText) GetPosition() *Vector2
- func (m *PageElementText) GetPositionOneof() isPageElementText_PositionOneof
- func (x *PageElementText) GetPositionString() *Vector2String
- func (x *PageElementText) GetText() string
- func (x *PageElementText) GetTextSizeEnum() TextSizeEnum
- func (*PageElementText) ProtoMessage()
- func (x *PageElementText) ProtoReflect() protoreflect.Message
- func (x *PageElementText) Reset()
- func (x *PageElementText) String() string
- type PageElementText_Color
- type PageElementText_ColorString
- type PageElementText_Position
- type PageElementText_PositionString
- type PageElement_Image
- type PageElement_Line
- type PageElement_List
- type PageElement_RectFilled
- type PageElement_Text
- type Physic
- func (*Physic) Descriptor() ([]byte, []int)deprecated
- func (x *Physic) GetMass() float64
- func (x *Physic) GetOrientation() *Vector4
- func (x *Physic) GetOrientationDt() *Vector4
- func (x *Physic) GetPosition() *Vector3
- func (x *Physic) GetPositionDt() *Vector3
- func (x *Physic) GetRadius() float64
- func (*Physic) ProtoMessage()
- func (x *Physic) ProtoReflect() protoreflect.Message
- func (x *Physic) Reset()
- func (x *Physic) String() string
- type PingRequest
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PingResponse) GetPlayerParameter() *PlayerParameter
- func (x *PingResponse) GetTime() float64
- func (x *PingResponse) GetValue() int32
- func (*PingResponse) ProtoMessage()
- func (x *PingResponse) ProtoReflect() protoreflect.Message
- func (x *PingResponse) Reset()
- func (x *PingResponse) String() string
- type PlayerParameter
- func (*PlayerParameter) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerParameter) GetBoostSpeed() float64
- func (x *PlayerParameter) GetColorParameters() []*ColorParameter
- func (x *PlayerParameter) GetDisconnectionTimeout() float64
- func (x *PlayerParameter) GetDropHeight() float64
- func (x *PlayerParameter) GetEatSpeed() float64
- func (x *PlayerParameter) GetFriction() float64
- func (x *PlayerParameter) GetHorizontalSpeed() float64
- func (x *PlayerParameter) GetLivingCost() float64
- func (x *PlayerParameter) GetMaxUpgradeGrow() float64
- func (x *PlayerParameter) GetPenalty() float64
- func (x *PlayerParameter) GetSpecialEffectBoost() *SpecialEffectParameter
- func (x *PlayerParameter) GetStartMass() float64
- func (x *PlayerParameter) GetVerticalSpeed() float64
- func (x *PlayerParameter) GetVictorySize() float64
- func (*PlayerParameter) ProtoMessage()
- func (x *PlayerParameter) ProtoReflect() protoreflect.Message
- func (x *PlayerParameter) Reset()
- func (x *PlayerParameter) String() string
- type ReportInGameRequest
- func (*ReportInGameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportInGameRequest) GetName() string
- func (x *ReportInGameRequest) GetPhysic() *Physic
- func (x *ReportInGameRequest) GetPotentialHit() string
- func (x *ReportInGameRequest) GetSpecialEffectBoost() *SpecialEffectParameter
- func (x *ReportInGameRequest) GetStatusEnum() StatusEnum
- func (*ReportInGameRequest) ProtoMessage()
- func (x *ReportInGameRequest) ProtoReflect() protoreflect.Message
- func (x *ReportInGameRequest) Reset()
- func (x *ReportInGameRequest) String() string
- type ReportInGameResponse
- type ReturnEnum
- type SoundQueue
- func (*SoundQueue) Descriptor() ([]byte, []int)deprecated
- func (x *SoundQueue) GetAudioFile() string
- func (x *SoundQueue) GetAudioSoundEnum() AudioSoundEnum
- func (x *SoundQueue) GetAuthor() string
- func (x *SoundQueue) GetTitle() string
- func (*SoundQueue) ProtoMessage()
- func (x *SoundQueue) ProtoReflect() protoreflect.Message
- func (x *SoundQueue) Reset()
- func (x *SoundQueue) String() string
- type SpecialEffectParameter
- func (*SpecialEffectParameter) Descriptor() ([]byte, []int)deprecated
- func (x *SpecialEffectParameter) GetCooldownDuration() float64
- func (x *SpecialEffectParameter) GetCounter() float64
- func (x *SpecialEffectParameter) GetEffectDuration() float64
- func (x *SpecialEffectParameter) GetSpecialStateEnum() SpecialStateEnum
- func (*SpecialEffectParameter) ProtoMessage()
- func (x *SpecialEffectParameter) ProtoReflect() protoreflect.Message
- func (x *SpecialEffectParameter) Reset()
- func (x *SpecialEffectParameter) String() string
- type SpecialStateEnum
- func (SpecialStateEnum) Descriptor() protoreflect.EnumDescriptor
- func (x SpecialStateEnum) Enum() *SpecialStateEnum
- func (SpecialStateEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x SpecialStateEnum) Number() protoreflect.EnumNumber
- func (x SpecialStateEnum) String() string
- func (SpecialStateEnum) Type() protoreflect.EnumType
- type StatusEnum
- type TextSizeEnum
- func (TextSizeEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TextSizeEnum) Enum() *TextSizeEnum
- func (TextSizeEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TextSizeEnum) Number() protoreflect.EnumNumber
- func (x TextSizeEnum) String() string
- func (TextSizeEnum) Type() protoreflect.EnumType
- type TypeEnum
- type UnimplementedDarwinServiceServer
- func (UnimplementedDarwinServiceServer) CreateCharacter(context.Context, *CreateCharacterRequest) (*CreateCharacterResponse, error)
- func (UnimplementedDarwinServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedDarwinServiceServer) ReportInGame(context.Context, *ReportInGameRequest) (*ReportInGameResponse, error)
- func (UnimplementedDarwinServiceServer) Update(*UpdateRequest, DarwinService_UpdateServer) error
- type UnsafeDarwinServiceServer
- type UpdateRequest
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResponse) GetCharacters() []*Character
- func (x *UpdateResponse) GetElements() []*Element
- func (x *UpdateResponse) GetTime() float64
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
- type Vector2
- type Vector2String
- func (*Vector2String) Descriptor() ([]byte, []int)deprecated
- func (x *Vector2String) GetX() string
- func (x *Vector2String) GetY() string
- func (*Vector2String) ProtoMessage()
- func (x *Vector2String) ProtoReflect() protoreflect.Message
- func (x *Vector2String) Reset()
- func (x *Vector2String) String() string
- type Vector3
- type Vector4
- func (*Vector4) Descriptor() ([]byte, []int)deprecated
- func (x *Vector4) GetW() float64
- func (x *Vector4) GetX() float64
- func (x *Vector4) GetY() float64
- func (x *Vector4) GetZ() float64
- func (*Vector4) ProtoMessage()
- func (x *Vector4) ProtoReflect() protoreflect.Message
- func (x *Vector4) Reset()
- func (x *Vector4) String() string
- type VitalEnum
- type WorldDatabase
- func (*WorldDatabase) Descriptor() ([]byte, []int)deprecated
- func (x *WorldDatabase) GetCharacters() []*Character
- func (x *WorldDatabase) GetElements() []*Element
- func (x *WorldDatabase) GetPlayerParameter() *PlayerParameter
- func (x *WorldDatabase) GetTime() float64
- func (*WorldDatabase) ProtoMessage()
- func (x *WorldDatabase) ProtoReflect() protoreflect.Message
- func (x *WorldDatabase) Reset()
- func (x *WorldDatabase) String() string
Constants ¶
const ( DarwinService_Update_FullMethodName = "/proto.DarwinService/Update" DarwinService_ReportInGame_FullMethodName = "/proto.DarwinService/ReportInGame" DarwinService_CreateCharacter_FullMethodName = "/proto.DarwinService/CreateCharacter" DarwinService_Ping_FullMethodName = "/proto.DarwinService/Ping" )
Variables ¶
var ( AudioMusicEnum_name = map[int32]string{ 0: "AUDIO_MUSIC_NONE", 1: "AUDIO_MUSIC_TITLE", 2: "AUDIO_MUSIC_MENU", 3: "AUDIO_MUSIC_PLAY", 4: "AUDIO_MUSIC_DEATH", 5: "AUDIO_MUSIC_WIN", } AudioMusicEnum_value = map[string]int32{ "AUDIO_MUSIC_NONE": 0, "AUDIO_MUSIC_TITLE": 1, "AUDIO_MUSIC_MENU": 2, "AUDIO_MUSIC_PLAY": 3, "AUDIO_MUSIC_DEATH": 4, "AUDIO_MUSIC_WIN": 5, } )
Enum value maps for AudioMusicEnum.
var ( AudioSoundEnum_name = map[int32]string{ 0: "AUDIO_SOUND_NONE", 1: "AUDIO_SOUND_JUMP", 2: "AUDIO_SOUND_GOOD", 3: "AUDIO_SOUND_BAD", } AudioSoundEnum_value = map[string]int32{ "AUDIO_SOUND_NONE": 0, "AUDIO_SOUND_JUMP": 1, "AUDIO_SOUND_GOOD": 2, "AUDIO_SOUND_BAD": 3, } )
Enum value maps for AudioSoundEnum.
var ( AudioFormatEnum_name = map[int32]string{ 0: "AUDIO_FORMAT_NONE", 1: "AUDIO_FORMAT_DEFAULT", 2: "AUDIO_FORMAT_S16_LSB", 3: "AUDIO_FORMAT_S16_MSB", 4: "AUDIO_FORMAT_S16_SYS", } AudioFormatEnum_value = map[string]int32{ "AUDIO_FORMAT_NONE": 0, "AUDIO_FORMAT_DEFAULT": 1, "AUDIO_FORMAT_S16_LSB": 2, "AUDIO_FORMAT_S16_MSB": 3, "AUDIO_FORMAT_S16_SYS": 4, } )
Enum value maps for AudioFormatEnum.
var ( TextSizeEnum_name = map[int32]string{ 0: "TEXT_SIZE_SMALL", 1: "TEXT_SIZE_MEDIUM", 2: "TEXT_SIZE_LARGE", 3: "TEXT_SIZE_TITLE", 4: "TEXT_SIZE_LARGER", } TextSizeEnum_value = map[string]int32{ "TEXT_SIZE_SMALL": 0, "TEXT_SIZE_MEDIUM": 1, "TEXT_SIZE_LARGE": 2, "TEXT_SIZE_TITLE": 3, "TEXT_SIZE_LARGER": 4, } )
Enum value maps for TextSizeEnum.
var ( AlignmentEnum_name = map[int32]string{ 0: "ALIGNMENT_TOP_LEFT", 1: "ALIGNMENT_TOP", 2: "ALIGNMENT_TOP_RIGHT", 3: "ALIGNMENT_CENTER_LEFT", 4: "ALIGNMENT_CENTER", 5: "ALIGNMENT_CENTER_RIGHT", 6: "ALIGNMENT_BOTTOM_LEFT", 7: "ALIGNMENT_BOTTOM", 8: "ALIGNMENT_BOTTOM_RIGHT", } AlignmentEnum_value = map[string]int32{ "ALIGNMENT_TOP_LEFT": 0, "ALIGNMENT_TOP": 1, "ALIGNMENT_TOP_RIGHT": 2, "ALIGNMENT_CENTER_LEFT": 3, "ALIGNMENT_CENTER": 4, "ALIGNMENT_CENTER_RIGHT": 5, "ALIGNMENT_BOTTOM_LEFT": 6, "ALIGNMENT_BOTTOM": 7, "ALIGNMENT_BOTTOM_RIGHT": 8, } )
Enum value maps for AlignmentEnum.
var ( DecorationEnum_name = map[int32]string{ 0: "DECORATION_NONE", 1: "DECORATION_SHADOW", 2: "DECORATION_OUTLINE", } DecorationEnum_value = map[string]int32{ "DECORATION_NONE": 0, "DECORATION_SHADOW": 1, "DECORATION_OUTLINE": 2, } )
Enum value maps for DecorationEnum.
var ( ReturnEnum_name = map[int32]string{ 0: "RETURN_ERROR", 1: "RETURN_OK", 2: "RETURN_REJECTED", } ReturnEnum_value = map[string]int32{ "RETURN_ERROR": 0, "RETURN_OK": 1, "RETURN_REJECTED": 2, } )
Enum value maps for ReturnEnum.
var ( VitalEnum_name = map[int32]string{ 0: "VITAL_NONE", 1: "VITAL_ALIVE", 2: "VITAL_DEAD", 3: "VITAL_LOADING", } VitalEnum_value = map[string]int32{ "VITAL_NONE": 0, "VITAL_ALIVE": 1, "VITAL_DEAD": 2, "VITAL_LOADING": 3, } )
Enum value maps for VitalEnum.
var ( StatusEnum_name = map[int32]string{ 0: "STATUS_UNKNOWN", 1: "STATUS_ON_GROUND", 2: "STATUS_JUMPING", 3: "STATUS_LOADING", 4: "STATUS_DEAD", } StatusEnum_value = map[string]int32{ "STATUS_UNKNOWN": 0, "STATUS_ON_GROUND": 1, "STATUS_JUMPING": 2, "STATUS_LOADING": 3, "STATUS_DEAD": 4, } )
Enum value maps for StatusEnum.
var ( TypeEnum_name = map[int32]string{ 0: "TYPE_UNKNOWN", 1: "TYPE_GROUND", 2: "TYPE_EXPLOSION", 3: "TYPE_UPGRADE", 4: "TYPE_GREEN", 5: "TYPE_BROWN", 6: "TYPE_WATER", 7: "TYPE_CHARACTER", } TypeEnum_value = map[string]int32{ "TYPE_UNKNOWN": 0, "TYPE_GROUND": 1, "TYPE_EXPLOSION": 2, "TYPE_UPGRADE": 3, "TYPE_GREEN": 4, "TYPE_BROWN": 5, "TYPE_WATER": 6, "TYPE_CHARACTER": 7, } )
Enum value maps for TypeEnum.
var ( SpecialStateEnum_name = map[int32]string{ 0: "SPECIAL_STATE_WAIT", 1: "SPECIAL_STATE_ACTIVE", 2: "SPECIAL_STATE_COOLDOWN", } SpecialStateEnum_value = map[string]int32{ "SPECIAL_STATE_WAIT": 0, "SPECIAL_STATE_ACTIVE": 1, "SPECIAL_STATE_COOLDOWN": 2, } )
Enum value maps for SpecialStateEnum.
var ( CharacterTypeEnum_name = map[int32]string{ 0: "CHARACTER_NONE", 1: "CHARACTER_PLAYER", 2: "CHARACTER_NPC", } CharacterTypeEnum_value = map[string]int32{ "CHARACTER_NONE": 0, "CHARACTER_PLAYER": 1, "CHARACTER_NPC": 2, } )
Enum value maps for CharacterTypeEnum.
var DarwinService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.DarwinService", HandlerType: (*DarwinServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ReportInGame", Handler: _DarwinService_ReportInGame_Handler, }, { MethodName: "CreateCharacter", Handler: _DarwinService_CreateCharacter_Handler, }, { MethodName: "Ping", Handler: _DarwinService_Ping_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Update", Handler: _DarwinService_Update_Handler, ServerStreams: true, }, }, Metadata: "darwin_service.proto", }
DarwinService_ServiceDesc is the grpc.ServiceDesc for DarwinService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_client_audio_proto protoreflect.FileDescriptor
var File_client_parameter_proto protoreflect.FileDescriptor
var File_darwin_service_proto protoreflect.FileDescriptor
var File_vector_math_proto protoreflect.FileDescriptor
var File_world_parameter_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDarwinServiceServer ¶
func RegisterDarwinServiceServer(s grpc.ServiceRegistrar, srv DarwinServiceServer)
Types ¶
type AlignmentEnum ¶
type AlignmentEnum int32
const ( AlignmentEnum_ALIGNMENT_TOP_LEFT AlignmentEnum = 0 // Hook at top left. AlignmentEnum_ALIGNMENT_TOP AlignmentEnum = 1 // Hook at top center. AlignmentEnum_ALIGNMENT_TOP_RIGHT AlignmentEnum = 2 // Hook at top right. AlignmentEnum_ALIGNMENT_CENTER_LEFT AlignmentEnum = 3 // Hook at center left. AlignmentEnum_ALIGNMENT_CENTER AlignmentEnum = 4 // Hook at center. AlignmentEnum_ALIGNMENT_CENTER_RIGHT AlignmentEnum = 5 // Hook at center right. AlignmentEnum_ALIGNMENT_BOTTOM_LEFT AlignmentEnum = 6 // Hook at bottom left. AlignmentEnum_ALIGNMENT_BOTTOM AlignmentEnum = 7 // Hook at bottom center. AlignmentEnum_ALIGNMENT_BOTTOM_RIGHT AlignmentEnum = 8 // Hook at bottom right. )
func (AlignmentEnum) Descriptor ¶
func (AlignmentEnum) Descriptor() protoreflect.EnumDescriptor
func (AlignmentEnum) Enum ¶
func (x AlignmentEnum) Enum() *AlignmentEnum
func (AlignmentEnum) EnumDescriptor
deprecated
func (AlignmentEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use AlignmentEnum.Descriptor instead.
func (AlignmentEnum) Number ¶
func (x AlignmentEnum) Number() protoreflect.EnumNumber
func (AlignmentEnum) String ¶
func (x AlignmentEnum) String() string
func (AlignmentEnum) Type ¶
func (AlignmentEnum) Type() protoreflect.EnumType
type AudioFormatEnum ¶
type AudioFormatEnum int32
const ( AudioFormatEnum_AUDIO_FORMAT_NONE AudioFormatEnum = 0 // No audio format (this is an error). AudioFormatEnum_AUDIO_FORMAT_DEFAULT AudioFormatEnum = 1 // Default audio format. AudioFormatEnum_AUDIO_FORMAT_S16_LSB AudioFormatEnum = 2 // Signed 16-bit little-endian audio format. AudioFormatEnum_AUDIO_FORMAT_S16_MSB AudioFormatEnum = 3 // Signed 16-bit big-endian audio format. AudioFormatEnum_AUDIO_FORMAT_S16_SYS AudioFormatEnum = 4 // Signed 16-bit system-endian audio format. )
func (AudioFormatEnum) Descriptor ¶
func (AudioFormatEnum) Descriptor() protoreflect.EnumDescriptor
func (AudioFormatEnum) Enum ¶
func (x AudioFormatEnum) Enum() *AudioFormatEnum
func (AudioFormatEnum) EnumDescriptor
deprecated
func (AudioFormatEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use AudioFormatEnum.Descriptor instead.
func (AudioFormatEnum) Number ¶
func (x AudioFormatEnum) Number() protoreflect.EnumNumber
func (AudioFormatEnum) String ¶
func (x AudioFormatEnum) String() string
func (AudioFormatEnum) Type ¶
func (AudioFormatEnum) Type() protoreflect.EnumType
type AudioMusicEnum ¶
type AudioMusicEnum int32
const ( AudioMusicEnum_AUDIO_MUSIC_NONE AudioMusicEnum = 0 // No audio state (this is an error). AudioMusicEnum_AUDIO_MUSIC_TITLE AudioMusicEnum = 1 // Title audio. AudioMusicEnum_AUDIO_MUSIC_MENU AudioMusicEnum = 2 // Menu audio. AudioMusicEnum_AUDIO_MUSIC_PLAY AudioMusicEnum = 3 // Play audio. AudioMusicEnum_AUDIO_MUSIC_DEATH AudioMusicEnum = 4 // Death audio (game over). AudioMusicEnum_AUDIO_MUSIC_WIN AudioMusicEnum = 5 // Win audio (wining the game). )
func (AudioMusicEnum) Descriptor ¶
func (AudioMusicEnum) Descriptor() protoreflect.EnumDescriptor
func (AudioMusicEnum) Enum ¶
func (x AudioMusicEnum) Enum() *AudioMusicEnum
func (AudioMusicEnum) EnumDescriptor
deprecated
func (AudioMusicEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use AudioMusicEnum.Descriptor instead.
func (AudioMusicEnum) Number ¶
func (x AudioMusicEnum) Number() protoreflect.EnumNumber
func (AudioMusicEnum) String ¶
func (x AudioMusicEnum) String() string
func (AudioMusicEnum) Type ¶
func (AudioMusicEnum) Type() protoreflect.EnumType
type AudioSoundEnum ¶
type AudioSoundEnum int32
const ( AudioSoundEnum_AUDIO_SOUND_NONE AudioSoundEnum = 0 // No audio sound (this is an error). AudioSoundEnum_AUDIO_SOUND_JUMP AudioSoundEnum = 1 // Jump audio sound. AudioSoundEnum_AUDIO_SOUND_GOOD AudioSoundEnum = 2 // Good audio sound (you took some mass). AudioSoundEnum_AUDIO_SOUND_BAD AudioSoundEnum = 3 // Bad audio sound (you lost some mass). )
func (AudioSoundEnum) Descriptor ¶
func (AudioSoundEnum) Descriptor() protoreflect.EnumDescriptor
func (AudioSoundEnum) Enum ¶
func (x AudioSoundEnum) Enum() *AudioSoundEnum
func (AudioSoundEnum) EnumDescriptor
deprecated
func (AudioSoundEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use AudioSoundEnum.Descriptor instead.
func (AudioSoundEnum) Number ¶
func (x AudioSoundEnum) Number() protoreflect.EnumNumber
func (AudioSoundEnum) String ¶
func (x AudioSoundEnum) String() string
func (AudioSoundEnum) Type ¶
func (AudioSoundEnum) Type() protoreflect.EnumType
type Character ¶
type Character struct { // Character name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Color string. Color *Vector3 `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` // Physic paramters. Physic *Physic `protobuf:"bytes,3,opt,name=physic,proto3" json:"physic,omitempty"` // G force. GForce *Vector3 `protobuf:"bytes,4,opt,name=g_force,json=gForce,proto3" json:"g_force,omitempty"` // Normal used by camera (is normalize(-gforce)). // Could also be normalize(postion)? Normal *Vector3 `protobuf:"bytes,5,opt,name=normal,proto3" json:"normal,omitempty"` // Status of the element. StatusEnum StatusEnum `protobuf:"varint,6,opt,name=status_enum,json=statusEnum,proto3,enum=proto.StatusEnum" json:"status_enum,omitempty"` // Special effect boost. SpecialEffectBoost *SpecialEffectParameter `protobuf:"bytes,7,opt,name=special_effect_boost,json=specialEffectBoost,proto3" json:"special_effect_boost,omitempty"` // Character type. CharacterType CharacterTypeEnum `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Character it will be represented by a sphere on server. Next: 9
func (*Character) Descriptor
deprecated
func (*Character) GetCharacterType ¶
func (x *Character) GetCharacterType() CharacterTypeEnum
func (*Character) GetSpecialEffectBoost ¶
func (x *Character) GetSpecialEffectBoost() *SpecialEffectParameter
func (*Character) GetStatusEnum ¶
func (x *Character) GetStatusEnum() StatusEnum
func (*Character) ProtoMessage ¶
func (*Character) ProtoMessage()
func (*Character) ProtoReflect ¶
func (x *Character) ProtoReflect() protoreflect.Message
type CharacterTypeEnum ¶
type CharacterTypeEnum int32
const ( CharacterTypeEnum_CHARACTER_NONE CharacterTypeEnum = 0 // Error status incorrect. CharacterTypeEnum_CHARACTER_PLAYER CharacterTypeEnum = 1 // Player character. CharacterTypeEnum_CHARACTER_NPC CharacterTypeEnum = 2 // Non player character (AI). )
func (CharacterTypeEnum) Descriptor ¶
func (CharacterTypeEnum) Descriptor() protoreflect.EnumDescriptor
func (CharacterTypeEnum) Enum ¶
func (x CharacterTypeEnum) Enum() *CharacterTypeEnum
func (CharacterTypeEnum) EnumDescriptor
deprecated
func (CharacterTypeEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use CharacterTypeEnum.Descriptor instead.
func (CharacterTypeEnum) Number ¶
func (x CharacterTypeEnum) Number() protoreflect.EnumNumber
func (CharacterTypeEnum) String ¶
func (x CharacterTypeEnum) String() string
func (CharacterTypeEnum) Type ¶
func (CharacterTypeEnum) Type() protoreflect.EnumType
type ClientAudio ¶
type ClientAudio struct { SampleRate int32 `protobuf:"varint,1,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` AudioFormatEnum AudioFormatEnum `` /* 136-byte string literal not displayed */ Channels int32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"` ChunkSize int32 `protobuf:"varint,4,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"` FadeMusic float64 `protobuf:"fixed64,5,opt,name=fade_music,json=fadeMusic,proto3" json:"fade_music,omitempty"` MusicQueues []*MusicQueue `protobuf:"bytes,6,rep,name=music_queues,json=musicQueues,proto3" json:"music_queues,omitempty"` SoundQueues []*SoundQueue `protobuf:"bytes,7,rep,name=sound_queues,json=soundQueues,proto3" json:"sound_queues,omitempty"` // contains filtered or unexported fields }
ClientAudio Next: 7
func (*ClientAudio) Descriptor
deprecated
func (*ClientAudio) Descriptor() ([]byte, []int)
Deprecated: Use ClientAudio.ProtoReflect.Descriptor instead.
func (*ClientAudio) GetAudioFormatEnum ¶
func (x *ClientAudio) GetAudioFormatEnum() AudioFormatEnum
func (*ClientAudio) GetChannels ¶
func (x *ClientAudio) GetChannels() int32
func (*ClientAudio) GetChunkSize ¶
func (x *ClientAudio) GetChunkSize() int32
func (*ClientAudio) GetFadeMusic ¶
func (x *ClientAudio) GetFadeMusic() float64
func (*ClientAudio) GetMusicQueues ¶
func (x *ClientAudio) GetMusicQueues() []*MusicQueue
func (*ClientAudio) GetSampleRate ¶
func (x *ClientAudio) GetSampleRate() int32
func (*ClientAudio) GetSoundQueues ¶
func (x *ClientAudio) GetSoundQueues() []*SoundQueue
func (*ClientAudio) ProtoMessage ¶
func (*ClientAudio) ProtoMessage()
func (*ClientAudio) ProtoReflect ¶
func (x *ClientAudio) ProtoReflect() protoreflect.Message
func (*ClientAudio) Reset ¶
func (x *ClientAudio) Reset()
func (*ClientAudio) String ¶
func (x *ClientAudio) String() string
type ClientParameter ¶
type ClientParameter struct { // Default server name. ServerName string `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` // Is ssl enable. IsSslEnable bool `protobuf:"varint,2,opt,name=is_ssl_enable,json=isSslEnable,proto3" json:"is_ssl_enable,omitempty"` // Default font. FontFile string `protobuf:"bytes,3,opt,name=font_file,json=fontFile,proto3" json:"font_file,omitempty"` // Default font sizes. FontSizes []*FontSize `protobuf:"bytes,4,rep,name=font_sizes,json=fontSizes,proto3" json:"font_sizes,omitempty"` // Overlay of the title. OverlayTitle *PageDescription `protobuf:"bytes,5,opt,name=overlay_title,json=overlayTitle,proto3" json:"overlay_title,omitempty"` // This is the overlay on state change. OverlayState *PageDescription `protobuf:"bytes,6,opt,name=overlay_state,json=overlayState,proto3" json:"overlay_state,omitempty"` // This is the overlay when you play. OverlayPlay *PageDescription `protobuf:"bytes,7,opt,name=overlay_play,json=overlayPlay,proto3" json:"overlay_play,omitempty"` // contains filtered or unexported fields }
ClientParameter Next: 8
func (*ClientParameter) Descriptor
deprecated
func (*ClientParameter) Descriptor() ([]byte, []int)
Deprecated: Use ClientParameter.ProtoReflect.Descriptor instead.
func (*ClientParameter) GetFontFile ¶
func (x *ClientParameter) GetFontFile() string
func (*ClientParameter) GetFontSizes ¶
func (x *ClientParameter) GetFontSizes() []*FontSize
func (*ClientParameter) GetIsSslEnable ¶
func (x *ClientParameter) GetIsSslEnable() bool
func (*ClientParameter) GetOverlayPlay ¶
func (x *ClientParameter) GetOverlayPlay() *PageDescription
func (*ClientParameter) GetOverlayState ¶
func (x *ClientParameter) GetOverlayState() *PageDescription
func (*ClientParameter) GetOverlayTitle ¶
func (x *ClientParameter) GetOverlayTitle() *PageDescription
func (*ClientParameter) GetServerName ¶
func (x *ClientParameter) GetServerName() string
func (*ClientParameter) ProtoMessage ¶
func (*ClientParameter) ProtoMessage()
func (*ClientParameter) ProtoReflect ¶
func (x *ClientParameter) ProtoReflect() protoreflect.Message
func (*ClientParameter) Reset ¶
func (x *ClientParameter) Reset()
func (*ClientParameter) String ¶
func (x *ClientParameter) String() string
type ColorParameter ¶
type ColorParameter struct { // Color name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Color value. Color *Vector3 `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` // contains filtered or unexported fields }
ColorParameter Next: 3
func (*ColorParameter) Descriptor
deprecated
func (*ColorParameter) Descriptor() ([]byte, []int)
Deprecated: Use ColorParameter.ProtoReflect.Descriptor instead.
func (*ColorParameter) GetColor ¶
func (x *ColorParameter) GetColor() *Vector3
func (*ColorParameter) GetName ¶
func (x *ColorParameter) GetName() string
func (*ColorParameter) ProtoMessage ¶
func (*ColorParameter) ProtoMessage()
func (*ColorParameter) ProtoReflect ¶
func (x *ColorParameter) ProtoReflect() protoreflect.Message
func (*ColorParameter) Reset ¶
func (x *ColorParameter) Reset()
func (*ColorParameter) String ¶
func (x *ColorParameter) String() string
type ColorString ¶
type ColorString struct { Red string `protobuf:"bytes,1,opt,name=red,proto3" json:"red,omitempty"` Green string `protobuf:"bytes,2,opt,name=green,proto3" json:"green,omitempty"` Blue string `protobuf:"bytes,3,opt,name=blue,proto3" json:"blue,omitempty"` Alpha string `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // contains filtered or unexported fields }
ColorString Next: 5
func (*ColorString) Descriptor
deprecated
func (*ColorString) Descriptor() ([]byte, []int)
Deprecated: Use ColorString.ProtoReflect.Descriptor instead.
func (*ColorString) GetAlpha ¶
func (x *ColorString) GetAlpha() string
func (*ColorString) GetBlue ¶
func (x *ColorString) GetBlue() string
func (*ColorString) GetGreen ¶
func (x *ColorString) GetGreen() string
func (*ColorString) GetRed ¶
func (x *ColorString) GetRed() string
func (*ColorString) ProtoMessage ¶
func (*ColorString) ProtoMessage()
func (*ColorString) ProtoReflect ¶
func (x *ColorString) ProtoReflect() protoreflect.Message
func (*ColorString) Reset ¶
func (x *ColorString) Reset()
func (*ColorString) String ¶
func (x *ColorString) String() string
type CreateCharacterRequest ¶
type CreateCharacterRequest struct { // Character name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Character color. Color *Vector3 `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` // contains filtered or unexported fields }
CreateCharacterRequest Next: 3
func (*CreateCharacterRequest) Descriptor
deprecated
func (*CreateCharacterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCharacterRequest.ProtoReflect.Descriptor instead.
func (*CreateCharacterRequest) GetColor ¶
func (x *CreateCharacterRequest) GetColor() *Vector3
func (*CreateCharacterRequest) GetName ¶
func (x *CreateCharacterRequest) GetName() string
func (*CreateCharacterRequest) ProtoMessage ¶
func (*CreateCharacterRequest) ProtoMessage()
func (*CreateCharacterRequest) ProtoReflect ¶
func (x *CreateCharacterRequest) ProtoReflect() protoreflect.Message
func (*CreateCharacterRequest) Reset ¶
func (x *CreateCharacterRequest) Reset()
func (*CreateCharacterRequest) String ¶
func (x *CreateCharacterRequest) String() string
type CreateCharacterResponse ¶
type CreateCharacterResponse struct { // Return enum. ReturnEnum ReturnEnum `protobuf:"varint,1,opt,name=return_enum,json=returnEnum,proto3,enum=proto.ReturnEnum" json:"return_enum,omitempty"` // contains filtered or unexported fields }
CreateCharacterResponse Next: 2
func (*CreateCharacterResponse) Descriptor
deprecated
func (*CreateCharacterResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCharacterResponse.ProtoReflect.Descriptor instead.
func (*CreateCharacterResponse) GetReturnEnum ¶
func (x *CreateCharacterResponse) GetReturnEnum() ReturnEnum
func (*CreateCharacterResponse) ProtoMessage ¶
func (*CreateCharacterResponse) ProtoMessage()
func (*CreateCharacterResponse) ProtoReflect ¶
func (x *CreateCharacterResponse) ProtoReflect() protoreflect.Message
func (*CreateCharacterResponse) Reset ¶
func (x *CreateCharacterResponse) Reset()
func (*CreateCharacterResponse) String ¶
func (x *CreateCharacterResponse) String() string
type DarwinServiceClient ¶
type DarwinServiceClient interface { // Update the position of object in the world to the clients. Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (DarwinService_UpdateClient, error) // Client report the change of position and speed of a player. ReportInGame(ctx context.Context, in *ReportInGameRequest, opts ...grpc.CallOption) (*ReportInGameResponse, error) // Create a new character. CreateCharacter(ctx context.Context, in *CreateCharacterRequest, opts ...grpc.CallOption) (*CreateCharacterResponse, error) // Ping the server. Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) }
DarwinServiceClient is the client API for DarwinService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDarwinServiceClient ¶
func NewDarwinServiceClient(cc grpc.ClientConnInterface) DarwinServiceClient
type DarwinServiceServer ¶
type DarwinServiceServer interface { // Update the position of object in the world to the clients. Update(*UpdateRequest, DarwinService_UpdateServer) error // Client report the change of position and speed of a player. ReportInGame(context.Context, *ReportInGameRequest) (*ReportInGameResponse, error) // Create a new character. CreateCharacter(context.Context, *CreateCharacterRequest) (*CreateCharacterResponse, error) // Ping the server. Ping(context.Context, *PingRequest) (*PingResponse, error) // contains filtered or unexported methods }
DarwinServiceServer is the server API for DarwinService service. All implementations must embed UnimplementedDarwinServiceServer for forward compatibility
type DarwinService_UpdateClient ¶
type DarwinService_UpdateClient interface { Recv() (*UpdateResponse, error) grpc.ClientStream }
type DarwinService_UpdateServer ¶
type DarwinService_UpdateServer interface { Send(*UpdateResponse) error grpc.ServerStream }
type DecorationEnum ¶
type DecorationEnum int32
const ( DecorationEnum_DECORATION_NONE DecorationEnum = 0 // No outline. DecorationEnum_DECORATION_SHADOW DecorationEnum = 1 // Shadow a single outline in one direction. DecorationEnum_DECORATION_OUTLINE DecorationEnum = 2 // Outlne a shadow that is in every direction. )
func (DecorationEnum) Descriptor ¶
func (DecorationEnum) Descriptor() protoreflect.EnumDescriptor
func (DecorationEnum) Enum ¶
func (x DecorationEnum) Enum() *DecorationEnum
func (DecorationEnum) EnumDescriptor
deprecated
func (DecorationEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use DecorationEnum.Descriptor instead.
func (DecorationEnum) Number ¶
func (x DecorationEnum) Number() protoreflect.EnumNumber
func (DecorationEnum) String ¶
func (x DecorationEnum) String() string
func (DecorationEnum) Type ¶
func (DecorationEnum) Type() protoreflect.EnumType
type Element ¶
type Element struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Material string. Color *Vector3 `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` // Physic, position, speed etc... Physic *Physic `protobuf:"bytes,3,opt,name=physic,proto3" json:"physic,omitempty"` // What type of element is it? TypeEnum TypeEnum `protobuf:"varint,4,opt,name=type_enum,json=typeEnum,proto3,enum=proto.TypeEnum" json:"type_enum,omitempty"` // contains filtered or unexported fields }
Sphere element in the world. Next: 5
func (*Element) Descriptor
deprecated
func (*Element) GetTypeEnum ¶
func (*Element) ProtoMessage ¶
func (*Element) ProtoMessage()
func (*Element) ProtoReflect ¶
func (x *Element) ProtoReflect() protoreflect.Message
type FontSize ¶
type FontSize struct { TextSizeEnum TextSizeEnum `protobuf:"varint,1,opt,name=text_size_enum,json=textSizeEnum,proto3,enum=proto.TextSizeEnum" json:"text_size_enum,omitempty"` Size float64 `protobuf:"fixed64,2,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
FontSize Next: 3
func (*FontSize) Descriptor
deprecated
func (*FontSize) GetTextSizeEnum ¶
func (x *FontSize) GetTextSizeEnum() TextSizeEnum
func (*FontSize) ProtoMessage ¶
func (*FontSize) ProtoMessage()
func (*FontSize) ProtoReflect ¶
func (x *FontSize) ProtoReflect() protoreflect.Message
type MusicQueue ¶
type MusicQueue struct { AudioFile string `protobuf:"bytes,1,opt,name=audio_file,json=audioFile,proto3" json:"audio_file,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` AudioMusicEnum AudioMusicEnum `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
MusicQueue Next: 5
func (*MusicQueue) Descriptor
deprecated
func (*MusicQueue) Descriptor() ([]byte, []int)
Deprecated: Use MusicQueue.ProtoReflect.Descriptor instead.
func (*MusicQueue) GetAudioFile ¶
func (x *MusicQueue) GetAudioFile() string
func (*MusicQueue) GetAudioMusicEnum ¶
func (x *MusicQueue) GetAudioMusicEnum() AudioMusicEnum
func (*MusicQueue) GetAuthor ¶
func (x *MusicQueue) GetAuthor() string
func (*MusicQueue) GetTitle ¶
func (x *MusicQueue) GetTitle() string
func (*MusicQueue) ProtoMessage ¶
func (*MusicQueue) ProtoMessage()
func (*MusicQueue) ProtoReflect ¶
func (x *MusicQueue) ProtoReflect() protoreflect.Message
func (*MusicQueue) Reset ¶
func (x *MusicQueue) Reset()
func (*MusicQueue) String ¶
func (x *MusicQueue) String() string
type PageDescription ¶
type PageDescription struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Size *Vector2 `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"` PageElements []*PageElement `protobuf:"bytes,3,rep,name=page_elements,json=pageElements,proto3" json:"page_elements,omitempty"` // contains filtered or unexported fields }
PageDescription Next: 4
func (*PageDescription) Descriptor
deprecated
func (*PageDescription) Descriptor() ([]byte, []int)
Deprecated: Use PageDescription.ProtoReflect.Descriptor instead.
func (*PageDescription) GetName ¶
func (x *PageDescription) GetName() string
func (*PageDescription) GetPageElements ¶
func (x *PageDescription) GetPageElements() []*PageElement
func (*PageDescription) GetSize ¶
func (x *PageDescription) GetSize() *Vector2
func (*PageDescription) ProtoMessage ¶
func (*PageDescription) ProtoMessage()
func (*PageDescription) ProtoReflect ¶
func (x *PageDescription) ProtoReflect() protoreflect.Message
func (*PageDescription) Reset ¶
func (x *PageDescription) Reset()
func (*PageDescription) String ¶
func (x *PageDescription) String() string
type PageElement ¶
type PageElement struct { // Types that are assignable to PageElementOneof: // // *PageElement_Text // *PageElement_Image // *PageElement_Line // *PageElement_RectFilled // *PageElement_List PageElementOneof isPageElement_PageElementOneof `protobuf_oneof:"PageElementOneof"` // contains filtered or unexported fields }
PageElement Next: 5
func (*PageElement) Descriptor
deprecated
func (*PageElement) Descriptor() ([]byte, []int)
Deprecated: Use PageElement.ProtoReflect.Descriptor instead.
func (*PageElement) GetImage ¶
func (x *PageElement) GetImage() *PageElementImage
func (*PageElement) GetLine ¶
func (x *PageElement) GetLine() *PageElementLine
func (*PageElement) GetList ¶
func (x *PageElement) GetList() *PageElementList
func (*PageElement) GetPageElementOneof ¶
func (m *PageElement) GetPageElementOneof() isPageElement_PageElementOneof
func (*PageElement) GetRectFilled ¶
func (x *PageElement) GetRectFilled() *PageElementRectFilled
func (*PageElement) GetText ¶
func (x *PageElement) GetText() *PageElementText
func (*PageElement) ProtoMessage ¶
func (*PageElement) ProtoMessage()
func (*PageElement) ProtoReflect ¶
func (x *PageElement) ProtoReflect() protoreflect.Message
func (*PageElement) Reset ¶
func (x *PageElement) Reset()
func (*PageElement) String ¶
func (x *PageElement) String() string
type PageElementDecoration ¶
type PageElementDecoration struct { // Types that are assignable to OffsetOneof: // // *PageElementDecoration_Offset // *PageElementDecoration_OffsetString OffsetOneof isPageElementDecoration_OffsetOneof `protobuf_oneof:"OffsetOneof"` // Types that are assignable to ColorOneof: // // *PageElementDecoration_Color // *PageElementDecoration_ColorString ColorOneof isPageElementDecoration_ColorOneof `protobuf_oneof:"ColorOneof"` DecorationEnum DecorationEnum `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
PageElementDecoration Next: 5
func (*PageElementDecoration) Descriptor
deprecated
func (*PageElementDecoration) Descriptor() ([]byte, []int)
Deprecated: Use PageElementDecoration.ProtoReflect.Descriptor instead.
func (*PageElementDecoration) GetColor ¶
func (x *PageElementDecoration) GetColor() *Vector4
func (*PageElementDecoration) GetColorOneof ¶
func (m *PageElementDecoration) GetColorOneof() isPageElementDecoration_ColorOneof
func (*PageElementDecoration) GetColorString ¶
func (x *PageElementDecoration) GetColorString() *ColorString
func (*PageElementDecoration) GetDecorationEnum ¶
func (x *PageElementDecoration) GetDecorationEnum() DecorationEnum
func (*PageElementDecoration) GetOffset ¶
func (x *PageElementDecoration) GetOffset() *Vector2
func (*PageElementDecoration) GetOffsetOneof ¶
func (m *PageElementDecoration) GetOffsetOneof() isPageElementDecoration_OffsetOneof
func (*PageElementDecoration) GetOffsetString ¶
func (x *PageElementDecoration) GetOffsetString() *Vector2String
func (*PageElementDecoration) ProtoMessage ¶
func (*PageElementDecoration) ProtoMessage()
func (*PageElementDecoration) ProtoReflect ¶
func (x *PageElementDecoration) ProtoReflect() protoreflect.Message
func (*PageElementDecoration) Reset ¶
func (x *PageElementDecoration) Reset()
func (*PageElementDecoration) String ¶
func (x *PageElementDecoration) String() string
type PageElementDecoration_Color ¶
type PageElementDecoration_Color struct {
Color *Vector4 `protobuf:"bytes,3,opt,name=color,proto3,oneof"`
}
type PageElementDecoration_ColorString ¶
type PageElementDecoration_ColorString struct {
ColorString *ColorString `protobuf:"bytes,4,opt,name=color_string,json=colorString,proto3,oneof"`
}
type PageElementDecoration_Offset ¶
type PageElementDecoration_Offset struct {
Offset *Vector2 `protobuf:"bytes,1,opt,name=offset,proto3,oneof"`
}
type PageElementDecoration_OffsetString ¶
type PageElementDecoration_OffsetString struct {
OffsetString *Vector2String `protobuf:"bytes,2,opt,name=offset_string,json=offsetString,proto3,oneof"`
}
type PageElementImage ¶
type PageElementImage struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Types that are assignable to PositionOneof: // // *PageElementImage_Position // *PageElementImage_PositionString PositionOneof isPageElementImage_PositionOneof `protobuf_oneof:"PositionOneof"` // Types that are assignable to SizeOneof: // // *PageElementImage_Size // *PageElementImage_SizeString SizeOneof isPageElementImage_SizeOneof `protobuf_oneof:"SizeOneof"` AlignmentEnum AlignmentEnum `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
PageElementImage Next: 7
func (*PageElementImage) Descriptor
deprecated
func (*PageElementImage) Descriptor() ([]byte, []int)
Deprecated: Use PageElementImage.ProtoReflect.Descriptor instead.
func (*PageElementImage) GetAlignmentEnum ¶
func (x *PageElementImage) GetAlignmentEnum() AlignmentEnum
func (*PageElementImage) GetImage ¶
func (x *PageElementImage) GetImage() string
func (*PageElementImage) GetPosition ¶
func (x *PageElementImage) GetPosition() *Vector2
func (*PageElementImage) GetPositionOneof ¶
func (m *PageElementImage) GetPositionOneof() isPageElementImage_PositionOneof
func (*PageElementImage) GetPositionString ¶
func (x *PageElementImage) GetPositionString() *Vector2String
func (*PageElementImage) GetSize ¶
func (x *PageElementImage) GetSize() *Vector2
func (*PageElementImage) GetSizeOneof ¶
func (m *PageElementImage) GetSizeOneof() isPageElementImage_SizeOneof
func (*PageElementImage) GetSizeString ¶
func (x *PageElementImage) GetSizeString() *Vector2String
func (*PageElementImage) ProtoMessage ¶
func (*PageElementImage) ProtoMessage()
func (*PageElementImage) ProtoReflect ¶
func (x *PageElementImage) ProtoReflect() protoreflect.Message
func (*PageElementImage) Reset ¶
func (x *PageElementImage) Reset()
func (*PageElementImage) String ¶
func (x *PageElementImage) String() string
type PageElementImage_Position ¶
type PageElementImage_Position struct {
Position *Vector2 `protobuf:"bytes,2,opt,name=position,proto3,oneof"`
}
type PageElementImage_PositionString ¶
type PageElementImage_PositionString struct {
PositionString *Vector2String `protobuf:"bytes,3,opt,name=position_string,json=positionString,proto3,oneof"`
}
type PageElementImage_Size ¶
type PageElementImage_Size struct {
Size *Vector2 `protobuf:"bytes,4,opt,name=size,proto3,oneof"`
}
type PageElementImage_SizeString ¶
type PageElementImage_SizeString struct {
SizeString *Vector2String `protobuf:"bytes,5,opt,name=size_string,json=sizeString,proto3,oneof"`
}
type PageElementLine ¶
type PageElementLine struct { // Types that are assignable to StartOneof: // // *PageElementLine_Start // *PageElementLine_StartString StartOneof isPageElementLine_StartOneof `protobuf_oneof:"StartOneof"` // Types that are assignable to EndOneof: // // *PageElementLine_End // *PageElementLine_EndString EndOneof isPageElementLine_EndOneof `protobuf_oneof:"EndOneof"` // Types that are assignable to ColorOneof: // // *PageElementLine_Color // *PageElementLine_ColorString ColorOneof isPageElementLine_ColorOneof `protobuf_oneof:"ColorOneof"` Thickness float64 `protobuf:"fixed64,7,opt,name=thickness,proto3" json:"thickness,omitempty"` AlignmentEnum AlignmentEnum `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
PageElementLine Next: 9
func (*PageElementLine) Descriptor
deprecated
func (*PageElementLine) Descriptor() ([]byte, []int)
Deprecated: Use PageElementLine.ProtoReflect.Descriptor instead.
func (*PageElementLine) GetAlignmentEnum ¶
func (x *PageElementLine) GetAlignmentEnum() AlignmentEnum
func (*PageElementLine) GetColor ¶
func (x *PageElementLine) GetColor() *Vector4
func (*PageElementLine) GetColorOneof ¶
func (m *PageElementLine) GetColorOneof() isPageElementLine_ColorOneof
func (*PageElementLine) GetColorString ¶
func (x *PageElementLine) GetColorString() *ColorString
func (*PageElementLine) GetEnd ¶
func (x *PageElementLine) GetEnd() *Vector2
func (*PageElementLine) GetEndOneof ¶
func (m *PageElementLine) GetEndOneof() isPageElementLine_EndOneof
func (*PageElementLine) GetEndString ¶
func (x *PageElementLine) GetEndString() *Vector2String
func (*PageElementLine) GetStart ¶
func (x *PageElementLine) GetStart() *Vector2
func (*PageElementLine) GetStartOneof ¶
func (m *PageElementLine) GetStartOneof() isPageElementLine_StartOneof
func (*PageElementLine) GetStartString ¶
func (x *PageElementLine) GetStartString() *Vector2String
func (*PageElementLine) GetThickness ¶
func (x *PageElementLine) GetThickness() float64
func (*PageElementLine) ProtoMessage ¶
func (*PageElementLine) ProtoMessage()
func (*PageElementLine) ProtoReflect ¶
func (x *PageElementLine) ProtoReflect() protoreflect.Message
func (*PageElementLine) Reset ¶
func (x *PageElementLine) Reset()
func (*PageElementLine) String ¶
func (x *PageElementLine) String() string
type PageElementLine_Color ¶
type PageElementLine_Color struct {
Color *Vector4 `protobuf:"bytes,5,opt,name=color,proto3,oneof"`
}
type PageElementLine_ColorString ¶
type PageElementLine_ColorString struct {
ColorString *ColorString `protobuf:"bytes,6,opt,name=color_string,json=colorString,proto3,oneof"`
}
type PageElementLine_End ¶
type PageElementLine_End struct {
End *Vector2 `protobuf:"bytes,3,opt,name=end,proto3,oneof"`
}
type PageElementLine_EndString ¶
type PageElementLine_EndString struct {
EndString *Vector2String `protobuf:"bytes,4,opt,name=end_string,json=endString,proto3,oneof"`
}
type PageElementLine_Start ¶
type PageElementLine_Start struct {
Start *Vector2 `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}
type PageElementLine_StartString ¶
type PageElementLine_StartString struct {
StartString *Vector2String `protobuf:"bytes,2,opt,name=start_string,json=startString,proto3,oneof"`
}
type PageElementList ¶
type PageElementList struct { ElementCount string `protobuf:"bytes,1,opt,name=element_count,json=elementCount,proto3" json:"element_count,omitempty"` ElementIndex string `protobuf:"bytes,2,opt,name=element_index,json=elementIndex,proto3" json:"element_index,omitempty"` // Types that are assignable to PositionOneof: // // *PageElementList_Position // *PageElementList_PositionString PositionOneof isPageElementList_PositionOneof `protobuf_oneof:"PositionOneof"` // Types that are assignable to SizeOneof: // // *PageElementList_Size // *PageElementList_SizeString SizeOneof isPageElementList_SizeOneof `protobuf_oneof:"SizeOneof"` PageElements []*PageElement `protobuf:"bytes,7,rep,name=page_elements,json=pageElements,proto3" json:"page_elements,omitempty"` // contains filtered or unexported fields }
PageElementList Next: 8
func (*PageElementList) Descriptor
deprecated
func (*PageElementList) Descriptor() ([]byte, []int)
Deprecated: Use PageElementList.ProtoReflect.Descriptor instead.
func (*PageElementList) GetElementCount ¶
func (x *PageElementList) GetElementCount() string
func (*PageElementList) GetElementIndex ¶
func (x *PageElementList) GetElementIndex() string
func (*PageElementList) GetPageElements ¶
func (x *PageElementList) GetPageElements() []*PageElement
func (*PageElementList) GetPosition ¶
func (x *PageElementList) GetPosition() *Vector2
func (*PageElementList) GetPositionOneof ¶
func (m *PageElementList) GetPositionOneof() isPageElementList_PositionOneof
func (*PageElementList) GetPositionString ¶
func (x *PageElementList) GetPositionString() *Vector2String
func (*PageElementList) GetSize ¶
func (x *PageElementList) GetSize() *Vector2
func (*PageElementList) GetSizeOneof ¶
func (m *PageElementList) GetSizeOneof() isPageElementList_SizeOneof
func (*PageElementList) GetSizeString ¶
func (x *PageElementList) GetSizeString() *Vector2String
func (*PageElementList) ProtoMessage ¶
func (*PageElementList) ProtoMessage()
func (*PageElementList) ProtoReflect ¶
func (x *PageElementList) ProtoReflect() protoreflect.Message
func (*PageElementList) Reset ¶
func (x *PageElementList) Reset()
func (*PageElementList) String ¶
func (x *PageElementList) String() string
type PageElementList_Position ¶
type PageElementList_Position struct {
Position *Vector2 `protobuf:"bytes,3,opt,name=position,proto3,oneof"`
}
type PageElementList_PositionString ¶
type PageElementList_PositionString struct {
PositionString *Vector2String `protobuf:"bytes,4,opt,name=position_string,json=positionString,proto3,oneof"`
}
type PageElementList_Size ¶
type PageElementList_Size struct {
Size *Vector2 `protobuf:"bytes,5,opt,name=size,proto3,oneof"`
}
type PageElementList_SizeString ¶
type PageElementList_SizeString struct {
SizeString *Vector2String `protobuf:"bytes,6,opt,name=size_string,json=sizeString,proto3,oneof"`
}
type PageElementRectFilled ¶
type PageElementRectFilled struct { // Types that are assignable to PositionOneof: // // *PageElementRectFilled_Position // *PageElementRectFilled_PositionString PositionOneof isPageElementRectFilled_PositionOneof `protobuf_oneof:"PositionOneof"` // Types that are assignable to SizeOneof: // // *PageElementRectFilled_Size // *PageElementRectFilled_SizeString SizeOneof isPageElementRectFilled_SizeOneof `protobuf_oneof:"SizeOneof"` // Types that are assignable to ColorOneof: // // *PageElementRectFilled_Color // *PageElementRectFilled_ColorString ColorOneof isPageElementRectFilled_ColorOneof `protobuf_oneof:"ColorOneof"` Rounding float64 `protobuf:"fixed64,7,opt,name=rounding,proto3" json:"rounding,omitempty"` AlignmentEnum AlignmentEnum `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
PageElementRectFilled Next: 9
func (*PageElementRectFilled) Descriptor
deprecated
func (*PageElementRectFilled) Descriptor() ([]byte, []int)
Deprecated: Use PageElementRectFilled.ProtoReflect.Descriptor instead.
func (*PageElementRectFilled) GetAlignmentEnum ¶
func (x *PageElementRectFilled) GetAlignmentEnum() AlignmentEnum
func (*PageElementRectFilled) GetColor ¶
func (x *PageElementRectFilled) GetColor() *Vector4
func (*PageElementRectFilled) GetColorOneof ¶
func (m *PageElementRectFilled) GetColorOneof() isPageElementRectFilled_ColorOneof
func (*PageElementRectFilled) GetColorString ¶
func (x *PageElementRectFilled) GetColorString() *ColorString
func (*PageElementRectFilled) GetPosition ¶
func (x *PageElementRectFilled) GetPosition() *Vector2
func (*PageElementRectFilled) GetPositionOneof ¶
func (m *PageElementRectFilled) GetPositionOneof() isPageElementRectFilled_PositionOneof
func (*PageElementRectFilled) GetPositionString ¶
func (x *PageElementRectFilled) GetPositionString() *Vector2String
func (*PageElementRectFilled) GetRounding ¶
func (x *PageElementRectFilled) GetRounding() float64
func (*PageElementRectFilled) GetSize ¶
func (x *PageElementRectFilled) GetSize() *Vector2
func (*PageElementRectFilled) GetSizeOneof ¶
func (m *PageElementRectFilled) GetSizeOneof() isPageElementRectFilled_SizeOneof
func (*PageElementRectFilled) GetSizeString ¶
func (x *PageElementRectFilled) GetSizeString() *Vector2String
func (*PageElementRectFilled) ProtoMessage ¶
func (*PageElementRectFilled) ProtoMessage()
func (*PageElementRectFilled) ProtoReflect ¶
func (x *PageElementRectFilled) ProtoReflect() protoreflect.Message
func (*PageElementRectFilled) Reset ¶
func (x *PageElementRectFilled) Reset()
func (*PageElementRectFilled) String ¶
func (x *PageElementRectFilled) String() string
type PageElementRectFilled_Color ¶
type PageElementRectFilled_Color struct {
Color *Vector4 `protobuf:"bytes,5,opt,name=color,proto3,oneof"`
}
type PageElementRectFilled_ColorString ¶
type PageElementRectFilled_ColorString struct {
ColorString *ColorString `protobuf:"bytes,6,opt,name=color_string,json=colorString,proto3,oneof"`
}
type PageElementRectFilled_Position ¶
type PageElementRectFilled_Position struct {
Position *Vector2 `protobuf:"bytes,1,opt,name=position,proto3,oneof"`
}
type PageElementRectFilled_PositionString ¶
type PageElementRectFilled_PositionString struct {
PositionString *Vector2String `protobuf:"bytes,2,opt,name=position_string,json=positionString,proto3,oneof"`
}
type PageElementRectFilled_Size ¶
type PageElementRectFilled_Size struct {
Size *Vector2 `protobuf:"bytes,3,opt,name=size,proto3,oneof"`
}
type PageElementRectFilled_SizeString ¶
type PageElementRectFilled_SizeString struct {
SizeString *Vector2String `protobuf:"bytes,4,opt,name=size_string,json=sizeString,proto3,oneof"`
}
type PageElementText ¶
type PageElementText struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Types that are assignable to ColorOneof: // // *PageElementText_Color // *PageElementText_ColorString ColorOneof isPageElementText_ColorOneof `protobuf_oneof:"ColorOneof"` // Types that are assignable to PositionOneof: // // *PageElementText_Position // *PageElementText_PositionString PositionOneof isPageElementText_PositionOneof `protobuf_oneof:"PositionOneof"` TextSizeEnum TextSizeEnum `protobuf:"varint,6,opt,name=text_size_enum,json=textSizeEnum,proto3,enum=proto.TextSizeEnum" json:"text_size_enum,omitempty"` AlignmentEnum AlignmentEnum `` /* 126-byte string literal not displayed */ NoReplace bool `protobuf:"varint,8,opt,name=no_replace,json=noReplace,proto3" json:"no_replace,omitempty"` Decorations []*PageElementDecoration `protobuf:"bytes,9,rep,name=decorations,proto3" json:"decorations,omitempty"` // contains filtered or unexported fields }
PageElementText Next: 9
func (*PageElementText) Descriptor
deprecated
func (*PageElementText) Descriptor() ([]byte, []int)
Deprecated: Use PageElementText.ProtoReflect.Descriptor instead.
func (*PageElementText) GetAlignmentEnum ¶
func (x *PageElementText) GetAlignmentEnum() AlignmentEnum
func (*PageElementText) GetColor ¶
func (x *PageElementText) GetColor() *Vector4
func (*PageElementText) GetColorOneof ¶
func (m *PageElementText) GetColorOneof() isPageElementText_ColorOneof
func (*PageElementText) GetColorString ¶
func (x *PageElementText) GetColorString() *ColorString
func (*PageElementText) GetDecorations ¶
func (x *PageElementText) GetDecorations() []*PageElementDecoration
func (*PageElementText) GetNoReplace ¶
func (x *PageElementText) GetNoReplace() bool
func (*PageElementText) GetPosition ¶
func (x *PageElementText) GetPosition() *Vector2
func (*PageElementText) GetPositionOneof ¶
func (m *PageElementText) GetPositionOneof() isPageElementText_PositionOneof
func (*PageElementText) GetPositionString ¶
func (x *PageElementText) GetPositionString() *Vector2String
func (*PageElementText) GetText ¶
func (x *PageElementText) GetText() string
func (*PageElementText) GetTextSizeEnum ¶
func (x *PageElementText) GetTextSizeEnum() TextSizeEnum
func (*PageElementText) ProtoMessage ¶
func (*PageElementText) ProtoMessage()
func (*PageElementText) ProtoReflect ¶
func (x *PageElementText) ProtoReflect() protoreflect.Message
func (*PageElementText) Reset ¶
func (x *PageElementText) Reset()
func (*PageElementText) String ¶
func (x *PageElementText) String() string
type PageElementText_Color ¶
type PageElementText_Color struct {
Color *Vector4 `protobuf:"bytes,2,opt,name=color,proto3,oneof"`
}
type PageElementText_ColorString ¶
type PageElementText_ColorString struct {
ColorString *ColorString `protobuf:"bytes,3,opt,name=color_string,json=colorString,proto3,oneof"`
}
type PageElementText_Position ¶
type PageElementText_Position struct {
Position *Vector2 `protobuf:"bytes,4,opt,name=position,proto3,oneof"`
}
type PageElementText_PositionString ¶
type PageElementText_PositionString struct {
PositionString *Vector2String `protobuf:"bytes,5,opt,name=position_string,json=positionString,proto3,oneof"`
}
type PageElement_Image ¶
type PageElement_Image struct {
Image *PageElementImage `protobuf:"bytes,2,opt,name=image,proto3,oneof"`
}
type PageElement_Line ¶
type PageElement_Line struct {
Line *PageElementLine `protobuf:"bytes,3,opt,name=line,proto3,oneof"`
}
type PageElement_List ¶
type PageElement_List struct {
List *PageElementList `protobuf:"bytes,5,opt,name=list,proto3,oneof"`
}
type PageElement_RectFilled ¶
type PageElement_RectFilled struct {
RectFilled *PageElementRectFilled `protobuf:"bytes,4,opt,name=rect_filled,json=rectFilled,proto3,oneof"`
}
type PageElement_Text ¶
type PageElement_Text struct {
Text *PageElementText `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type Physic ¶
type Physic struct { // Sphere radius. Radius float64 `protobuf:"fixed64,1,opt,name=radius,proto3" json:"radius,omitempty"` // weight total. Mass float64 `protobuf:"fixed64,2,opt,name=mass,proto3" json:"mass,omitempty"` // Sphere position. Position *Vector3 `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"` // Velocity the speed it has d(position)/dt. PositionDt *Vector3 `protobuf:"bytes,5,opt,name=position_dt,json=positionDt,proto3" json:"position_dt,omitempty"` // Sphere look direction. Orientation *Vector4 `protobuf:"bytes,4,opt,name=orientation,proto3" json:"orientation,omitempty"` // Rotation d(orientation)/dt. OrientationDt *Vector4 `protobuf:"bytes,6,opt,name=orientation_dt,json=orientationDt,proto3" json:"orientation_dt,omitempty"` // contains filtered or unexported fields }
Physical property of the element. Next: 7
func (*Physic) Descriptor
deprecated
func (*Physic) GetOrientation ¶
func (*Physic) GetOrientationDt ¶
func (*Physic) GetPosition ¶
func (*Physic) GetPositionDt ¶
func (*Physic) ProtoMessage ¶
func (*Physic) ProtoMessage()
func (*Physic) ProtoReflect ¶
func (x *Physic) ProtoReflect() protoreflect.Message
type PingRequest ¶
type PingRequest struct { // Value to check. Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
PingRequest Next: 2
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) GetValue ¶
func (x *PingRequest) GetValue() int32
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct { // Returned value. Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // Present time on the server. Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Player parameter (used to set parameters). PlayerParameter *PlayerParameter `protobuf:"bytes,3,opt,name=player_parameter,json=playerParameter,proto3" json:"player_parameter,omitempty"` // contains filtered or unexported fields }
PingResponse Next: 4
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetPlayerParameter ¶
func (x *PingResponse) GetPlayerParameter() *PlayerParameter
func (*PingResponse) GetTime ¶
func (x *PingResponse) GetTime() float64
func (*PingResponse) GetValue ¶
func (x *PingResponse) GetValue() int32
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type PlayerParameter ¶
type PlayerParameter struct { // Vertical speed (jumping). VerticalSpeed float64 `protobuf:"fixed64,1,opt,name=vertical_speed,json=verticalSpeed,proto3" json:"vertical_speed,omitempty"` // Horizontal speed (running). HorizontalSpeed float64 `protobuf:"fixed64,2,opt,name=horizontal_speed,json=horizontalSpeed,proto3" json:"horizontal_speed,omitempty"` // Boost speed. BoostSpeed float64 `protobuf:"fixed64,3,opt,name=boost_speed,json=boostSpeed,proto3" json:"boost_speed,omitempty"` // Player start mass. StartMass float64 `protobuf:"fixed64,4,opt,name=start_mass,json=startMass,proto3" json:"start_mass,omitempty"` // Player drop height (start at planet radius and add this value). DropHeight float64 `protobuf:"fixed64,5,opt,name=drop_height,json=dropHeight,proto3" json:"drop_height,omitempty"` // Penalty for eating too similar to player color. Penalty float64 `protobuf:"fixed64,6,opt,name=penalty,proto3" json:"penalty,omitempty"` // living cost in mass value. LivingCost float64 `protobuf:"fixed64,7,opt,name=living_cost,json=livingCost,proto3" json:"living_cost,omitempty"` // Friction (this will stop the move at a certain point). Friction float64 `protobuf:"fixed64,8,opt,name=friction,proto3" json:"friction,omitempty"` // Victory size (in volume). VictorySize float64 `protobuf:"fixed64,9,opt,name=victory_size,json=victorySize,proto3" json:"victory_size,omitempty"` // Size at which you cannot grow with upgrades. MaxUpgradeGrow float64 `protobuf:"fixed64,10,opt,name=max_upgrade_grow,json=maxUpgradeGrow,proto3" json:"max_upgrade_grow,omitempty"` // Disconnection timeout. DisconnectionTimeout float64 `protobuf:"fixed64,11,opt,name=disconnection_timeout,json=disconnectionTimeout,proto3" json:"disconnection_timeout,omitempty"` // Eating speed. EatSpeed float64 `protobuf:"fixed64,12,opt,name=eat_speed,json=eatSpeed,proto3" json:"eat_speed,omitempty"` // Color list. ColorParameters []*ColorParameter `protobuf:"bytes,13,rep,name=color_parameters,json=colorParameters,proto3" json:"color_parameters,omitempty"` // Special effect boost. SpecialEffectBoost *SpecialEffectParameter `protobuf:"bytes,14,opt,name=special_effect_boost,json=specialEffectBoost,proto3" json:"special_effect_boost,omitempty"` // contains filtered or unexported fields }
PlayerParameter Next: 15
func (*PlayerParameter) Descriptor
deprecated
func (*PlayerParameter) Descriptor() ([]byte, []int)
Deprecated: Use PlayerParameter.ProtoReflect.Descriptor instead.
func (*PlayerParameter) GetBoostSpeed ¶
func (x *PlayerParameter) GetBoostSpeed() float64
func (*PlayerParameter) GetColorParameters ¶
func (x *PlayerParameter) GetColorParameters() []*ColorParameter
func (*PlayerParameter) GetDisconnectionTimeout ¶
func (x *PlayerParameter) GetDisconnectionTimeout() float64
func (*PlayerParameter) GetDropHeight ¶
func (x *PlayerParameter) GetDropHeight() float64
func (*PlayerParameter) GetEatSpeed ¶
func (x *PlayerParameter) GetEatSpeed() float64
func (*PlayerParameter) GetFriction ¶
func (x *PlayerParameter) GetFriction() float64
func (*PlayerParameter) GetHorizontalSpeed ¶
func (x *PlayerParameter) GetHorizontalSpeed() float64
func (*PlayerParameter) GetLivingCost ¶
func (x *PlayerParameter) GetLivingCost() float64
func (*PlayerParameter) GetMaxUpgradeGrow ¶
func (x *PlayerParameter) GetMaxUpgradeGrow() float64
func (*PlayerParameter) GetPenalty ¶
func (x *PlayerParameter) GetPenalty() float64
func (*PlayerParameter) GetSpecialEffectBoost ¶
func (x *PlayerParameter) GetSpecialEffectBoost() *SpecialEffectParameter
func (*PlayerParameter) GetStartMass ¶
func (x *PlayerParameter) GetStartMass() float64
func (*PlayerParameter) GetVerticalSpeed ¶
func (x *PlayerParameter) GetVerticalSpeed() float64
func (*PlayerParameter) GetVictorySize ¶
func (x *PlayerParameter) GetVictorySize() float64
func (*PlayerParameter) ProtoMessage ¶
func (*PlayerParameter) ProtoMessage()
func (*PlayerParameter) ProtoReflect ¶
func (x *PlayerParameter) ProtoReflect() protoreflect.Message
func (*PlayerParameter) Reset ¶
func (x *PlayerParameter) Reset()
func (*PlayerParameter) String ¶
func (x *PlayerParameter) String() string
type ReportInGameRequest ¶
type ReportInGameRequest struct { // Character name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // New physic. Physic *Physic `protobuf:"bytes,2,opt,name=physic,proto3" json:"physic,omitempty"` // Name of potential hit. PotentialHit string `protobuf:"bytes,3,opt,name=potential_hit,json=potentialHit,proto3" json:"potential_hit,omitempty"` // Character status. StatusEnum StatusEnum `protobuf:"varint,4,opt,name=status_enum,json=statusEnum,proto3,enum=proto.StatusEnum" json:"status_enum,omitempty"` // Character special effect. SpecialEffectBoost *SpecialEffectParameter `protobuf:"bytes,5,opt,name=special_effect_boost,json=specialEffectBoost,proto3" json:"special_effect_boost,omitempty"` // contains filtered or unexported fields }
ReportInGameRequest Next: 6
func (*ReportInGameRequest) Descriptor
deprecated
func (*ReportInGameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportInGameRequest.ProtoReflect.Descriptor instead.
func (*ReportInGameRequest) GetName ¶
func (x *ReportInGameRequest) GetName() string
func (*ReportInGameRequest) GetPhysic ¶
func (x *ReportInGameRequest) GetPhysic() *Physic
func (*ReportInGameRequest) GetPotentialHit ¶
func (x *ReportInGameRequest) GetPotentialHit() string
func (*ReportInGameRequest) GetSpecialEffectBoost ¶
func (x *ReportInGameRequest) GetSpecialEffectBoost() *SpecialEffectParameter
func (*ReportInGameRequest) GetStatusEnum ¶
func (x *ReportInGameRequest) GetStatusEnum() StatusEnum
func (*ReportInGameRequest) ProtoMessage ¶
func (*ReportInGameRequest) ProtoMessage()
func (*ReportInGameRequest) ProtoReflect ¶
func (x *ReportInGameRequest) ProtoReflect() protoreflect.Message
func (*ReportInGameRequest) Reset ¶
func (x *ReportInGameRequest) Reset()
func (*ReportInGameRequest) String ¶
func (x *ReportInGameRequest) String() string
type ReportInGameResponse ¶
type ReportInGameResponse struct {
// contains filtered or unexported fields
}
ReportInGameResponse Next: 1
func (*ReportInGameResponse) Descriptor
deprecated
func (*ReportInGameResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportInGameResponse.ProtoReflect.Descriptor instead.
func (*ReportInGameResponse) ProtoMessage ¶
func (*ReportInGameResponse) ProtoMessage()
func (*ReportInGameResponse) ProtoReflect ¶
func (x *ReportInGameResponse) ProtoReflect() protoreflect.Message
func (*ReportInGameResponse) Reset ¶
func (x *ReportInGameResponse) Reset()
func (*ReportInGameResponse) String ¶
func (x *ReportInGameResponse) String() string
type ReturnEnum ¶
type ReturnEnum int32
const ( ReturnEnum_RETURN_ERROR ReturnEnum = 0 // Error in the function? ReturnEnum_RETURN_OK ReturnEnum = 1 // OK this passed well. ReturnEnum_RETURN_REJECTED ReturnEnum = 2 // Rejected by the server. )
func (ReturnEnum) Descriptor ¶
func (ReturnEnum) Descriptor() protoreflect.EnumDescriptor
func (ReturnEnum) Enum ¶
func (x ReturnEnum) Enum() *ReturnEnum
func (ReturnEnum) EnumDescriptor
deprecated
func (ReturnEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReturnEnum.Descriptor instead.
func (ReturnEnum) Number ¶
func (x ReturnEnum) Number() protoreflect.EnumNumber
func (ReturnEnum) String ¶
func (x ReturnEnum) String() string
func (ReturnEnum) Type ¶
func (ReturnEnum) Type() protoreflect.EnumType
type SoundQueue ¶
type SoundQueue struct { AudioFile string `protobuf:"bytes,1,opt,name=audio_file,json=audioFile,proto3" json:"audio_file,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` AudioSoundEnum AudioSoundEnum `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
AudioSound Next: 5
func (*SoundQueue) Descriptor
deprecated
func (*SoundQueue) Descriptor() ([]byte, []int)
Deprecated: Use SoundQueue.ProtoReflect.Descriptor instead.
func (*SoundQueue) GetAudioFile ¶
func (x *SoundQueue) GetAudioFile() string
func (*SoundQueue) GetAudioSoundEnum ¶
func (x *SoundQueue) GetAudioSoundEnum() AudioSoundEnum
func (*SoundQueue) GetAuthor ¶
func (x *SoundQueue) GetAuthor() string
func (*SoundQueue) GetTitle ¶
func (x *SoundQueue) GetTitle() string
func (*SoundQueue) ProtoMessage ¶
func (*SoundQueue) ProtoMessage()
func (*SoundQueue) ProtoReflect ¶
func (x *SoundQueue) ProtoReflect() protoreflect.Message
func (*SoundQueue) Reset ¶
func (x *SoundQueue) Reset()
func (*SoundQueue) String ¶
func (x *SoundQueue) String() string
type SpecialEffectParameter ¶
type SpecialEffectParameter struct { // Special value. SpecialStateEnum SpecialStateEnum `` /* 140-byte string literal not displayed */ // Effect duration. EffectDuration float64 `protobuf:"fixed64,2,opt,name=effect_duration,json=effectDuration,proto3" json:"effect_duration,omitempty"` // Time left for the special or cooldown. CooldownDuration float64 `protobuf:"fixed64,3,opt,name=cooldown_duration,json=cooldownDuration,proto3" json:"cooldown_duration,omitempty"` // counter value (curent counter). Counter float64 `protobuf:"fixed64,4,opt,name=counter,proto3" json:"counter,omitempty"` // contains filtered or unexported fields }
SpecialEffectParameter Next: 5
func (*SpecialEffectParameter) Descriptor
deprecated
func (*SpecialEffectParameter) Descriptor() ([]byte, []int)
Deprecated: Use SpecialEffectParameter.ProtoReflect.Descriptor instead.
func (*SpecialEffectParameter) GetCooldownDuration ¶
func (x *SpecialEffectParameter) GetCooldownDuration() float64
func (*SpecialEffectParameter) GetCounter ¶
func (x *SpecialEffectParameter) GetCounter() float64
func (*SpecialEffectParameter) GetEffectDuration ¶
func (x *SpecialEffectParameter) GetEffectDuration() float64
func (*SpecialEffectParameter) GetSpecialStateEnum ¶
func (x *SpecialEffectParameter) GetSpecialStateEnum() SpecialStateEnum
func (*SpecialEffectParameter) ProtoMessage ¶
func (*SpecialEffectParameter) ProtoMessage()
func (*SpecialEffectParameter) ProtoReflect ¶
func (x *SpecialEffectParameter) ProtoReflect() protoreflect.Message
func (*SpecialEffectParameter) Reset ¶
func (x *SpecialEffectParameter) Reset()
func (*SpecialEffectParameter) String ¶
func (x *SpecialEffectParameter) String() string
type SpecialStateEnum ¶
type SpecialStateEnum int32
const ( SpecialStateEnum_SPECIAL_STATE_WAIT SpecialStateEnum = 0 // Wait for someone to use this. SpecialStateEnum_SPECIAL_STATE_ACTIVE SpecialStateEnum = 1 // Special is active. SpecialStateEnum_SPECIAL_STATE_COOLDOWN SpecialStateEnum = 2 // Special is on cooldown. )
func (SpecialStateEnum) Descriptor ¶
func (SpecialStateEnum) Descriptor() protoreflect.EnumDescriptor
func (SpecialStateEnum) Enum ¶
func (x SpecialStateEnum) Enum() *SpecialStateEnum
func (SpecialStateEnum) EnumDescriptor
deprecated
func (SpecialStateEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpecialStateEnum.Descriptor instead.
func (SpecialStateEnum) Number ¶
func (x SpecialStateEnum) Number() protoreflect.EnumNumber
func (SpecialStateEnum) String ¶
func (x SpecialStateEnum) String() string
func (SpecialStateEnum) Type ¶
func (SpecialStateEnum) Type() protoreflect.EnumType
type StatusEnum ¶
type StatusEnum int32
const ( StatusEnum_STATUS_UNKNOWN StatusEnum = 0 // Unknown this is an error! StatusEnum_STATUS_ON_GROUND StatusEnum = 1 // On the ground. StatusEnum_STATUS_JUMPING StatusEnum = 2 // Jumping. StatusEnum_STATUS_LOADING StatusEnum = 3 // Loading in the game. StatusEnum_STATUS_DEAD StatusEnum = 4 // Dead. )
func (StatusEnum) Descriptor ¶
func (StatusEnum) Descriptor() protoreflect.EnumDescriptor
func (StatusEnum) Enum ¶
func (x StatusEnum) Enum() *StatusEnum
func (StatusEnum) EnumDescriptor
deprecated
func (StatusEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusEnum.Descriptor instead.
func (StatusEnum) Number ¶
func (x StatusEnum) Number() protoreflect.EnumNumber
func (StatusEnum) String ¶
func (x StatusEnum) String() string
func (StatusEnum) Type ¶
func (StatusEnum) Type() protoreflect.EnumType
type TextSizeEnum ¶
type TextSizeEnum int32
const ( TextSizeEnum_TEXT_SIZE_SMALL TextSizeEnum = 0 // 18 pixels TextSizeEnum_TEXT_SIZE_MEDIUM TextSizeEnum = 1 // 24 pixels TextSizeEnum_TEXT_SIZE_LARGE TextSizeEnum = 2 // 36 pixels TextSizeEnum_TEXT_SIZE_TITLE TextSizeEnum = 3 // 160 pixels TextSizeEnum_TEXT_SIZE_LARGER TextSizeEnum = 4 // 80 pixels )
func (TextSizeEnum) Descriptor ¶
func (TextSizeEnum) Descriptor() protoreflect.EnumDescriptor
func (TextSizeEnum) Enum ¶
func (x TextSizeEnum) Enum() *TextSizeEnum
func (TextSizeEnum) EnumDescriptor
deprecated
func (TextSizeEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TextSizeEnum.Descriptor instead.
func (TextSizeEnum) Number ¶
func (x TextSizeEnum) Number() protoreflect.EnumNumber
func (TextSizeEnum) String ¶
func (x TextSizeEnum) String() string
func (TextSizeEnum) Type ¶
func (TextSizeEnum) Type() protoreflect.EnumType
type TypeEnum ¶
type TypeEnum int32
const ( TypeEnum_TYPE_UNKNOWN TypeEnum = 0 // Unknown this is an error! TypeEnum_TYPE_GROUND TypeEnum = 1 // From where the gravity is generated. TypeEnum_TYPE_EXPLOSION TypeEnum = 2 // Explosion that push stuff around. TypeEnum_TYPE_UPGRADE TypeEnum = 3 // Upgrade to upgrade character. TypeEnum_TYPE_GREEN TypeEnum = 4 // Greenery (no effect on anything). TypeEnum_TYPE_BROWN TypeEnum = 5 // Tree bark and non destructible elements. TypeEnum_TYPE_WATER TypeEnum = 6 // Water. TypeEnum_TYPE_CHARACTER TypeEnum = 7 // Player character. )
func (TypeEnum) Descriptor ¶
func (TypeEnum) Descriptor() protoreflect.EnumDescriptor
func (TypeEnum) EnumDescriptor
deprecated
func (TypeEnum) Number ¶
func (x TypeEnum) Number() protoreflect.EnumNumber
func (TypeEnum) Type ¶
func (TypeEnum) Type() protoreflect.EnumType
type UnimplementedDarwinServiceServer ¶
type UnimplementedDarwinServiceServer struct { }
UnimplementedDarwinServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDarwinServiceServer) CreateCharacter ¶
func (UnimplementedDarwinServiceServer) CreateCharacter(context.Context, *CreateCharacterRequest) (*CreateCharacterResponse, error)
func (UnimplementedDarwinServiceServer) Ping ¶
func (UnimplementedDarwinServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedDarwinServiceServer) ReportInGame ¶
func (UnimplementedDarwinServiceServer) ReportInGame(context.Context, *ReportInGameRequest) (*ReportInGameResponse, error)
func (UnimplementedDarwinServiceServer) Update ¶
func (UnimplementedDarwinServiceServer) Update(*UpdateRequest, DarwinService_UpdateServer) error
type UnsafeDarwinServiceServer ¶
type UnsafeDarwinServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDarwinServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DarwinServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { // Ask for a named object. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
UpdateRequest Next: 2
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetName ¶
func (x *UpdateRequest) GetName() string
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct { // Character list and position. Characters []*Character `protobuf:"bytes,1,rep,name=characters,proto3" json:"characters,omitempty"` // Elements list and position. Elements []*Element `protobuf:"bytes,2,rep,name=elements,proto3" json:"elements,omitempty"` // Present time on the server. Time float64 `protobuf:"fixed64,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
UpdateResponse Next: 4
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetCharacters ¶
func (x *UpdateResponse) GetCharacters() []*Character
func (*UpdateResponse) GetElements ¶
func (x *UpdateResponse) GetElements() []*Element
func (*UpdateResponse) GetTime ¶
func (x *UpdateResponse) GetTime() float64
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
type Vector2 ¶
type Vector2 struct { X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
Vector 2 this store position or other 2 float values. Next: 3
func (*Vector2) Descriptor
deprecated
func (*Vector2) ProtoMessage ¶
func (*Vector2) ProtoMessage()
func (*Vector2) ProtoReflect ¶
func (x *Vector2) ProtoReflect() protoreflect.Message
type Vector2String ¶
type Vector2String struct { X string `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"` Y string `protobuf:"bytes,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
Vector2String Next: 3
func (*Vector2String) Descriptor
deprecated
func (*Vector2String) Descriptor() ([]byte, []int)
Deprecated: Use Vector2String.ProtoReflect.Descriptor instead.
func (*Vector2String) GetX ¶
func (x *Vector2String) GetX() string
func (*Vector2String) GetY ¶
func (x *Vector2String) GetY() string
func (*Vector2String) ProtoMessage ¶
func (*Vector2String) ProtoMessage()
func (*Vector2String) ProtoReflect ¶
func (x *Vector2String) ProtoReflect() protoreflect.Message
func (*Vector2String) Reset ¶
func (x *Vector2String) Reset()
func (*Vector2String) String ¶
func (x *Vector2String) String() string
type Vector3 ¶
type Vector3 struct { X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` Z float64 `protobuf:"fixed64,3,opt,name=z,proto3" json:"z,omitempty"` // contains filtered or unexported fields }
Vector 3 this store position or other 3 float values. Next: 4
func (*Vector3) Descriptor
deprecated
func (*Vector3) ProtoMessage ¶
func (*Vector3) ProtoMessage()
func (*Vector3) ProtoReflect ¶
func (x *Vector3) ProtoReflect() protoreflect.Message
type Vector4 ¶
type Vector4 struct { X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` Z float64 `protobuf:"fixed64,3,opt,name=z,proto3" json:"z,omitempty"` W float64 `protobuf:"fixed64,4,opt,name=w,proto3" json:"w,omitempty"` // contains filtered or unexported fields }
Vector 4 this is representing a quaternion (rotation). Next: 5
func (*Vector4) Descriptor
deprecated
func (*Vector4) ProtoMessage ¶
func (*Vector4) ProtoMessage()
func (*Vector4) ProtoReflect ¶
func (x *Vector4) ProtoReflect() protoreflect.Message
type VitalEnum ¶
type VitalEnum int32
func (VitalEnum) Descriptor ¶
func (VitalEnum) Descriptor() protoreflect.EnumDescriptor
func (VitalEnum) EnumDescriptor
deprecated
func (VitalEnum) Number ¶
func (x VitalEnum) Number() protoreflect.EnumNumber
func (VitalEnum) Type ¶
func (VitalEnum) Type() protoreflect.EnumType
type WorldDatabase ¶
type WorldDatabase struct { // Elements list. Elements []*Element `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` // Characters list. Characters []*Character `protobuf:"bytes,2,rep,name=characters,proto3" json:"characters,omitempty"` // Present time on the server. Time float64 `protobuf:"fixed64,3,opt,name=time,proto3" json:"time,omitempty"` // World parameter this will be moved to client at connection. PlayerParameter *PlayerParameter `protobuf:"bytes,4,opt,name=player_parameter,json=playerParameter,proto3" json:"player_parameter,omitempty"` // contains filtered or unexported fields }
WorldDatabase saved as a file. Next: 5
func (*WorldDatabase) Descriptor
deprecated
func (*WorldDatabase) Descriptor() ([]byte, []int)
Deprecated: Use WorldDatabase.ProtoReflect.Descriptor instead.
func (*WorldDatabase) GetCharacters ¶
func (x *WorldDatabase) GetCharacters() []*Character
func (*WorldDatabase) GetElements ¶
func (x *WorldDatabase) GetElements() []*Element
func (*WorldDatabase) GetPlayerParameter ¶
func (x *WorldDatabase) GetPlayerParameter() *PlayerParameter
func (*WorldDatabase) GetTime ¶
func (x *WorldDatabase) GetTime() float64
func (*WorldDatabase) ProtoMessage ¶
func (*WorldDatabase) ProtoMessage()
func (*WorldDatabase) ProtoReflect ¶
func (x *WorldDatabase) ProtoReflect() protoreflect.Message
func (*WorldDatabase) Reset ¶
func (x *WorldDatabase) Reset()
func (*WorldDatabase) String ¶
func (x *WorldDatabase) String() string