Documentation ¶
Overview ¶
Package command is a generated protocol buffer package.
It is generated from these files:
github.com/ubanita/firenozzle/command.proto
It has these top-level messages:
EncodedCommand Point ChangeSetting GetSetting GetSettings PutSettings NameValue Log BoundingBox SetBackgroundImage SetLogVerbosity HandleGesture HandleServerDisconnected HandleServerConnected NoOperation Appearance AddEdge ChangeEdge EdgeAppearance AddDisc AddTriangle ChangeTriangle AddRectangle ChangeRectangle AddCircle ChangeCircle AddTrapezium ChangeTrapezium AddLineSegment AddPolyline ChangeAppearance ChangeGeometry ActivateMotion DeactivateMotion JoinClient Physics AddSprite DivideSpace MoveSprite RotateSprite AccelerateSprite RotationAccelerateSprite GetSprite RemoveSprite AddText TextAppearance ChangeText Touch StartTouches MoveTouches EndTouches PlayerCommand CommandResult TakeScreenshot StoreImage Reset SetCookie HandleDragDrop HandleSpriteTouched KeyValue HandleDeviceInfo RemoveAllSprites HandleCanvasResized OpenLocation
Index ¶
- Constants
- Variables
- func PNonEmptyString(s string) *string
- func Pbool(b bool) *bool
- func Pfloat32(value float64) *float32
- func Pint32(v int32) *int32
- func Pint64(v int64) *int64
- func Print32(value float64) *int32
- func Pstring(s string) *string
- func ToJSON(cmd Command) string
- func ToLogEntry(cmd Command) string
- func TypeName(cmdType int32) string
- type AccelerateSprite
- func (m *AccelerateSprite) GetId() int32
- func (m *AccelerateSprite) GetLayer() int32
- func (m *AccelerateSprite) GetVx() float32
- func (m *AccelerateSprite) GetVy() float32
- func (this *AccelerateSprite) GoString() string
- func (m *AccelerateSprite) Marshal() (data []byte, err error)
- func (m *AccelerateSprite) MarshalTo(data []byte) (n int, err error)
- func (*AccelerateSprite) ProtoMessage()
- func (m *AccelerateSprite) Reset()
- func (m *AccelerateSprite) Size() (n int)
- func (this *AccelerateSprite) String() string
- func (m *AccelerateSprite) Unmarshal(data []byte) error
- type ActivateMotion
- func (m *ActivateMotion) GetName() string
- func (this *ActivateMotion) GoString() string
- func (m *ActivateMotion) Marshal() (data []byte, err error)
- func (m *ActivateMotion) MarshalTo(data []byte) (n int, err error)
- func (*ActivateMotion) ProtoMessage()
- func (m *ActivateMotion) Reset()
- func (m *ActivateMotion) Size() (n int)
- func (this *ActivateMotion) String() string
- func (m *ActivateMotion) Unmarshal(data []byte) error
- type AddCircle
- func (m *AddCircle) GetAngle() float32
- func (m *AddCircle) GetAppearance() *Appearance
- func (m *AddCircle) GetId() int32
- func (m *AddCircle) GetLayer() int32
- func (m *AddCircle) GetRadius() float32
- func (m *AddCircle) GetX() float32
- func (m *AddCircle) GetY() float32
- func (this *AddCircle) GoString() string
- func (m *AddCircle) Marshal() (data []byte, err error)
- func (m *AddCircle) MarshalTo(data []byte) (n int, err error)
- func (*AddCircle) ProtoMessage()
- func (m *AddCircle) Reset()
- func (m *AddCircle) Size() (n int)
- func (this *AddCircle) String() string
- func (m *AddCircle) Unmarshal(data []byte) error
- type AddDisc
- func (m *AddDisc) GetAppearance() *Appearance
- func (m *AddDisc) GetId() int32
- func (m *AddDisc) GetLayer() int32
- func (m *AddDisc) GetPhysics() *Physics
- func (m *AddDisc) GetRadius() float32
- func (m *AddDisc) GetX() float32
- func (m *AddDisc) GetY() float32
- func (this *AddDisc) GoString() string
- func (m *AddDisc) Marshal() (data []byte, err error)
- func (m *AddDisc) MarshalTo(data []byte) (n int, err error)
- func (*AddDisc) ProtoMessage()
- func (m *AddDisc) Reset()
- func (m *AddDisc) Size() (n int)
- func (this *AddDisc) String() string
- func (m *AddDisc) Unmarshal(data []byte) error
- type AddEdge
- func (m *AddEdge) GetA() *Point
- func (m *AddEdge) GetAppearance() *EdgeAppearance
- func (m *AddEdge) GetB() *Point
- func (m *AddEdge) GetId() int32
- func (m *AddEdge) GetLayer() int32
- func (m *AddEdge) GetPhysics() *Physics
- func (this *AddEdge) GoString() string
- func (m *AddEdge) Marshal() (data []byte, err error)
- func (m *AddEdge) MarshalTo(data []byte) (n int, err error)
- func (*AddEdge) ProtoMessage()
- func (m *AddEdge) Reset()
- func (m *AddEdge) Size() (n int)
- func (this *AddEdge) String() string
- func (m *AddEdge) Unmarshal(data []byte) error
- type AddLineSegment
- func (m *AddLineSegment) GetA() *Point
- func (m *AddLineSegment) GetAppearance() *Appearance
- func (m *AddLineSegment) GetB() *Point
- func (m *AddLineSegment) GetId() int32
- func (m *AddLineSegment) GetLayer() int32
- func (m *AddLineSegment) GetThickness() float32
- func (this *AddLineSegment) GoString() string
- func (m *AddLineSegment) Marshal() (data []byte, err error)
- func (m *AddLineSegment) MarshalTo(data []byte) (n int, err error)
- func (*AddLineSegment) ProtoMessage()
- func (m *AddLineSegment) Reset()
- func (m *AddLineSegment) Size() (n int)
- func (this *AddLineSegment) String() string
- func (m *AddLineSegment) Unmarshal(data []byte) error
- type AddPolyline
- func (m *AddPolyline) GetAppearance() *Appearance
- func (m *AddPolyline) GetId() int32
- func (m *AddPolyline) GetLayer() int32
- func (m *AddPolyline) GetPoints() []*Point
- func (this *AddPolyline) GoString() string
- func (m *AddPolyline) Marshal() (data []byte, err error)
- func (m *AddPolyline) MarshalTo(data []byte) (n int, err error)
- func (*AddPolyline) ProtoMessage()
- func (m *AddPolyline) Reset()
- func (m *AddPolyline) Size() (n int)
- func (this *AddPolyline) String() string
- func (m *AddPolyline) Unmarshal(data []byte) error
- type AddRectangle
- func (m *AddRectangle) GetAngle() float32
- func (m *AddRectangle) GetAppearance() *Appearance
- func (m *AddRectangle) GetHeight() float32
- func (m *AddRectangle) GetId() int32
- func (m *AddRectangle) GetLayer() int32
- func (m *AddRectangle) GetWidth() float32
- func (m *AddRectangle) GetX() float32
- func (m *AddRectangle) GetY() float32
- func (this *AddRectangle) GoString() string
- func (m *AddRectangle) Marshal() (data []byte, err error)
- func (m *AddRectangle) MarshalTo(data []byte) (n int, err error)
- func (*AddRectangle) ProtoMessage()
- func (m *AddRectangle) Reset()
- func (m *AddRectangle) Size() (n int)
- func (this *AddRectangle) String() string
- func (m *AddRectangle) Unmarshal(data []byte) error
- type AddSprite
- func (m *AddSprite) GetA() *Point
- func (m *AddSprite) GetAngle() float32
- func (m *AddSprite) GetAppearance() *Appearance
- func (m *AddSprite) GetB() *Point
- func (m *AddSprite) GetHeight() float32
- func (m *AddSprite) GetId() int32
- func (m *AddSprite) GetLayer() int32
- func (m *AddSprite) GetPhysics() *Physics
- func (m *AddSprite) GetPoints() []*Point
- func (m *AddSprite) GetRadius() float32
- func (m *AddSprite) GetShape() Shape
- func (m *AddSprite) GetWidth() float32
- func (m *AddSprite) GetX() float32
- func (m *AddSprite) GetY() float32
- func (this *AddSprite) GoString() string
- func (m *AddSprite) Marshal() (data []byte, err error)
- func (m *AddSprite) MarshalTo(data []byte) (n int, err error)
- func (*AddSprite) ProtoMessage()
- func (m *AddSprite) Reset()
- func (m *AddSprite) Size() (n int)
- func (this *AddSprite) String() string
- func (m *AddSprite) Unmarshal(data []byte) error
- type AddText
- func (c AddText) AsChange() *ChangeText
- func (m *AddText) GetAppearance() *TextAppearance
- func (m *AddText) GetId() int32
- func (m *AddText) GetLayer() int32
- func (m *AddText) GetText() string
- func (m *AddText) GetX() float32
- func (m *AddText) GetY() float32
- func (this *AddText) GoString() string
- func (m *AddText) Marshal() (data []byte, err error)
- func (m *AddText) MarshalTo(data []byte) (n int, err error)
- func (*AddText) ProtoMessage()
- func (m *AddText) Reset()
- func (m *AddText) Size() (n int)
- func (this *AddText) String() string
- func (m *AddText) Unmarshal(data []byte) error
- type AddTrapezium
- func (m *AddTrapezium) GetAngle() float32
- func (m *AddTrapezium) GetAppearance() *Appearance
- func (m *AddTrapezium) GetHeight() float32
- func (m *AddTrapezium) GetId() int32
- func (m *AddTrapezium) GetLayer() int32
- func (m *AddTrapezium) GetX() float32
- func (m *AddTrapezium) GetY() float32
- func (this *AddTrapezium) GoString() string
- func (m *AddTrapezium) Marshal() (data []byte, err error)
- func (m *AddTrapezium) MarshalTo(data []byte) (n int, err error)
- func (*AddTrapezium) ProtoMessage()
- func (m *AddTrapezium) Reset()
- func (m *AddTrapezium) Size() (n int)
- func (this *AddTrapezium) String() string
- func (m *AddTrapezium) Unmarshal(data []byte) error
- type AddTriangle
- func (m *AddTriangle) GetAngle() float32
- func (m *AddTriangle) GetAppearance() *Appearance
- func (m *AddTriangle) GetId() int32
- func (m *AddTriangle) GetLayer() int32
- func (m *AddTriangle) GetRadius() float32
- func (m *AddTriangle) GetX() float32
- func (m *AddTriangle) GetY() float32
- func (this *AddTriangle) GoString() string
- func (m *AddTriangle) Marshal() (data []byte, err error)
- func (m *AddTriangle) MarshalTo(data []byte) (n int, err error)
- func (*AddTriangle) ProtoMessage()
- func (m *AddTriangle) Reset()
- func (m *AddTriangle) Size() (n int)
- func (this *AddTriangle) String() string
- func (m *AddTriangle) Unmarshal(data []byte) error
- type Appearance
- func (m *Appearance) GetFill() string
- func (m *Appearance) GetLineWidth() int32
- func (m *Appearance) GetStroke() string
- func (m *Appearance) GetTexture() string
- func (this *Appearance) GoString() string
- func (m *Appearance) Marshal() (data []byte, err error)
- func (m *Appearance) MarshalTo(data []byte) (n int, err error)
- func (*Appearance) ProtoMessage()
- func (m *Appearance) Reset()
- func (m *Appearance) Size() (n int)
- func (this *Appearance) String() string
- func (m *Appearance) Unmarshal(data []byte) error
- type ApplyForceToSprite
- type ApplyImpulseToSprite
- type BoundingBox
- func (m *BoundingBox) GetBottom() int32
- func (m *BoundingBox) GetLeft() int32
- func (m *BoundingBox) GetRight() int32
- func (m *BoundingBox) GetTop() int32
- func (this *BoundingBox) GoString() string
- func (m *BoundingBox) Marshal() (data []byte, err error)
- func (m *BoundingBox) MarshalTo(data []byte) (n int, err error)
- func (*BoundingBox) ProtoMessage()
- func (m *BoundingBox) Reset()
- func (m *BoundingBox) Size() (n int)
- func (this *BoundingBox) String() string
- func (m *BoundingBox) Unmarshal(data []byte) error
- type ChangeAppearance
- func (m *ChangeAppearance) GetAppearance() *Appearance
- func (m *ChangeAppearance) GetId() int32
- func (m *ChangeAppearance) GetLayer() int32
- func (this *ChangeAppearance) GoString() string
- func (m *ChangeAppearance) Marshal() (data []byte, err error)
- func (m *ChangeAppearance) MarshalTo(data []byte) (n int, err error)
- func (*ChangeAppearance) ProtoMessage()
- func (m *ChangeAppearance) Reset()
- func (m *ChangeAppearance) Size() (n int)
- func (this *ChangeAppearance) String() string
- func (m *ChangeAppearance) Unmarshal(data []byte) error
- type ChangeCircle
- func (m *ChangeCircle) GetAngle() float32
- func (m *ChangeCircle) GetAppearance() *Appearance
- func (m *ChangeCircle) GetId() int32
- func (m *ChangeCircle) GetLayer() int32
- func (m *ChangeCircle) GetRadius() float32
- func (m *ChangeCircle) GetX() float32
- func (m *ChangeCircle) GetY() float32
- func (this *ChangeCircle) GoString() string
- func (m *ChangeCircle) Marshal() (data []byte, err error)
- func (m *ChangeCircle) MarshalTo(data []byte) (n int, err error)
- func (*ChangeCircle) ProtoMessage()
- func (m *ChangeCircle) Reset()
- func (m *ChangeCircle) Size() (n int)
- func (this *ChangeCircle) String() string
- func (m *ChangeCircle) Unmarshal(data []byte) error
- type ChangeEdge
- func (m *ChangeEdge) GetA() *Point
- func (m *ChangeEdge) GetAppearance() *EdgeAppearance
- func (m *ChangeEdge) GetB() *Point
- func (m *ChangeEdge) GetId() int32
- func (m *ChangeEdge) GetLayer() int32
- func (this *ChangeEdge) GoString() string
- func (m *ChangeEdge) Marshal() (data []byte, err error)
- func (m *ChangeEdge) MarshalTo(data []byte) (n int, err error)
- func (*ChangeEdge) ProtoMessage()
- func (m *ChangeEdge) Reset()
- func (m *ChangeEdge) Size() (n int)
- func (this *ChangeEdge) String() string
- func (m *ChangeEdge) Unmarshal(data []byte) error
- type ChangeGeometry
- func (m *ChangeGeometry) GetA() *Point
- func (m *ChangeGeometry) GetB() *Point
- func (m *ChangeGeometry) GetHeight() float32
- func (m *ChangeGeometry) GetId() int32
- func (m *ChangeGeometry) GetLayer() int32
- func (m *ChangeGeometry) GetRadius() float32
- func (m *ChangeGeometry) GetThickness() float32
- func (m *ChangeGeometry) GetWidth() float32
- func (this *ChangeGeometry) GoString() string
- func (m *ChangeGeometry) Marshal() (data []byte, err error)
- func (m *ChangeGeometry) MarshalTo(data []byte) (n int, err error)
- func (*ChangeGeometry) ProtoMessage()
- func (m *ChangeGeometry) Reset()
- func (m *ChangeGeometry) Size() (n int)
- func (this *ChangeGeometry) String() string
- func (m *ChangeGeometry) Unmarshal(data []byte) error
- type ChangeRectangle
- func (m *ChangeRectangle) GetAngle() float32
- func (m *ChangeRectangle) GetAppearance() *Appearance
- func (m *ChangeRectangle) GetHeight() float32
- func (m *ChangeRectangle) GetId() int32
- func (m *ChangeRectangle) GetLayer() int32
- func (m *ChangeRectangle) GetWidth() float32
- func (m *ChangeRectangle) GetX() float32
- func (m *ChangeRectangle) GetY() float32
- func (this *ChangeRectangle) GoString() string
- func (m *ChangeRectangle) Marshal() (data []byte, err error)
- func (m *ChangeRectangle) MarshalTo(data []byte) (n int, err error)
- func (*ChangeRectangle) ProtoMessage()
- func (m *ChangeRectangle) Reset()
- func (m *ChangeRectangle) Size() (n int)
- func (this *ChangeRectangle) String() string
- func (m *ChangeRectangle) Unmarshal(data []byte) error
- type ChangeSetting
- func (m *ChangeSetting) GetName() string
- func (m *ChangeSetting) GetType() string
- func (m *ChangeSetting) GetValue() string
- func (this *ChangeSetting) GoString() string
- func (m *ChangeSetting) Marshal() (data []byte, err error)
- func (m *ChangeSetting) MarshalTo(data []byte) (n int, err error)
- func (*ChangeSetting) ProtoMessage()
- func (m *ChangeSetting) Reset()
- func (m *ChangeSetting) Size() (n int)
- func (this *ChangeSetting) String() string
- func (m *ChangeSetting) Unmarshal(data []byte) error
- type ChangeText
- func (m *ChangeText) GetAppearance() *TextAppearance
- func (m *ChangeText) GetId() int32
- func (m *ChangeText) GetLayer() int32
- func (m *ChangeText) GetText() string
- func (m *ChangeText) GetX() float32
- func (m *ChangeText) GetY() float32
- func (this *ChangeText) GoString() string
- func (m *ChangeText) Marshal() (data []byte, err error)
- func (m *ChangeText) MarshalTo(data []byte) (n int, err error)
- func (*ChangeText) ProtoMessage()
- func (m *ChangeText) Reset()
- func (m *ChangeText) Size() (n int)
- func (this *ChangeText) String() string
- func (m *ChangeText) Unmarshal(data []byte) error
- type ChangeTrapezium
- func (m *ChangeTrapezium) GetAngle() float32
- func (m *ChangeTrapezium) GetAppearance() *Appearance
- func (m *ChangeTrapezium) GetHeight() float32
- func (m *ChangeTrapezium) GetId() int32
- func (m *ChangeTrapezium) GetLayer() int32
- func (m *ChangeTrapezium) GetX() float32
- func (m *ChangeTrapezium) GetY() float32
- func (this *ChangeTrapezium) GoString() string
- func (m *ChangeTrapezium) Marshal() (data []byte, err error)
- func (m *ChangeTrapezium) MarshalTo(data []byte) (n int, err error)
- func (*ChangeTrapezium) ProtoMessage()
- func (m *ChangeTrapezium) Reset()
- func (m *ChangeTrapezium) Size() (n int)
- func (this *ChangeTrapezium) String() string
- func (m *ChangeTrapezium) Unmarshal(data []byte) error
- type ChangeTriangle
- func (m *ChangeTriangle) GetAngle() float32
- func (m *ChangeTriangle) GetAppearance() *Appearance
- func (m *ChangeTriangle) GetId() int32
- func (m *ChangeTriangle) GetLayer() int32
- func (m *ChangeTriangle) GetRadius() float32
- func (m *ChangeTriangle) GetX() float32
- func (m *ChangeTriangle) GetY() float32
- func (this *ChangeTriangle) GoString() string
- func (m *ChangeTriangle) Marshal() (data []byte, err error)
- func (m *ChangeTriangle) MarshalTo(data []byte) (n int, err error)
- func (*ChangeTriangle) ProtoMessage()
- func (m *ChangeTriangle) Reset()
- func (m *ChangeTriangle) Size() (n int)
- func (this *ChangeTriangle) String() string
- func (m *ChangeTriangle) Unmarshal(data []byte) error
- type Command
- func NewAddCircleCommand(layer, id int32, x, y, angle, radius float32, appearance *Appearance) (int32, Command)
- func NewAddLineSegmentCommand(layer, id int32, ax, ay, bx, by, thickness float32, appearance *Appearance) (int32, Command)
- func NewAddPolylineCommand(layer int32, id int32, points []*Point, appearance *Appearance) (int32, Command)
- func NewAddRectangleCommand(layer, id int32, x, y, angle, width, height float32, appearance *Appearance) (int32, Command)
- func NewAddTextCommand(layer, id int32, x, y float32, text string, appearance *TextAppearance) (int32, Command)
- func NewAddTrapeziumCommand(layer, id int32, x, y, angle, height float32, appearance *Appearance) (int32, Command)
- func NewAddTriangleCommand(layer, id int32, x, y, angle, radius float32, appearance *Appearance) (int32, Command)
- func NewByName(name string) Command
- func NewChangeCircleCommand(layer, id int32, x, y, angle float32, appearance *Appearance) (int32, Command)
- func NewChangeRectangleCommand(layer, id int32, x, y, angle, width, height float32, appearance *Appearance) (int32, Command)
- func NewChangeTrapeziumCommand(layer, id int32, x, y, angle float32, appearance *Appearance) (int32, Command)
- func NewChangeTriangleCommand(layer, id int32, x, y, angle float32, appearance *Appearance) (int32, Command)
- type CommandResult
- func (r CommandResult) Error() string
- func (m *CommandResult) GetErrorMessage() string
- func (m *CommandResult) GetIntValue() int32
- func (m *CommandResult) GetStringValue() string
- func (this *CommandResult) GoString() string
- func (r CommandResult) HasError() bool
- func (r CommandResult) HasInt() bool
- func (r CommandResult) HasText() bool
- func (r CommandResult) Int() int
- func (m *CommandResult) Marshal() (data []byte, err error)
- func (m *CommandResult) MarshalTo(data []byte) (n int, err error)
- func (*CommandResult) ProtoMessage()
- func (m *CommandResult) Reset()
- func (m *CommandResult) Size() (n int)
- func (this *CommandResult) String() string
- func (r CommandResult) Text() string
- func (m *CommandResult) Unmarshal(data []byte) error
- type DeactivateMotion
- func (m *DeactivateMotion) GetName() string
- func (this *DeactivateMotion) GoString() string
- func (m *DeactivateMotion) Marshal() (data []byte, err error)
- func (m *DeactivateMotion) MarshalTo(data []byte) (n int, err error)
- func (*DeactivateMotion) ProtoMessage()
- func (m *DeactivateMotion) Reset()
- func (m *DeactivateMotion) Size() (n int)
- func (this *DeactivateMotion) String() string
- func (m *DeactivateMotion) Unmarshal(data []byte) error
- type DivideSpace
- func (m *DivideSpace) GetColumns() int32
- func (m *DivideSpace) GetMargin() int32
- func (m *DivideSpace) GetPadding() int32
- func (m *DivideSpace) GetRows() int32
- func (this *DivideSpace) GoString() string
- func (m *DivideSpace) Marshal() (data []byte, err error)
- func (m *DivideSpace) MarshalTo(data []byte) (n int, err error)
- func (*DivideSpace) ProtoMessage()
- func (m *DivideSpace) Reset()
- func (m *DivideSpace) Size() (n int)
- func (this *DivideSpace) String() string
- func (m *DivideSpace) Unmarshal(data []byte) error
- type EdgeAppearance
- func (m *EdgeAppearance) GetEdgeLineWidth() int32
- func (m *EdgeAppearance) GetEdgeStroke() string
- func (m *EdgeAppearance) GetFingerFill() string
- func (m *EdgeAppearance) GetFingerRadius() float32
- func (m *EdgeAppearance) GetFingerStroke() string
- func (m *EdgeAppearance) GetFingerTexture() string
- func (this *EdgeAppearance) GoString() string
- func (m *EdgeAppearance) Marshal() (data []byte, err error)
- func (m *EdgeAppearance) MarshalTo(data []byte) (n int, err error)
- func (*EdgeAppearance) ProtoMessage()
- func (m *EdgeAppearance) Reset()
- func (m *EdgeAppearance) Size() (n int)
- func (this *EdgeAppearance) String() string
- func (m *EdgeAppearance) Unmarshal(data []byte) error
- type EncodedCommand
- func (e EncodedCommand) Action() int32
- func (e EncodedCommand) Decoded() (Command, error)
- func (m *EncodedCommand) GetData() []byte
- func (m *EncodedCommand) GetType() int32
- func (this *EncodedCommand) GoString() string
- func (e EncodedCommand) JSON() string
- func (m *EncodedCommand) Marshal() (data []byte, err error)
- func (m *EncodedCommand) MarshalTo(data []byte) (n int, err error)
- func (*EncodedCommand) ProtoMessage()
- func (m *EncodedCommand) Reset()
- func (m *EncodedCommand) Size() (n int)
- func (this *EncodedCommand) String() string
- func (m *EncodedCommand) Unmarshal(data []byte) error
- type EndTouches
- func (m *EndTouches) GetTouches() []int64
- func (this *EndTouches) GoString() string
- func (m *EndTouches) Marshal() (data []byte, err error)
- func (m *EndTouches) MarshalTo(data []byte) (n int, err error)
- func (*EndTouches) ProtoMessage()
- func (m *EndTouches) Reset()
- func (m *EndTouches) Size() (n int)
- func (this *EndTouches) String() string
- func (m *EndTouches) Unmarshal(data []byte) error
- type GetSetting
- func (m *GetSetting) GetName() string
- func (this *GetSetting) GoString() string
- func (m *GetSetting) Marshal() (data []byte, err error)
- func (m *GetSetting) MarshalTo(data []byte) (n int, err error)
- func (*GetSetting) ProtoMessage()
- func (m *GetSetting) Reset()
- func (m *GetSetting) Size() (n int)
- func (this *GetSetting) String() string
- func (m *GetSetting) Unmarshal(data []byte) error
- type GetSettings
- func (this *GetSettings) GoString() string
- func (m *GetSettings) Marshal() (data []byte, err error)
- func (m *GetSettings) MarshalTo(data []byte) (n int, err error)
- func (*GetSettings) ProtoMessage()
- func (m *GetSettings) Reset()
- func (m *GetSettings) Size() (n int)
- func (this *GetSettings) String() string
- func (m *GetSettings) Unmarshal(data []byte) error
- type GetSprite
- func (m *GetSprite) GetId() int32
- func (m *GetSprite) GetJson() string
- func (m *GetSprite) GetLayer() int32
- func (this *GetSprite) GoString() string
- func (m *GetSprite) Marshal() (data []byte, err error)
- func (m *GetSprite) MarshalTo(data []byte) (n int, err error)
- func (*GetSprite) ProtoMessage()
- func (m *GetSprite) Reset()
- func (m *GetSprite) Size() (n int)
- func (this *GetSprite) String() string
- func (m *GetSprite) Unmarshal(data []byte) error
- type HandleCanvasResized
- func (m *HandleCanvasResized) GetHeight() int32
- func (m *HandleCanvasResized) GetWidth() int32
- func (this *HandleCanvasResized) GoString() string
- func (m *HandleCanvasResized) Marshal() (data []byte, err error)
- func (m *HandleCanvasResized) MarshalTo(data []byte) (n int, err error)
- func (*HandleCanvasResized) ProtoMessage()
- func (m *HandleCanvasResized) Reset()
- func (m *HandleCanvasResized) Size() (n int)
- func (this *HandleCanvasResized) String() string
- func (m *HandleCanvasResized) Unmarshal(data []byte) error
- type HandleDeviceInfo
- func (m *HandleDeviceInfo) GetProperties() []*KeyValue
- func (this *HandleDeviceInfo) GoString() string
- func (m *HandleDeviceInfo) Marshal() (data []byte, err error)
- func (m *HandleDeviceInfo) MarshalTo(data []byte) (n int, err error)
- func (*HandleDeviceInfo) ProtoMessage()
- func (m *HandleDeviceInfo) Reset()
- func (m *HandleDeviceInfo) Size() (n int)
- func (this *HandleDeviceInfo) String() string
- func (m *HandleDeviceInfo) Unmarshal(data []byte) error
- type HandleDragDrop
- func (m *HandleDragDrop) GetId() int32
- func (m *HandleDragDrop) GetLayer() int32
- func (m *HandleDragDrop) GetName() string
- func (m *HandleDragDrop) GetShapeType() string
- func (m *HandleDragDrop) GetX() float32
- func (m *HandleDragDrop) GetY() float32
- func (this *HandleDragDrop) GoString() string
- func (m *HandleDragDrop) Marshal() (data []byte, err error)
- func (m *HandleDragDrop) MarshalTo(data []byte) (n int, err error)
- func (*HandleDragDrop) ProtoMessage()
- func (m *HandleDragDrop) Reset()
- func (m *HandleDragDrop) Size() (n int)
- func (this *HandleDragDrop) String() string
- func (m *HandleDragDrop) Unmarshal(data []byte) error
- type HandleGesture
- func (m *HandleGesture) GetBounds() *BoundingBox
- func (m *HandleGesture) GetName() string
- func (m *HandleGesture) GetOrigin() string
- func (this *HandleGesture) GoString() string
- func (m *HandleGesture) Marshal() (data []byte, err error)
- func (m *HandleGesture) MarshalTo(data []byte) (n int, err error)
- func (*HandleGesture) ProtoMessage()
- func (m *HandleGesture) Reset()
- func (m *HandleGesture) Size() (n int)
- func (this *HandleGesture) String() string
- func (m *HandleGesture) Unmarshal(data []byte) error
- type HandleServerConnected
- func (this *HandleServerConnected) GoString() string
- func (m *HandleServerConnected) Marshal() (data []byte, err error)
- func (m *HandleServerConnected) MarshalTo(data []byte) (n int, err error)
- func (*HandleServerConnected) ProtoMessage()
- func (m *HandleServerConnected) Reset()
- func (m *HandleServerConnected) Size() (n int)
- func (this *HandleServerConnected) String() string
- func (m *HandleServerConnected) Unmarshal(data []byte) error
- type HandleServerDisconnected
- func (this *HandleServerDisconnected) GoString() string
- func (m *HandleServerDisconnected) Marshal() (data []byte, err error)
- func (m *HandleServerDisconnected) MarshalTo(data []byte) (n int, err error)
- func (*HandleServerDisconnected) ProtoMessage()
- func (m *HandleServerDisconnected) Reset()
- func (m *HandleServerDisconnected) Size() (n int)
- func (this *HandleServerDisconnected) String() string
- func (m *HandleServerDisconnected) Unmarshal(data []byte) error
- type HandleSpriteTouched
- func (m *HandleSpriteTouched) GetId() int32
- func (m *HandleSpriteTouched) GetLayer() int32
- func (m *HandleSpriteTouched) GetName() string
- func (m *HandleSpriteTouched) GetShapeType() string
- func (m *HandleSpriteTouched) GetX() float32
- func (m *HandleSpriteTouched) GetY() float32
- func (this *HandleSpriteTouched) GoString() string
- func (m *HandleSpriteTouched) Marshal() (data []byte, err error)
- func (m *HandleSpriteTouched) MarshalTo(data []byte) (n int, err error)
- func (*HandleSpriteTouched) ProtoMessage()
- func (m *HandleSpriteTouched) Reset()
- func (m *HandleSpriteTouched) Size() (n int)
- func (this *HandleSpriteTouched) String() string
- func (m *HandleSpriteTouched) Unmarshal(data []byte) error
- type JoinClient
- func (m *JoinClient) GetApiVersion() int32
- func (m *JoinClient) GetCookieValue() string
- func (m *JoinClient) GetId() int32
- func (m *JoinClient) GetRole() string
- func (m *JoinClient) GetScreenHeight() int32
- func (m *JoinClient) GetScreenWidth() int32
- func (this *JoinClient) GoString() string
- func (m *JoinClient) Marshal() (data []byte, err error)
- func (m *JoinClient) MarshalTo(data []byte) (n int, err error)
- func (*JoinClient) ProtoMessage()
- func (m *JoinClient) Reset()
- func (m *JoinClient) Size() (n int)
- func (this *JoinClient) String() string
- func (m *JoinClient) Unmarshal(data []byte) error
- type KeyValue
- func (m *KeyValue) GetKey() string
- func (m *KeyValue) GetValue() string
- func (this *KeyValue) GoString() string
- func (m *KeyValue) Marshal() (data []byte, err error)
- func (m *KeyValue) MarshalTo(data []byte) (n int, err error)
- func (*KeyValue) ProtoMessage()
- func (m *KeyValue) Reset()
- func (m *KeyValue) Size() (n int)
- func (this *KeyValue) String() string
- func (m *KeyValue) Unmarshal(data []byte) error
- type Log
- func (m *Log) GetMessage() string
- func (this *Log) GoString() string
- func (m *Log) Marshal() (data []byte, err error)
- func (m *Log) MarshalTo(data []byte) (n int, err error)
- func (*Log) ProtoMessage()
- func (m *Log) Reset()
- func (m *Log) Size() (n int)
- func (this *Log) String() string
- func (m *Log) Unmarshal(data []byte) error
- type MoveSprite
- func (m *MoveSprite) GetId() int32
- func (m *MoveSprite) GetLayer() int32
- func (m *MoveSprite) GetX() float32
- func (m *MoveSprite) GetY() float32
- func (this *MoveSprite) GoString() string
- func (m *MoveSprite) Marshal() (data []byte, err error)
- func (m *MoveSprite) MarshalTo(data []byte) (n int, err error)
- func (*MoveSprite) ProtoMessage()
- func (m *MoveSprite) Reset()
- func (m *MoveSprite) Size() (n int)
- func (this *MoveSprite) String() string
- func (m *MoveSprite) Unmarshal(data []byte) error
- type MoveTouches
- func (m *MoveTouches) GetId() int32
- func (m *MoveTouches) GetTouches() []*Touch
- func (this *MoveTouches) GoString() string
- func (m *MoveTouches) Marshal() (data []byte, err error)
- func (m MoveTouches) MarshalJSON() ([]byte, error)
- func (m *MoveTouches) MarshalTo(data []byte) (n int, err error)
- func (*MoveTouches) ProtoMessage()
- func (m *MoveTouches) Reset()
- func (m *MoveTouches) Size() (n int)
- func (this *MoveTouches) String() string
- func (m *MoveTouches) Unmarshal(data []byte) error
- type NameValue
- func (m *NameValue) GetName() string
- func (m *NameValue) GetValue() string
- func (this *NameValue) GoString() string
- func (m *NameValue) Marshal() (data []byte, err error)
- func (m *NameValue) MarshalTo(data []byte) (n int, err error)
- func (*NameValue) ProtoMessage()
- func (m *NameValue) Reset()
- func (m *NameValue) Size() (n int)
- func (this *NameValue) String() string
- func (m *NameValue) Unmarshal(data []byte) error
- type NoOperation
- func (this *NoOperation) GoString() string
- func (m *NoOperation) Marshal() (data []byte, err error)
- func (m *NoOperation) MarshalTo(data []byte) (n int, err error)
- func (*NoOperation) ProtoMessage()
- func (m *NoOperation) Reset()
- func (m *NoOperation) Size() (n int)
- func (this *NoOperation) String() string
- func (m *NoOperation) Unmarshal(data []byte) error
- type OpenLocation
- func (m *OpenLocation) GetBoxHeight() string
- func (m *OpenLocation) GetBoxWidth() string
- func (m *OpenLocation) GetTarget() string
- func (m *OpenLocation) GetTitle() string
- func (m *OpenLocation) GetUrl() string
- func (this *OpenLocation) GoString() string
- func (m *OpenLocation) Marshal() (data []byte, err error)
- func (m *OpenLocation) MarshalTo(data []byte) (n int, err error)
- func (*OpenLocation) ProtoMessage()
- func (m *OpenLocation) Reset()
- func (m *OpenLocation) Size() (n int)
- func (this *OpenLocation) String() string
- func (m *OpenLocation) Unmarshal(data []byte) error
- type Physics
- func (m *Physics) GetAngularVelocity() float32
- func (m *Physics) GetElasticity() float32
- func (m *Physics) GetFriction() float32
- func (m *Physics) GetMass() float32
- func (m *Physics) GetStatic() bool
- func (m *Physics) GetVelocityX() float32
- func (m *Physics) GetVelocityY() float32
- func (this *Physics) GoString() string
- func (m *Physics) Marshal() (data []byte, err error)
- func (m *Physics) MarshalTo(data []byte) (n int, err error)
- func (*Physics) ProtoMessage()
- func (m *Physics) Reset()
- func (m *Physics) Size() (n int)
- func (this *Physics) String() string
- func (m *Physics) Unmarshal(data []byte) error
- type PlayerCommand
- func (m *PlayerCommand) GetAll() bool
- func (m *PlayerCommand) GetData() []byte
- func (m *PlayerCommand) GetId() int32
- func (this *PlayerCommand) GoString() string
- func (m *PlayerCommand) Marshal() (data []byte, err error)
- func (m *PlayerCommand) MarshalTo(data []byte) (n int, err error)
- func (*PlayerCommand) ProtoMessage()
- func (m *PlayerCommand) Reset()
- func (m *PlayerCommand) Size() (n int)
- func (this *PlayerCommand) String() string
- func (m *PlayerCommand) Unmarshal(data []byte) error
- type Point
- func (m *Point) GetX() float32
- func (m *Point) GetY() float32
- func (this *Point) GoString() string
- func (m *Point) Marshal() (data []byte, err error)
- func (m *Point) MarshalTo(data []byte) (n int, err error)
- func (*Point) ProtoMessage()
- func (m *Point) Reset()
- func (m *Point) Size() (n int)
- func (this *Point) String() string
- func (m *Point) Unmarshal(data []byte) error
- type PutSettings
- func (m *PutSettings) GetSettings() []*NameValue
- func (this *PutSettings) GoString() string
- func (m *PutSettings) Marshal() (data []byte, err error)
- func (m *PutSettings) MarshalTo(data []byte) (n int, err error)
- func (*PutSettings) ProtoMessage()
- func (m *PutSettings) Reset()
- func (m *PutSettings) Size() (n int)
- func (this *PutSettings) String() string
- func (m *PutSettings) Unmarshal(data []byte) error
- type RemoveAllSprites
- func (m *RemoveAllSprites) GetLayer() int32
- func (this *RemoveAllSprites) GoString() string
- func (m *RemoveAllSprites) Marshal() (data []byte, err error)
- func (m *RemoveAllSprites) MarshalTo(data []byte) (n int, err error)
- func (*RemoveAllSprites) ProtoMessage()
- func (m *RemoveAllSprites) Reset()
- func (m *RemoveAllSprites) Size() (n int)
- func (this *RemoveAllSprites) String() string
- func (m *RemoveAllSprites) Unmarshal(data []byte) error
- type RemoveSprite
- func (m *RemoveSprite) GetId() int32
- func (m *RemoveSprite) GetLayer() int32
- func (this *RemoveSprite) GoString() string
- func (m *RemoveSprite) Marshal() (data []byte, err error)
- func (m *RemoveSprite) MarshalTo(data []byte) (n int, err error)
- func (*RemoveSprite) ProtoMessage()
- func (m *RemoveSprite) Reset()
- func (m *RemoveSprite) Size() (n int)
- func (this *RemoveSprite) String() string
- func (m *RemoveSprite) Unmarshal(data []byte) error
- type Reset
- func (this *Reset) GoString() string
- func (m *Reset) Marshal() (data []byte, err error)
- func (m *Reset) MarshalTo(data []byte) (n int, err error)
- func (*Reset) ProtoMessage()
- func (m *Reset) Reset()
- func (m *Reset) Size() (n int)
- func (this *Reset) String() string
- func (m *Reset) Unmarshal(data []byte) error
- type ResetSprites
- type Result
- type RotateSprite
- func (m *RotateSprite) GetAngle() float32
- func (m *RotateSprite) GetId() int32
- func (m *RotateSprite) GetLayer() int32
- func (this *RotateSprite) GoString() string
- func (m *RotateSprite) Marshal() (data []byte, err error)
- func (m *RotateSprite) MarshalTo(data []byte) (n int, err error)
- func (*RotateSprite) ProtoMessage()
- func (m *RotateSprite) Reset()
- func (m *RotateSprite) Size() (n int)
- func (this *RotateSprite) String() string
- func (m *RotateSprite) Unmarshal(data []byte) error
- type RotationAccelerateSprite
- func (m *RotationAccelerateSprite) GetId() int32
- func (m *RotationAccelerateSprite) GetLayer() int32
- func (m *RotationAccelerateSprite) GetVa() float32
- func (this *RotationAccelerateSprite) GoString() string
- func (m *RotationAccelerateSprite) Marshal() (data []byte, err error)
- func (m *RotationAccelerateSprite) MarshalTo(data []byte) (n int, err error)
- func (*RotationAccelerateSprite) ProtoMessage()
- func (m *RotationAccelerateSprite) Reset()
- func (m *RotationAccelerateSprite) Size() (n int)
- func (this *RotationAccelerateSprite) String() string
- func (m *RotationAccelerateSprite) Unmarshal(data []byte) error
- type SetBackgroundImage
- func (m *SetBackgroundImage) GetUrl() string
- func (this *SetBackgroundImage) GoString() string
- func (m *SetBackgroundImage) Marshal() (data []byte, err error)
- func (m *SetBackgroundImage) MarshalTo(data []byte) (n int, err error)
- func (*SetBackgroundImage) ProtoMessage()
- func (m *SetBackgroundImage) Reset()
- func (m *SetBackgroundImage) Size() (n int)
- func (this *SetBackgroundImage) String() string
- func (m *SetBackgroundImage) Unmarshal(data []byte) error
- type SetCookie
- func (m *SetCookie) GetDomain() string
- func (m *SetCookie) GetName() string
- func (m *SetCookie) GetPath() string
- func (m *SetCookie) GetValue() string
- func (this *SetCookie) GoString() string
- func (m *SetCookie) Marshal() (data []byte, err error)
- func (m *SetCookie) MarshalTo(data []byte) (n int, err error)
- func (*SetCookie) ProtoMessage()
- func (m *SetCookie) Reset()
- func (m *SetCookie) Size() (n int)
- func (this *SetCookie) String() string
- func (m *SetCookie) Unmarshal(data []byte) error
- type SetLogVerbosity
- func (m *SetLogVerbosity) GetValue() int32
- func (this *SetLogVerbosity) GoString() string
- func (m *SetLogVerbosity) Marshal() (data []byte, err error)
- func (m *SetLogVerbosity) MarshalTo(data []byte) (n int, err error)
- func (*SetLogVerbosity) ProtoMessage()
- func (m *SetLogVerbosity) Reset()
- func (m *SetLogVerbosity) Size() (n int)
- func (this *SetLogVerbosity) String() string
- func (m *SetLogVerbosity) Unmarshal(data []byte) error
- type Shape
- type StartTouches
- func (m *StartTouches) GetId() int32
- func (m *StartTouches) GetTouches() []*Touch
- func (this *StartTouches) GoString() string
- func (m *StartTouches) Marshal() (data []byte, err error)
- func (m *StartTouches) MarshalTo(data []byte) (n int, err error)
- func (*StartTouches) ProtoMessage()
- func (m *StartTouches) Reset()
- func (m *StartTouches) Size() (n int)
- func (this *StartTouches) String() string
- func (m *StartTouches) Unmarshal(data []byte) error
- type StoreImage
- func (m *StoreImage) GetData() string
- func (m *StoreImage) GetName() string
- func (this *StoreImage) GoString() string
- func (m *StoreImage) Marshal() (data []byte, err error)
- func (m *StoreImage) MarshalTo(data []byte) (n int, err error)
- func (*StoreImage) ProtoMessage()
- func (m *StoreImage) Reset()
- func (m *StoreImage) Size() (n int)
- func (this *StoreImage) String() string
- func (m *StoreImage) Unmarshal(data []byte) error
- type TakeScreenshot
- func (m *TakeScreenshot) GetLayers() []int32
- func (m *TakeScreenshot) GetName() string
- func (this *TakeScreenshot) GoString() string
- func (m *TakeScreenshot) Marshal() (data []byte, err error)
- func (m *TakeScreenshot) MarshalTo(data []byte) (n int, err error)
- func (*TakeScreenshot) ProtoMessage()
- func (m *TakeScreenshot) Reset()
- func (m *TakeScreenshot) Size() (n int)
- func (this *TakeScreenshot) String() string
- func (m *TakeScreenshot) Unmarshal(data []byte) error
- type TextAppearance
- func (m *TextAppearance) GetFill() string
- func (m *TextAppearance) GetFont() string
- func (this *TextAppearance) GoString() string
- func (m *TextAppearance) Marshal() (data []byte, err error)
- func (m *TextAppearance) MarshalTo(data []byte) (n int, err error)
- func (*TextAppearance) ProtoMessage()
- func (m *TextAppearance) Reset()
- func (m *TextAppearance) Size() (n int)
- func (this *TextAppearance) String() string
- func (m *TextAppearance) Unmarshal(data []byte) error
- type Touch
- func (m *Touch) GetNr() int64
- func (m *Touch) GetX() float32
- func (m *Touch) GetY() float32
- func (this *Touch) GoString() string
- func (m *Touch) Marshal() (data []byte, err error)
- func (t Touch) MarshalJSON() ([]byte, error)
- func (m *Touch) MarshalTo(data []byte) (n int, err error)
- func (*Touch) ProtoMessage()
- func (m *Touch) Reset()
- func (m *Touch) Size() (n int)
- func (this *Touch) String() string
- func (m *Touch) Unmarshal(data []byte) error
Constants ¶
View Source
const ( CMD_ChangeSetting int32 = 1 CMD_GetSettings int32 = 2 CMD_PutSettings int32 = 3 CMD_Log int32 = 4 CMD_HandleCanvasResized int32 = 5 CMD_SetBackgroundImage int32 = 6 CMD_SetLogVerbosity int32 = 7 CMD_HandleGesture int32 = 8 CMD_HandleServerDisconnected int32 = 9 CMD_HandleServerConnected int32 = 10 CMD_AddEdge int32 = 11 CMD_ChangeEdge int32 = 12 CMD_AddTriangle int32 = 13 CMD_ChangeTriangle int32 = 14 CMD_AddRectangle int32 = 15 CMD_ChangeRectangle int32 = 16 CMD_AddCircle int32 = 17 CMD_ChangeCircle int32 = 18 CMD_ActivateMotion int32 = 19 CMD_DeactivateMotion int32 = 20 CMD_AddSprite int32 = 21 CMD_DivideSpace int32 = 22 CMD_MoveSprite int32 = 23 CMD_RotateSprite int32 = 24 CMD_AccelerateSprite int32 = 25 CMD_RotationAccelerateSprite int32 = 26 CMD_RemoveSprite int32 = 27 CMD_AddText int32 = 28 CMD_ChangeText int32 = 29 CMD_StartTouches int32 = 30 CMD_MoveTouches int32 = 31 CMD_EndTouches int32 = 32 CMD_PlayerCommand int32 = 33 CMD_CommandResult int32 = 34 CMD_AddTrapezium int32 = 35 CMD_ChangeTrapezium int32 = 36 CMD_GetSprite int32 = 37 CMD_TakeScreenshot int32 = 38 CMD_StoreImage int32 = 39 CMD_AddLineSegment int32 = 40 CMD_GetSetting int32 = 41 CMD_ChangeAppearance int32 = 42 CMD_Reset int32 = 43 CMD_ChangeGeometry int32 = 44 CMD_SetCookie int32 = 45 CMD_JoinClient int32 = 46 CMD_HandleDragDrop int32 = 47 CMD_HandleDeviceInfo int32 = 48 CMD_RemoveAllSprites int32 = 49 CMD_AddPolyline int32 = 50 CMD_NoOperation int32 = 51 CMD_HandleSpriteTouched int32 = 52 CMD_OpenLocation int32 = 53 )
Variables ¶
View Source
var ( SchemaVersion = 74 Logger = log15.New("client", "firenozzle") DebugEnabled = false )
View Source
var Ignore = new(EncodedCommand)
View Source
var NoAction = new(NoOperation)
View Source
var NoResult = new(CommandResult)
View Source
var Shape_name = map[int32]string{
0: "Circle",
1: "Rectangle",
2: "Triangle",
3: "LineSegment",
4: "Trapezium",
5: "Polyline",
}
View Source
var Shape_value = map[string]int32{
"Circle": 0,
"Rectangle": 1,
"Triangle": 2,
"LineSegment": 3,
"Trapezium": 4,
"Polyline": 5,
}
Functions ¶
func PNonEmptyString ¶
PNonEmptyString returns nil if the string is empty
Types ¶
type AccelerateSprite ¶
type AccelerateSprite struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` Vx *float32 `protobuf:"fixed32,3,req,name=vx" json:"vx,omitempty"` Vy *float32 `protobuf:"fixed32,4,req,name=vy" json:"vy,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*AccelerateSprite) GetId ¶
func (m *AccelerateSprite) GetId() int32
func (*AccelerateSprite) GetLayer ¶
func (m *AccelerateSprite) GetLayer() int32
func (*AccelerateSprite) GetVx ¶
func (m *AccelerateSprite) GetVx() float32
func (*AccelerateSprite) GetVy ¶
func (m *AccelerateSprite) GetVy() float32
func (*AccelerateSprite) GoString ¶
func (this *AccelerateSprite) GoString() string
func (*AccelerateSprite) Marshal ¶
func (m *AccelerateSprite) Marshal() (data []byte, err error)
func (*AccelerateSprite) MarshalTo ¶
func (m *AccelerateSprite) MarshalTo(data []byte) (n int, err error)
func (*AccelerateSprite) ProtoMessage ¶
func (*AccelerateSprite) ProtoMessage()
func (*AccelerateSprite) Reset ¶
func (m *AccelerateSprite) Reset()
func (*AccelerateSprite) Size ¶
func (m *AccelerateSprite) Size() (n int)
func (*AccelerateSprite) String ¶
func (this *AccelerateSprite) String() string
func (*AccelerateSprite) Unmarshal ¶
func (m *AccelerateSprite) Unmarshal(data []byte) error
type ActivateMotion ¶
type ActivateMotion struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ActivateMotion) GetName ¶
func (m *ActivateMotion) GetName() string
func (*ActivateMotion) GoString ¶
func (this *ActivateMotion) GoString() string
func (*ActivateMotion) Marshal ¶
func (m *ActivateMotion) Marshal() (data []byte, err error)
func (*ActivateMotion) MarshalTo ¶
func (m *ActivateMotion) MarshalTo(data []byte) (n int, err error)
func (*ActivateMotion) ProtoMessage ¶
func (*ActivateMotion) ProtoMessage()
func (*ActivateMotion) Reset ¶
func (m *ActivateMotion) Reset()
func (*ActivateMotion) Size ¶
func (m *ActivateMotion) Size() (n int)
func (*ActivateMotion) String ¶
func (this *ActivateMotion) String() string
func (*ActivateMotion) Unmarshal ¶
func (m *ActivateMotion) Unmarshal(data []byte) error
type AddCircle ¶
type AddCircle struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Radius *float32 `protobuf:"fixed32,5,req,name=radius" json:"radius,omitempty"` Angle *float32 `protobuf:"fixed32,6,req,name=angle" json:"angle,omitempty"` Appearance *Appearance `protobuf:"bytes,7,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
==================================================//
func (*AddCircle) GetAppearance ¶
func (m *AddCircle) GetAppearance() *Appearance
func (*AddCircle) ProtoMessage ¶
func (*AddCircle) ProtoMessage()
type AddDisc ¶
type AddDisc struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Radius *float32 `protobuf:"fixed32,5,req,name=radius" json:"radius,omitempty"` Physics *Physics `protobuf:"bytes,6,req,name=physics" json:"physics,omitempty"` Appearance *Appearance `protobuf:"bytes,7,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
==================================================//
func (*AddDisc) GetAppearance ¶
func (m *AddDisc) GetAppearance() *Appearance
func (*AddDisc) GetPhysics ¶
func (*AddDisc) ProtoMessage ¶
func (*AddDisc) ProtoMessage()
type AddEdge ¶
type AddEdge struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` A *Point `protobuf:"bytes,3,req,name=a" json:"a,omitempty"` B *Point `protobuf:"bytes,4,req,name=b" json:"b,omitempty"` Physics *Physics `protobuf:"bytes,5,req,name=physics" json:"physics,omitempty"` Appearance *EdgeAppearance `protobuf:"bytes,6,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
==================================================//
func (*AddEdge) GetAppearance ¶
func (m *AddEdge) GetAppearance() *EdgeAppearance
func (*AddEdge) GetPhysics ¶
func (*AddEdge) ProtoMessage ¶
func (*AddEdge) ProtoMessage()
type AddLineSegment ¶
type AddLineSegment struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` A *Point `protobuf:"bytes,3,req,name=a" json:"a,omitempty"` B *Point `protobuf:"bytes,4,req,name=b" json:"b,omitempty"` Thickness *float32 `protobuf:"fixed32,5,req,name=thickness" json:"thickness,omitempty"` Appearance *Appearance `protobuf:"bytes,6,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
==================================================//
func (*AddLineSegment) GetA ¶
func (m *AddLineSegment) GetA() *Point
func (*AddLineSegment) GetAppearance ¶
func (m *AddLineSegment) GetAppearance() *Appearance
func (*AddLineSegment) GetB ¶
func (m *AddLineSegment) GetB() *Point
func (*AddLineSegment) GetId ¶
func (m *AddLineSegment) GetId() int32
func (*AddLineSegment) GetLayer ¶
func (m *AddLineSegment) GetLayer() int32
func (*AddLineSegment) GetThickness ¶
func (m *AddLineSegment) GetThickness() float32
func (*AddLineSegment) GoString ¶
func (this *AddLineSegment) GoString() string
func (*AddLineSegment) Marshal ¶
func (m *AddLineSegment) Marshal() (data []byte, err error)
func (*AddLineSegment) MarshalTo ¶
func (m *AddLineSegment) MarshalTo(data []byte) (n int, err error)
func (*AddLineSegment) ProtoMessage ¶
func (*AddLineSegment) ProtoMessage()
func (*AddLineSegment) Reset ¶
func (m *AddLineSegment) Reset()
func (*AddLineSegment) Size ¶
func (m *AddLineSegment) Size() (n int)
func (*AddLineSegment) String ¶
func (this *AddLineSegment) String() string
func (*AddLineSegment) Unmarshal ¶
func (m *AddLineSegment) Unmarshal(data []byte) error
type AddPolyline ¶
type AddPolyline struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` Points []*Point `protobuf:"bytes,3,rep,name=points" json:"points,omitempty"` Appearance *Appearance `protobuf:"bytes,4,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
==================================================//
func (*AddPolyline) GetAppearance ¶
func (m *AddPolyline) GetAppearance() *Appearance
func (*AddPolyline) GetId ¶
func (m *AddPolyline) GetId() int32
func (*AddPolyline) GetLayer ¶
func (m *AddPolyline) GetLayer() int32
func (*AddPolyline) GetPoints ¶
func (m *AddPolyline) GetPoints() []*Point
func (*AddPolyline) GoString ¶
func (this *AddPolyline) GoString() string
func (*AddPolyline) Marshal ¶
func (m *AddPolyline) Marshal() (data []byte, err error)
func (*AddPolyline) ProtoMessage ¶
func (*AddPolyline) ProtoMessage()
func (*AddPolyline) Reset ¶
func (m *AddPolyline) Reset()
func (*AddPolyline) Size ¶
func (m *AddPolyline) Size() (n int)
func (*AddPolyline) String ¶
func (this *AddPolyline) String() string
func (*AddPolyline) Unmarshal ¶
func (m *AddPolyline) Unmarshal(data []byte) error
type AddRectangle ¶
type AddRectangle struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Width *float32 `protobuf:"fixed32,5,req,name=width" json:"width,omitempty"` Height *float32 `protobuf:"fixed32,6,req,name=height" json:"height,omitempty"` Angle *float32 `protobuf:"fixed32,7,req,name=angle" json:"angle,omitempty"` Appearance *Appearance `protobuf:"bytes,8,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
==================================================//
func (*AddRectangle) GetAngle ¶
func (m *AddRectangle) GetAngle() float32
func (*AddRectangle) GetAppearance ¶
func (m *AddRectangle) GetAppearance() *Appearance
func (*AddRectangle) GetHeight ¶
func (m *AddRectangle) GetHeight() float32
func (*AddRectangle) GetId ¶
func (m *AddRectangle) GetId() int32
func (*AddRectangle) GetLayer ¶
func (m *AddRectangle) GetLayer() int32
func (*AddRectangle) GetWidth ¶
func (m *AddRectangle) GetWidth() float32
func (*AddRectangle) GetX ¶
func (m *AddRectangle) GetX() float32
func (*AddRectangle) GetY ¶
func (m *AddRectangle) GetY() float32
func (*AddRectangle) GoString ¶
func (this *AddRectangle) GoString() string
func (*AddRectangle) Marshal ¶
func (m *AddRectangle) Marshal() (data []byte, err error)
func (*AddRectangle) ProtoMessage ¶
func (*AddRectangle) ProtoMessage()
func (*AddRectangle) Reset ¶
func (m *AddRectangle) Reset()
func (*AddRectangle) Size ¶
func (m *AddRectangle) Size() (n int)
func (*AddRectangle) String ¶
func (this *AddRectangle) String() string
func (*AddRectangle) Unmarshal ¶
func (m *AddRectangle) Unmarshal(data []byte) error
type AddSprite ¶
type AddSprite struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Angle *float32 `protobuf:"fixed32,5,req,name=angle" json:"angle,omitempty"` Shape *Shape `protobuf:"varint,6,req,name=shape,enum=command.Shape" json:"shape,omitempty"` // for LineSegment A *Point `protobuf:"bytes,7,opt,name=a" json:"a,omitempty"` B *Point `protobuf:"bytes,8,opt,name=b" json:"b,omitempty"` // for Rectangle, Trapezium Width *float32 `protobuf:"fixed32,9,opt,name=width" json:"width,omitempty"` Height *float32 `protobuf:"fixed32,10,opt,name=height" json:"height,omitempty"` // for Circle,Triangle Radius *float32 `protobuf:"fixed32,11,opt,name=radius" json:"radius,omitempty"` // for Polyline Points []*Point `protobuf:"bytes,12,rep,name=points" json:"points,omitempty"` Appearance *Appearance `protobuf:"bytes,13,opt,name=appearance" json:"appearance,omitempty"` Physics *Physics `protobuf:"bytes,14,opt,name=physics" json:"physics,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*AddSprite) GetAppearance ¶
func (m *AddSprite) GetAppearance() *Appearance
func (*AddSprite) GetPhysics ¶
func (*AddSprite) ProtoMessage ¶
func (*AddSprite) ProtoMessage()
type AddText ¶
type AddText struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Text *string `protobuf:"bytes,5,req,name=text" json:"text,omitempty"` Appearance *TextAppearance `protobuf:"bytes,6,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (AddText) AsChange ¶
func (c AddText) AsChange() *ChangeText
func (*AddText) GetAppearance ¶
func (m *AddText) GetAppearance() *TextAppearance
func (*AddText) ProtoMessage ¶
func (*AddText) ProtoMessage()
type AddTrapezium ¶
type AddTrapezium struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Height *float32 `protobuf:"fixed32,5,req,name=height" json:"height,omitempty"` Angle *float32 `protobuf:"fixed32,6,req,name=angle" json:"angle,omitempty"` Appearance *Appearance `protobuf:"bytes,7,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
==================================================//
func (*AddTrapezium) GetAngle ¶
func (m *AddTrapezium) GetAngle() float32
func (*AddTrapezium) GetAppearance ¶
func (m *AddTrapezium) GetAppearance() *Appearance
func (*AddTrapezium) GetHeight ¶
func (m *AddTrapezium) GetHeight() float32
func (*AddTrapezium) GetId ¶
func (m *AddTrapezium) GetId() int32
func (*AddTrapezium) GetLayer ¶
func (m *AddTrapezium) GetLayer() int32
func (*AddTrapezium) GetX ¶
func (m *AddTrapezium) GetX() float32
func (*AddTrapezium) GetY ¶
func (m *AddTrapezium) GetY() float32
func (*AddTrapezium) GoString ¶
func (this *AddTrapezium) GoString() string
func (*AddTrapezium) Marshal ¶
func (m *AddTrapezium) Marshal() (data []byte, err error)
func (*AddTrapezium) ProtoMessage ¶
func (*AddTrapezium) ProtoMessage()
func (*AddTrapezium) Reset ¶
func (m *AddTrapezium) Reset()
func (*AddTrapezium) Size ¶
func (m *AddTrapezium) Size() (n int)
func (*AddTrapezium) String ¶
func (this *AddTrapezium) String() string
func (*AddTrapezium) Unmarshal ¶
func (m *AddTrapezium) Unmarshal(data []byte) error
type AddTriangle ¶
type AddTriangle struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Radius *float32 `protobuf:"fixed32,5,req,name=radius" json:"radius,omitempty"` Angle *float32 `protobuf:"fixed32,6,req,name=angle" json:"angle,omitempty"` Appearance *Appearance `protobuf:"bytes,7,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
==================================================//
func (*AddTriangle) GetAngle ¶
func (m *AddTriangle) GetAngle() float32
func (*AddTriangle) GetAppearance ¶
func (m *AddTriangle) GetAppearance() *Appearance
func (*AddTriangle) GetId ¶
func (m *AddTriangle) GetId() int32
func (*AddTriangle) GetLayer ¶
func (m *AddTriangle) GetLayer() int32
func (*AddTriangle) GetRadius ¶
func (m *AddTriangle) GetRadius() float32
func (*AddTriangle) GetX ¶
func (m *AddTriangle) GetX() float32
func (*AddTriangle) GetY ¶
func (m *AddTriangle) GetY() float32
func (*AddTriangle) GoString ¶
func (this *AddTriangle) GoString() string
func (*AddTriangle) Marshal ¶
func (m *AddTriangle) Marshal() (data []byte, err error)
func (*AddTriangle) ProtoMessage ¶
func (*AddTriangle) ProtoMessage()
func (*AddTriangle) Reset ¶
func (m *AddTriangle) Reset()
func (*AddTriangle) Size ¶
func (m *AddTriangle) Size() (n int)
func (*AddTriangle) String ¶
func (this *AddTriangle) String() string
func (*AddTriangle) Unmarshal ¶
func (m *AddTriangle) Unmarshal(data []byte) error
type Appearance ¶
type Appearance struct { Stroke *string `protobuf:"bytes,1,opt,name=stroke" json:"stroke,omitempty"` Fill *string `protobuf:"bytes,2,opt,name=fill" json:"fill,omitempty"` LineWidth *int32 `protobuf:"varint,3,opt,name=lineWidth" json:"lineWidth,omitempty"` Texture *string `protobuf:"bytes,4,opt,name=texture" json:"texture,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewAppearance_ ¶
func NewAppearance_(stroke, fill, texture string, lineWidth int32) *Appearance
func (*Appearance) GetFill ¶
func (m *Appearance) GetFill() string
func (*Appearance) GetLineWidth ¶
func (m *Appearance) GetLineWidth() int32
func (*Appearance) GetStroke ¶
func (m *Appearance) GetStroke() string
func (*Appearance) GetTexture ¶
func (m *Appearance) GetTexture() string
func (*Appearance) GoString ¶
func (this *Appearance) GoString() string
func (*Appearance) Marshal ¶
func (m *Appearance) Marshal() (data []byte, err error)
func (*Appearance) ProtoMessage ¶
func (*Appearance) ProtoMessage()
func (*Appearance) Reset ¶
func (m *Appearance) Reset()
func (*Appearance) Size ¶
func (m *Appearance) Size() (n int)
func (*Appearance) String ¶
func (this *Appearance) String() string
func (*Appearance) Unmarshal ¶
func (m *Appearance) Unmarshal(data []byte) error
type ApplyForceToSprite ¶
type ApplyImpulseToSprite ¶
type BoundingBox ¶
type BoundingBox struct { Left *int32 `protobuf:"varint,1,req,name=left" json:"left,omitempty"` Right *int32 `protobuf:"varint,2,req,name=right" json:"right,omitempty"` Top *int32 `protobuf:"varint,3,req,name=top" json:"top,omitempty"` Bottom *int32 `protobuf:"varint,4,req,name=bottom" json:"bottom,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BoundingBox) GetBottom ¶
func (m *BoundingBox) GetBottom() int32
func (*BoundingBox) GetLeft ¶
func (m *BoundingBox) GetLeft() int32
func (*BoundingBox) GetRight ¶
func (m *BoundingBox) GetRight() int32
func (*BoundingBox) GetTop ¶
func (m *BoundingBox) GetTop() int32
func (*BoundingBox) GoString ¶
func (this *BoundingBox) GoString() string
func (*BoundingBox) Marshal ¶
func (m *BoundingBox) Marshal() (data []byte, err error)
func (*BoundingBox) ProtoMessage ¶
func (*BoundingBox) ProtoMessage()
func (*BoundingBox) Reset ¶
func (m *BoundingBox) Reset()
func (*BoundingBox) Size ¶
func (m *BoundingBox) Size() (n int)
func (*BoundingBox) String ¶
func (this *BoundingBox) String() string
func (*BoundingBox) Unmarshal ¶
func (m *BoundingBox) Unmarshal(data []byte) error
type ChangeAppearance ¶
type ChangeAppearance struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` Appearance *Appearance `protobuf:"bytes,3,req,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChangeAppearance) GetAppearance ¶
func (m *ChangeAppearance) GetAppearance() *Appearance
func (*ChangeAppearance) GetId ¶
func (m *ChangeAppearance) GetId() int32
func (*ChangeAppearance) GetLayer ¶
func (m *ChangeAppearance) GetLayer() int32
func (*ChangeAppearance) GoString ¶
func (this *ChangeAppearance) GoString() string
func (*ChangeAppearance) Marshal ¶
func (m *ChangeAppearance) Marshal() (data []byte, err error)
func (*ChangeAppearance) MarshalTo ¶
func (m *ChangeAppearance) MarshalTo(data []byte) (n int, err error)
func (*ChangeAppearance) ProtoMessage ¶
func (*ChangeAppearance) ProtoMessage()
func (*ChangeAppearance) Reset ¶
func (m *ChangeAppearance) Reset()
func (*ChangeAppearance) Size ¶
func (m *ChangeAppearance) Size() (n int)
func (*ChangeAppearance) String ¶
func (this *ChangeAppearance) String() string
func (*ChangeAppearance) Unmarshal ¶
func (m *ChangeAppearance) Unmarshal(data []byte) error
type ChangeCircle ¶
type ChangeCircle struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Angle *float32 `protobuf:"fixed32,5,req,name=angle" json:"angle,omitempty"` Radius *float32 `protobuf:"fixed32,6,opt,name=radius" json:"radius,omitempty"` Appearance *Appearance `protobuf:"bytes,7,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChangeCircle) GetAngle ¶
func (m *ChangeCircle) GetAngle() float32
func (*ChangeCircle) GetAppearance ¶
func (m *ChangeCircle) GetAppearance() *Appearance
func (*ChangeCircle) GetId ¶
func (m *ChangeCircle) GetId() int32
func (*ChangeCircle) GetLayer ¶
func (m *ChangeCircle) GetLayer() int32
func (*ChangeCircle) GetRadius ¶
func (m *ChangeCircle) GetRadius() float32
func (*ChangeCircle) GetX ¶
func (m *ChangeCircle) GetX() float32
func (*ChangeCircle) GetY ¶
func (m *ChangeCircle) GetY() float32
func (*ChangeCircle) GoString ¶
func (this *ChangeCircle) GoString() string
func (*ChangeCircle) Marshal ¶
func (m *ChangeCircle) Marshal() (data []byte, err error)
func (*ChangeCircle) ProtoMessage ¶
func (*ChangeCircle) ProtoMessage()
func (*ChangeCircle) Reset ¶
func (m *ChangeCircle) Reset()
func (*ChangeCircle) Size ¶
func (m *ChangeCircle) Size() (n int)
func (*ChangeCircle) String ¶
func (this *ChangeCircle) String() string
func (*ChangeCircle) Unmarshal ¶
func (m *ChangeCircle) Unmarshal(data []byte) error
type ChangeEdge ¶
type ChangeEdge struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` A *Point `protobuf:"bytes,3,req,name=a" json:"a,omitempty"` B *Point `protobuf:"bytes,4,req,name=b" json:"b,omitempty"` Appearance *EdgeAppearance `protobuf:"bytes,5,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChangeEdge) GetA ¶
func (m *ChangeEdge) GetA() *Point
func (*ChangeEdge) GetAppearance ¶
func (m *ChangeEdge) GetAppearance() *EdgeAppearance
func (*ChangeEdge) GetB ¶
func (m *ChangeEdge) GetB() *Point
func (*ChangeEdge) GetId ¶
func (m *ChangeEdge) GetId() int32
func (*ChangeEdge) GetLayer ¶
func (m *ChangeEdge) GetLayer() int32
func (*ChangeEdge) GoString ¶
func (this *ChangeEdge) GoString() string
func (*ChangeEdge) Marshal ¶
func (m *ChangeEdge) Marshal() (data []byte, err error)
func (*ChangeEdge) ProtoMessage ¶
func (*ChangeEdge) ProtoMessage()
func (*ChangeEdge) Reset ¶
func (m *ChangeEdge) Reset()
func (*ChangeEdge) Size ¶
func (m *ChangeEdge) Size() (n int)
func (*ChangeEdge) String ¶
func (this *ChangeEdge) String() string
func (*ChangeEdge) Unmarshal ¶
func (m *ChangeEdge) Unmarshal(data []byte) error
type ChangeGeometry ¶
type ChangeGeometry struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` // rectangle, trapezium Width *float32 `protobuf:"fixed32,3,opt,name=width" json:"width,omitempty"` Height *float32 `protobuf:"fixed32,4,opt,name=height" json:"height,omitempty"` // circle, triangle Radius *float32 `protobuf:"fixed32,5,opt,name=radius" json:"radius,omitempty"` // linesegment A *Point `protobuf:"bytes,6,opt,name=a" json:"a,omitempty"` B *Point `protobuf:"bytes,7,opt,name=b" json:"b,omitempty"` Thickness *float32 `protobuf:"fixed32,8,opt,name=thickness" json:"thickness,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChangeGeometry) GetA ¶
func (m *ChangeGeometry) GetA() *Point
func (*ChangeGeometry) GetB ¶
func (m *ChangeGeometry) GetB() *Point
func (*ChangeGeometry) GetHeight ¶
func (m *ChangeGeometry) GetHeight() float32
func (*ChangeGeometry) GetId ¶
func (m *ChangeGeometry) GetId() int32
func (*ChangeGeometry) GetLayer ¶
func (m *ChangeGeometry) GetLayer() int32
func (*ChangeGeometry) GetRadius ¶
func (m *ChangeGeometry) GetRadius() float32
func (*ChangeGeometry) GetThickness ¶
func (m *ChangeGeometry) GetThickness() float32
func (*ChangeGeometry) GetWidth ¶
func (m *ChangeGeometry) GetWidth() float32
func (*ChangeGeometry) GoString ¶
func (this *ChangeGeometry) GoString() string
func (*ChangeGeometry) Marshal ¶
func (m *ChangeGeometry) Marshal() (data []byte, err error)
func (*ChangeGeometry) MarshalTo ¶
func (m *ChangeGeometry) MarshalTo(data []byte) (n int, err error)
func (*ChangeGeometry) ProtoMessage ¶
func (*ChangeGeometry) ProtoMessage()
func (*ChangeGeometry) Reset ¶
func (m *ChangeGeometry) Reset()
func (*ChangeGeometry) Size ¶
func (m *ChangeGeometry) Size() (n int)
func (*ChangeGeometry) String ¶
func (this *ChangeGeometry) String() string
func (*ChangeGeometry) Unmarshal ¶
func (m *ChangeGeometry) Unmarshal(data []byte) error
type ChangeRectangle ¶
type ChangeRectangle struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Angle *float32 `protobuf:"fixed32,5,req,name=angle" json:"angle,omitempty"` Width *float32 `protobuf:"fixed32,6,opt,name=width" json:"width,omitempty"` Height *float32 `protobuf:"fixed32,7,opt,name=height" json:"height,omitempty"` Appearance *Appearance `protobuf:"bytes,8,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChangeRectangle) GetAngle ¶
func (m *ChangeRectangle) GetAngle() float32
func (*ChangeRectangle) GetAppearance ¶
func (m *ChangeRectangle) GetAppearance() *Appearance
func (*ChangeRectangle) GetHeight ¶
func (m *ChangeRectangle) GetHeight() float32
func (*ChangeRectangle) GetId ¶
func (m *ChangeRectangle) GetId() int32
func (*ChangeRectangle) GetLayer ¶
func (m *ChangeRectangle) GetLayer() int32
func (*ChangeRectangle) GetWidth ¶
func (m *ChangeRectangle) GetWidth() float32
func (*ChangeRectangle) GetX ¶
func (m *ChangeRectangle) GetX() float32
func (*ChangeRectangle) GetY ¶
func (m *ChangeRectangle) GetY() float32
func (*ChangeRectangle) GoString ¶
func (this *ChangeRectangle) GoString() string
func (*ChangeRectangle) Marshal ¶
func (m *ChangeRectangle) Marshal() (data []byte, err error)
func (*ChangeRectangle) MarshalTo ¶
func (m *ChangeRectangle) MarshalTo(data []byte) (n int, err error)
func (*ChangeRectangle) ProtoMessage ¶
func (*ChangeRectangle) ProtoMessage()
func (*ChangeRectangle) Reset ¶
func (m *ChangeRectangle) Reset()
func (*ChangeRectangle) Size ¶
func (m *ChangeRectangle) Size() (n int)
func (*ChangeRectangle) String ¶
func (this *ChangeRectangle) String() string
func (*ChangeRectangle) Unmarshal ¶
func (m *ChangeRectangle) Unmarshal(data []byte) error
type ChangeSetting ¶
type ChangeSetting struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewChangeSetting ¶
func NewChangeSetting(name, value string) *ChangeSetting
func (*ChangeSetting) GetName ¶
func (m *ChangeSetting) GetName() string
func (*ChangeSetting) GetType ¶
func (m *ChangeSetting) GetType() string
func (*ChangeSetting) GetValue ¶
func (m *ChangeSetting) GetValue() string
func (*ChangeSetting) GoString ¶
func (this *ChangeSetting) GoString() string
func (*ChangeSetting) Marshal ¶
func (m *ChangeSetting) Marshal() (data []byte, err error)
func (*ChangeSetting) ProtoMessage ¶
func (*ChangeSetting) ProtoMessage()
func (*ChangeSetting) Reset ¶
func (m *ChangeSetting) Reset()
func (*ChangeSetting) Size ¶
func (m *ChangeSetting) Size() (n int)
func (*ChangeSetting) String ¶
func (this *ChangeSetting) String() string
func (*ChangeSetting) Unmarshal ¶
func (m *ChangeSetting) Unmarshal(data []byte) error
type ChangeText ¶
type ChangeText struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,opt,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,opt,name=y" json:"y,omitempty"` Text *string `protobuf:"bytes,5,opt,name=text" json:"text,omitempty"` Appearance *TextAppearance `protobuf:"bytes,6,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChangeText) GetAppearance ¶
func (m *ChangeText) GetAppearance() *TextAppearance
func (*ChangeText) GetId ¶
func (m *ChangeText) GetId() int32
func (*ChangeText) GetLayer ¶
func (m *ChangeText) GetLayer() int32
func (*ChangeText) GetText ¶
func (m *ChangeText) GetText() string
func (*ChangeText) GetX ¶
func (m *ChangeText) GetX() float32
func (*ChangeText) GetY ¶
func (m *ChangeText) GetY() float32
func (*ChangeText) GoString ¶
func (this *ChangeText) GoString() string
func (*ChangeText) Marshal ¶
func (m *ChangeText) Marshal() (data []byte, err error)
func (*ChangeText) ProtoMessage ¶
func (*ChangeText) ProtoMessage()
func (*ChangeText) Reset ¶
func (m *ChangeText) Reset()
func (*ChangeText) Size ¶
func (m *ChangeText) Size() (n int)
func (*ChangeText) String ¶
func (this *ChangeText) String() string
func (*ChangeText) Unmarshal ¶
func (m *ChangeText) Unmarshal(data []byte) error
type ChangeTrapezium ¶
type ChangeTrapezium struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Angle *float32 `protobuf:"fixed32,5,req,name=angle" json:"angle,omitempty"` Height *float32 `protobuf:"fixed32,6,opt,name=height" json:"height,omitempty"` Appearance *Appearance `protobuf:"bytes,7,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChangeTrapezium) GetAngle ¶
func (m *ChangeTrapezium) GetAngle() float32
func (*ChangeTrapezium) GetAppearance ¶
func (m *ChangeTrapezium) GetAppearance() *Appearance
func (*ChangeTrapezium) GetHeight ¶
func (m *ChangeTrapezium) GetHeight() float32
func (*ChangeTrapezium) GetId ¶
func (m *ChangeTrapezium) GetId() int32
func (*ChangeTrapezium) GetLayer ¶
func (m *ChangeTrapezium) GetLayer() int32
func (*ChangeTrapezium) GetX ¶
func (m *ChangeTrapezium) GetX() float32
func (*ChangeTrapezium) GetY ¶
func (m *ChangeTrapezium) GetY() float32
func (*ChangeTrapezium) GoString ¶
func (this *ChangeTrapezium) GoString() string
func (*ChangeTrapezium) Marshal ¶
func (m *ChangeTrapezium) Marshal() (data []byte, err error)
func (*ChangeTrapezium) MarshalTo ¶
func (m *ChangeTrapezium) MarshalTo(data []byte) (n int, err error)
func (*ChangeTrapezium) ProtoMessage ¶
func (*ChangeTrapezium) ProtoMessage()
func (*ChangeTrapezium) Reset ¶
func (m *ChangeTrapezium) Reset()
func (*ChangeTrapezium) Size ¶
func (m *ChangeTrapezium) Size() (n int)
func (*ChangeTrapezium) String ¶
func (this *ChangeTrapezium) String() string
func (*ChangeTrapezium) Unmarshal ¶
func (m *ChangeTrapezium) Unmarshal(data []byte) error
type ChangeTriangle ¶
type ChangeTriangle struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` Angle *float32 `protobuf:"fixed32,5,req,name=angle" json:"angle,omitempty"` Radius *float32 `protobuf:"fixed32,6,opt,name=radius" json:"radius,omitempty"` Appearance *Appearance `protobuf:"bytes,7,opt,name=appearance" json:"appearance,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChangeTriangle) GetAngle ¶
func (m *ChangeTriangle) GetAngle() float32
func (*ChangeTriangle) GetAppearance ¶
func (m *ChangeTriangle) GetAppearance() *Appearance
func (*ChangeTriangle) GetId ¶
func (m *ChangeTriangle) GetId() int32
func (*ChangeTriangle) GetLayer ¶
func (m *ChangeTriangle) GetLayer() int32
func (*ChangeTriangle) GetRadius ¶
func (m *ChangeTriangle) GetRadius() float32
func (*ChangeTriangle) GetX ¶
func (m *ChangeTriangle) GetX() float32
func (*ChangeTriangle) GetY ¶
func (m *ChangeTriangle) GetY() float32
func (*ChangeTriangle) GoString ¶
func (this *ChangeTriangle) GoString() string
func (*ChangeTriangle) Marshal ¶
func (m *ChangeTriangle) Marshal() (data []byte, err error)
func (*ChangeTriangle) MarshalTo ¶
func (m *ChangeTriangle) MarshalTo(data []byte) (n int, err error)
func (*ChangeTriangle) ProtoMessage ¶
func (*ChangeTriangle) ProtoMessage()
func (*ChangeTriangle) Reset ¶
func (m *ChangeTriangle) Reset()
func (*ChangeTriangle) Size ¶
func (m *ChangeTriangle) Size() (n int)
func (*ChangeTriangle) String ¶
func (this *ChangeTriangle) String() string
func (*ChangeTriangle) Unmarshal ¶
func (m *ChangeTriangle) Unmarshal(data []byte) error
type Command ¶
func NewAddCircleCommand ¶
func NewAddCircleCommand(layer, id int32, x, y, angle, radius float32, appearance *Appearance) (int32, Command)
func NewAddLineSegmentCommand ¶
func NewAddLineSegmentCommand(layer, id int32, ax, ay, bx, by, thickness float32, appearance *Appearance) (int32, Command)
func NewAddPolylineCommand ¶
func NewAddRectangleCommand ¶
func NewAddRectangleCommand(layer, id int32, x, y, angle, width, height float32, appearance *Appearance) (int32, Command)
func NewAddTextCommand ¶
func NewAddTrapeziumCommand ¶
func NewAddTrapeziumCommand(layer, id int32, x, y, angle, height float32, appearance *Appearance) (int32, Command)
func NewAddTriangleCommand ¶
func NewAddTriangleCommand(layer, id int32, x, y, angle, radius float32, appearance *Appearance) (int32, Command)
func NewChangeCircleCommand ¶
func NewChangeCircleCommand(layer, id int32, x, y, angle float32, appearance *Appearance) (int32, Command)
func NewChangeRectangleCommand ¶
func NewChangeRectangleCommand(layer, id int32, x, y, angle, width, height float32, appearance *Appearance) (int32, Command)
func NewChangeTrapeziumCommand ¶
func NewChangeTrapeziumCommand(layer, id int32, x, y, angle float32, appearance *Appearance) (int32, Command)
func NewChangeTriangleCommand ¶
func NewChangeTriangleCommand(layer, id int32, x, y, angle float32, appearance *Appearance) (int32, Command)
type CommandResult ¶
type CommandResult struct { ErrorMessage *string `protobuf:"bytes,1,opt,name=errorMessage" json:"errorMessage,omitempty"` IntValue *int32 `protobuf:"varint,2,opt,name=intValue" json:"intValue,omitempty"` StringValue *string `protobuf:"bytes,3,opt,name=stringValue" json:"stringValue,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (CommandResult) Error ¶
func (r CommandResult) Error() string
func (*CommandResult) GetErrorMessage ¶
func (m *CommandResult) GetErrorMessage() string
func (*CommandResult) GetIntValue ¶
func (m *CommandResult) GetIntValue() int32
func (*CommandResult) GetStringValue ¶
func (m *CommandResult) GetStringValue() string
func (*CommandResult) GoString ¶
func (this *CommandResult) GoString() string
func (CommandResult) HasError ¶
func (r CommandResult) HasError() bool
func (CommandResult) HasInt ¶
func (r CommandResult) HasInt() bool
func (CommandResult) HasText ¶
func (r CommandResult) HasText() bool
func (CommandResult) Int ¶
func (r CommandResult) Int() int
func (*CommandResult) Marshal ¶
func (m *CommandResult) Marshal() (data []byte, err error)
func (*CommandResult) ProtoMessage ¶
func (*CommandResult) ProtoMessage()
func (*CommandResult) Reset ¶
func (m *CommandResult) Reset()
func (*CommandResult) Size ¶
func (m *CommandResult) Size() (n int)
func (*CommandResult) String ¶
func (this *CommandResult) String() string
func (CommandResult) Text ¶
func (r CommandResult) Text() string
func (*CommandResult) Unmarshal ¶
func (m *CommandResult) Unmarshal(data []byte) error
type DeactivateMotion ¶
type DeactivateMotion struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DeactivateMotion) GetName ¶
func (m *DeactivateMotion) GetName() string
func (*DeactivateMotion) GoString ¶
func (this *DeactivateMotion) GoString() string
func (*DeactivateMotion) Marshal ¶
func (m *DeactivateMotion) Marshal() (data []byte, err error)
func (*DeactivateMotion) MarshalTo ¶
func (m *DeactivateMotion) MarshalTo(data []byte) (n int, err error)
func (*DeactivateMotion) ProtoMessage ¶
func (*DeactivateMotion) ProtoMessage()
func (*DeactivateMotion) Reset ¶
func (m *DeactivateMotion) Reset()
func (*DeactivateMotion) Size ¶
func (m *DeactivateMotion) Size() (n int)
func (*DeactivateMotion) String ¶
func (this *DeactivateMotion) String() string
func (*DeactivateMotion) Unmarshal ¶
func (m *DeactivateMotion) Unmarshal(data []byte) error
type DivideSpace ¶
type DivideSpace struct { Rows *int32 `protobuf:"varint,1,req,name=rows" json:"rows,omitempty"` Columns *int32 `protobuf:"varint,2,req,name=columns" json:"columns,omitempty"` Padding *int32 `protobuf:"varint,3,req,name=padding" json:"padding,omitempty"` Margin *int32 `protobuf:"varint,4,req,name=margin" json:"margin,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DivideSpace) GetColumns ¶
func (m *DivideSpace) GetColumns() int32
func (*DivideSpace) GetMargin ¶
func (m *DivideSpace) GetMargin() int32
func (*DivideSpace) GetPadding ¶
func (m *DivideSpace) GetPadding() int32
func (*DivideSpace) GetRows ¶
func (m *DivideSpace) GetRows() int32
func (*DivideSpace) GoString ¶
func (this *DivideSpace) GoString() string
func (*DivideSpace) Marshal ¶
func (m *DivideSpace) Marshal() (data []byte, err error)
func (*DivideSpace) ProtoMessage ¶
func (*DivideSpace) ProtoMessage()
func (*DivideSpace) Reset ¶
func (m *DivideSpace) Reset()
func (*DivideSpace) Size ¶
func (m *DivideSpace) Size() (n int)
func (*DivideSpace) String ¶
func (this *DivideSpace) String() string
func (*DivideSpace) Unmarshal ¶
func (m *DivideSpace) Unmarshal(data []byte) error
type EdgeAppearance ¶
type EdgeAppearance struct { EdgeStroke *string `protobuf:"bytes,1,opt,name=edgeStroke" json:"edgeStroke,omitempty"` EdgeLineWidth *int32 `protobuf:"varint,2,opt,name=edgeLineWidth" json:"edgeLineWidth,omitempty"` FingerFill *string `protobuf:"bytes,3,opt,name=fingerFill" json:"fingerFill,omitempty"` FingerStroke *string `protobuf:"bytes,4,opt,name=fingerStroke" json:"fingerStroke,omitempty"` FingerRadius *float32 `protobuf:"fixed32,5,opt,name=fingerRadius" json:"fingerRadius,omitempty"` FingerTexture *string `protobuf:"bytes,6,opt,name=fingerTexture" json:"fingerTexture,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EdgeAppearance) GetEdgeLineWidth ¶
func (m *EdgeAppearance) GetEdgeLineWidth() int32
func (*EdgeAppearance) GetEdgeStroke ¶
func (m *EdgeAppearance) GetEdgeStroke() string
func (*EdgeAppearance) GetFingerFill ¶
func (m *EdgeAppearance) GetFingerFill() string
func (*EdgeAppearance) GetFingerRadius ¶
func (m *EdgeAppearance) GetFingerRadius() float32
func (*EdgeAppearance) GetFingerStroke ¶
func (m *EdgeAppearance) GetFingerStroke() string
func (*EdgeAppearance) GetFingerTexture ¶
func (m *EdgeAppearance) GetFingerTexture() string
func (*EdgeAppearance) GoString ¶
func (this *EdgeAppearance) GoString() string
func (*EdgeAppearance) Marshal ¶
func (m *EdgeAppearance) Marshal() (data []byte, err error)
func (*EdgeAppearance) MarshalTo ¶
func (m *EdgeAppearance) MarshalTo(data []byte) (n int, err error)
func (*EdgeAppearance) ProtoMessage ¶
func (*EdgeAppearance) ProtoMessage()
func (*EdgeAppearance) Reset ¶
func (m *EdgeAppearance) Reset()
func (*EdgeAppearance) Size ¶
func (m *EdgeAppearance) Size() (n int)
func (*EdgeAppearance) String ¶
func (this *EdgeAppearance) String() string
func (*EdgeAppearance) Unmarshal ¶
func (m *EdgeAppearance) Unmarshal(data []byte) error
type EncodedCommand ¶
type EncodedCommand struct { Type *int32 `protobuf:"varint,1,req,name=type" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,req,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewEncodedCommand ¶
func NewEncodedCommand(commandType int32, cmd proto.Message) *EncodedCommand
func (EncodedCommand) Action ¶
func (e EncodedCommand) Action() int32
func (EncodedCommand) Decoded ¶
func (e EncodedCommand) Decoded() (Command, error)
func (*EncodedCommand) GetData ¶
func (m *EncodedCommand) GetData() []byte
func (*EncodedCommand) GetType ¶
func (m *EncodedCommand) GetType() int32
func (*EncodedCommand) GoString ¶
func (this *EncodedCommand) GoString() string
func (EncodedCommand) JSON ¶
func (e EncodedCommand) JSON() string
func (*EncodedCommand) Marshal ¶
func (m *EncodedCommand) Marshal() (data []byte, err error)
func (*EncodedCommand) MarshalTo ¶
func (m *EncodedCommand) MarshalTo(data []byte) (n int, err error)
func (*EncodedCommand) ProtoMessage ¶
func (*EncodedCommand) ProtoMessage()
func (*EncodedCommand) Reset ¶
func (m *EncodedCommand) Reset()
func (*EncodedCommand) Size ¶
func (m *EncodedCommand) Size() (n int)
func (*EncodedCommand) String ¶
func (this *EncodedCommand) String() string
func (*EncodedCommand) Unmarshal ¶
func (m *EncodedCommand) Unmarshal(data []byte) error
type EndTouches ¶
type EndTouches struct { Touches []int64 `protobuf:"varint,2,rep,packed,name=touches" json:"touches,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EndTouches) GetTouches ¶
func (m *EndTouches) GetTouches() []int64
func (*EndTouches) GoString ¶
func (this *EndTouches) GoString() string
func (*EndTouches) Marshal ¶
func (m *EndTouches) Marshal() (data []byte, err error)
func (*EndTouches) ProtoMessage ¶
func (*EndTouches) ProtoMessage()
func (*EndTouches) Reset ¶
func (m *EndTouches) Reset()
func (*EndTouches) Size ¶
func (m *EndTouches) Size() (n int)
func (*EndTouches) String ¶
func (this *EndTouches) String() string
func (*EndTouches) Unmarshal ¶
func (m *EndTouches) Unmarshal(data []byte) error
type GetSetting ¶
type GetSetting struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetSetting) GetName ¶
func (m *GetSetting) GetName() string
func (*GetSetting) GoString ¶
func (this *GetSetting) GoString() string
func (*GetSetting) Marshal ¶
func (m *GetSetting) Marshal() (data []byte, err error)
func (*GetSetting) ProtoMessage ¶
func (*GetSetting) ProtoMessage()
func (*GetSetting) Reset ¶
func (m *GetSetting) Reset()
func (*GetSetting) Size ¶
func (m *GetSetting) Size() (n int)
func (*GetSetting) String ¶
func (this *GetSetting) String() string
func (*GetSetting) Unmarshal ¶
func (m *GetSetting) Unmarshal(data []byte) error
type GetSettings ¶
type GetSettings struct {
XXX_unrecognized []byte `json:"-"`
}
func (*GetSettings) GoString ¶
func (this *GetSettings) GoString() string
func (*GetSettings) Marshal ¶
func (m *GetSettings) Marshal() (data []byte, err error)
func (*GetSettings) ProtoMessage ¶
func (*GetSettings) ProtoMessage()
func (*GetSettings) Reset ¶
func (m *GetSettings) Reset()
func (*GetSettings) Size ¶
func (m *GetSettings) Size() (n int)
func (*GetSettings) String ¶
func (this *GetSettings) String() string
func (*GetSettings) Unmarshal ¶
func (m *GetSettings) Unmarshal(data []byte) error
type GetSprite ¶
type GetSprite struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` Json *string `protobuf:"bytes,3,req,name=json" json:"json,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetSprite) ProtoMessage ¶
func (*GetSprite) ProtoMessage()
type HandleCanvasResized ¶
type HandleCanvasResized struct { Width *int32 `protobuf:"varint,1,req,name=width" json:"width,omitempty"` Height *int32 `protobuf:"varint,2,req,name=height" json:"height,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HandleCanvasResized) GetHeight ¶
func (m *HandleCanvasResized) GetHeight() int32
func (*HandleCanvasResized) GetWidth ¶
func (m *HandleCanvasResized) GetWidth() int32
func (*HandleCanvasResized) GoString ¶
func (this *HandleCanvasResized) GoString() string
func (*HandleCanvasResized) Marshal ¶
func (m *HandleCanvasResized) Marshal() (data []byte, err error)
func (*HandleCanvasResized) MarshalTo ¶
func (m *HandleCanvasResized) MarshalTo(data []byte) (n int, err error)
func (*HandleCanvasResized) ProtoMessage ¶
func (*HandleCanvasResized) ProtoMessage()
func (*HandleCanvasResized) Reset ¶
func (m *HandleCanvasResized) Reset()
func (*HandleCanvasResized) Size ¶
func (m *HandleCanvasResized) Size() (n int)
func (*HandleCanvasResized) String ¶
func (this *HandleCanvasResized) String() string
func (*HandleCanvasResized) Unmarshal ¶
func (m *HandleCanvasResized) Unmarshal(data []byte) error
type HandleDeviceInfo ¶
type HandleDeviceInfo struct { Properties []*KeyValue `protobuf:"bytes,2,rep,name=properties" json:"properties,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HandleDeviceInfo) GetProperties ¶
func (m *HandleDeviceInfo) GetProperties() []*KeyValue
func (*HandleDeviceInfo) GoString ¶
func (this *HandleDeviceInfo) GoString() string
func (*HandleDeviceInfo) Marshal ¶
func (m *HandleDeviceInfo) Marshal() (data []byte, err error)
func (*HandleDeviceInfo) MarshalTo ¶
func (m *HandleDeviceInfo) MarshalTo(data []byte) (n int, err error)
func (*HandleDeviceInfo) ProtoMessage ¶
func (*HandleDeviceInfo) ProtoMessage()
func (*HandleDeviceInfo) Reset ¶
func (m *HandleDeviceInfo) Reset()
func (*HandleDeviceInfo) Size ¶
func (m *HandleDeviceInfo) Size() (n int)
func (*HandleDeviceInfo) String ¶
func (this *HandleDeviceInfo) String() string
func (*HandleDeviceInfo) Unmarshal ¶
func (m *HandleDeviceInfo) Unmarshal(data []byte) error
type HandleDragDrop ¶
type HandleDragDrop struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"` ShapeType *string `protobuf:"bytes,4,req,name=shapeType" json:"shapeType,omitempty"` X *float32 `protobuf:"fixed32,5,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,6,req,name=y" json:"y,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HandleDragDrop) GetId ¶
func (m *HandleDragDrop) GetId() int32
func (*HandleDragDrop) GetLayer ¶
func (m *HandleDragDrop) GetLayer() int32
func (*HandleDragDrop) GetName ¶
func (m *HandleDragDrop) GetName() string
func (*HandleDragDrop) GetShapeType ¶
func (m *HandleDragDrop) GetShapeType() string
func (*HandleDragDrop) GetX ¶
func (m *HandleDragDrop) GetX() float32
func (*HandleDragDrop) GetY ¶
func (m *HandleDragDrop) GetY() float32
func (*HandleDragDrop) GoString ¶
func (this *HandleDragDrop) GoString() string
func (*HandleDragDrop) Marshal ¶
func (m *HandleDragDrop) Marshal() (data []byte, err error)
func (*HandleDragDrop) MarshalTo ¶
func (m *HandleDragDrop) MarshalTo(data []byte) (n int, err error)
func (*HandleDragDrop) ProtoMessage ¶
func (*HandleDragDrop) ProtoMessage()
func (*HandleDragDrop) Reset ¶
func (m *HandleDragDrop) Reset()
func (*HandleDragDrop) Size ¶
func (m *HandleDragDrop) Size() (n int)
func (*HandleDragDrop) String ¶
func (this *HandleDragDrop) String() string
func (*HandleDragDrop) Unmarshal ¶
func (m *HandleDragDrop) Unmarshal(data []byte) error
type HandleGesture ¶
type HandleGesture struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Bounds *BoundingBox `protobuf:"bytes,2,opt,name=bounds" json:"bounds,omitempty"` Origin *string `protobuf:"bytes,3,opt,name=origin" json:"origin,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HandleGesture) GetBounds ¶
func (m *HandleGesture) GetBounds() *BoundingBox
func (*HandleGesture) GetName ¶
func (m *HandleGesture) GetName() string
func (*HandleGesture) GetOrigin ¶
func (m *HandleGesture) GetOrigin() string
func (*HandleGesture) GoString ¶
func (this *HandleGesture) GoString() string
func (*HandleGesture) Marshal ¶
func (m *HandleGesture) Marshal() (data []byte, err error)
func (*HandleGesture) ProtoMessage ¶
func (*HandleGesture) ProtoMessage()
func (*HandleGesture) Reset ¶
func (m *HandleGesture) Reset()
func (*HandleGesture) Size ¶
func (m *HandleGesture) Size() (n int)
func (*HandleGesture) String ¶
func (this *HandleGesture) String() string
func (*HandleGesture) Unmarshal ¶
func (m *HandleGesture) Unmarshal(data []byte) error
type HandleServerConnected ¶
type HandleServerConnected struct {
XXX_unrecognized []byte `json:"-"`
}
func (*HandleServerConnected) GoString ¶
func (this *HandleServerConnected) GoString() string
func (*HandleServerConnected) Marshal ¶
func (m *HandleServerConnected) Marshal() (data []byte, err error)
func (*HandleServerConnected) MarshalTo ¶
func (m *HandleServerConnected) MarshalTo(data []byte) (n int, err error)
func (*HandleServerConnected) ProtoMessage ¶
func (*HandleServerConnected) ProtoMessage()
func (*HandleServerConnected) Reset ¶
func (m *HandleServerConnected) Reset()
func (*HandleServerConnected) Size ¶
func (m *HandleServerConnected) Size() (n int)
func (*HandleServerConnected) String ¶
func (this *HandleServerConnected) String() string
func (*HandleServerConnected) Unmarshal ¶
func (m *HandleServerConnected) Unmarshal(data []byte) error
type HandleServerDisconnected ¶
type HandleServerDisconnected struct {
XXX_unrecognized []byte `json:"-"`
}
func (*HandleServerDisconnected) GoString ¶
func (this *HandleServerDisconnected) GoString() string
func (*HandleServerDisconnected) Marshal ¶
func (m *HandleServerDisconnected) Marshal() (data []byte, err error)
func (*HandleServerDisconnected) MarshalTo ¶
func (m *HandleServerDisconnected) MarshalTo(data []byte) (n int, err error)
func (*HandleServerDisconnected) ProtoMessage ¶
func (*HandleServerDisconnected) ProtoMessage()
func (*HandleServerDisconnected) Reset ¶
func (m *HandleServerDisconnected) Reset()
func (*HandleServerDisconnected) Size ¶
func (m *HandleServerDisconnected) Size() (n int)
func (*HandleServerDisconnected) String ¶
func (this *HandleServerDisconnected) String() string
func (*HandleServerDisconnected) Unmarshal ¶
func (m *HandleServerDisconnected) Unmarshal(data []byte) error
type HandleSpriteTouched ¶
type HandleSpriteTouched struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"` ShapeType *string `protobuf:"bytes,4,req,name=shapeType" json:"shapeType,omitempty"` X *float32 `protobuf:"fixed32,5,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,6,req,name=y" json:"y,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HandleSpriteTouched) GetId ¶
func (m *HandleSpriteTouched) GetId() int32
func (*HandleSpriteTouched) GetLayer ¶
func (m *HandleSpriteTouched) GetLayer() int32
func (*HandleSpriteTouched) GetName ¶
func (m *HandleSpriteTouched) GetName() string
func (*HandleSpriteTouched) GetShapeType ¶
func (m *HandleSpriteTouched) GetShapeType() string
func (*HandleSpriteTouched) GetX ¶
func (m *HandleSpriteTouched) GetX() float32
func (*HandleSpriteTouched) GetY ¶
func (m *HandleSpriteTouched) GetY() float32
func (*HandleSpriteTouched) GoString ¶
func (this *HandleSpriteTouched) GoString() string
func (*HandleSpriteTouched) Marshal ¶
func (m *HandleSpriteTouched) Marshal() (data []byte, err error)
func (*HandleSpriteTouched) MarshalTo ¶
func (m *HandleSpriteTouched) MarshalTo(data []byte) (n int, err error)
func (*HandleSpriteTouched) ProtoMessage ¶
func (*HandleSpriteTouched) ProtoMessage()
func (*HandleSpriteTouched) Reset ¶
func (m *HandleSpriteTouched) Reset()
func (*HandleSpriteTouched) Size ¶
func (m *HandleSpriteTouched) Size() (n int)
func (*HandleSpriteTouched) String ¶
func (this *HandleSpriteTouched) String() string
func (*HandleSpriteTouched) Unmarshal ¶
func (m *HandleSpriteTouched) Unmarshal(data []byte) error
type JoinClient ¶
type JoinClient struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Role *string `protobuf:"bytes,2,req,name=role" json:"role,omitempty"` ApiVersion *int32 `protobuf:"varint,3,req,name=apiVersion" json:"apiVersion,omitempty"` CookieValue *string `protobuf:"bytes,4,req,name=cookieValue" json:"cookieValue,omitempty"` ScreenWidth *int32 `protobuf:"varint,5,req,name=screenWidth" json:"screenWidth,omitempty"` ScreenHeight *int32 `protobuf:"varint,6,req,name=screenHeight" json:"screenHeight,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*JoinClient) GetApiVersion ¶
func (m *JoinClient) GetApiVersion() int32
func (*JoinClient) GetCookieValue ¶
func (m *JoinClient) GetCookieValue() string
func (*JoinClient) GetId ¶
func (m *JoinClient) GetId() int32
func (*JoinClient) GetRole ¶
func (m *JoinClient) GetRole() string
func (*JoinClient) GetScreenHeight ¶
func (m *JoinClient) GetScreenHeight() int32
func (*JoinClient) GetScreenWidth ¶
func (m *JoinClient) GetScreenWidth() int32
func (*JoinClient) GoString ¶
func (this *JoinClient) GoString() string
func (*JoinClient) Marshal ¶
func (m *JoinClient) Marshal() (data []byte, err error)
func (*JoinClient) ProtoMessage ¶
func (*JoinClient) ProtoMessage()
func (*JoinClient) Reset ¶
func (m *JoinClient) Reset()
func (*JoinClient) Size ¶
func (m *JoinClient) Size() (n int)
func (*JoinClient) String ¶
func (this *JoinClient) String() string
func (*JoinClient) Unmarshal ¶
func (m *JoinClient) Unmarshal(data []byte) error
type KeyValue ¶
type KeyValue struct { Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
type Log ¶
type Log struct { Message *string `protobuf:"bytes,1,req,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Log) GetMessage ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
type MoveSprite ¶
type MoveSprite struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` X *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MoveSprite) GetId ¶
func (m *MoveSprite) GetId() int32
func (*MoveSprite) GetLayer ¶
func (m *MoveSprite) GetLayer() int32
func (*MoveSprite) GetX ¶
func (m *MoveSprite) GetX() float32
func (*MoveSprite) GetY ¶
func (m *MoveSprite) GetY() float32
func (*MoveSprite) GoString ¶
func (this *MoveSprite) GoString() string
func (*MoveSprite) Marshal ¶
func (m *MoveSprite) Marshal() (data []byte, err error)
func (*MoveSprite) ProtoMessage ¶
func (*MoveSprite) ProtoMessage()
func (*MoveSprite) Reset ¶
func (m *MoveSprite) Reset()
func (*MoveSprite) Size ¶
func (m *MoveSprite) Size() (n int)
func (*MoveSprite) String ¶
func (this *MoveSprite) String() string
func (*MoveSprite) Unmarshal ¶
func (m *MoveSprite) Unmarshal(data []byte) error
type MoveTouches ¶
type MoveTouches struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Touches []*Touch `protobuf:"bytes,2,rep,name=touches" json:"touches,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MoveTouches) GetId ¶
func (m *MoveTouches) GetId() int32
func (*MoveTouches) GetTouches ¶
func (m *MoveTouches) GetTouches() []*Touch
func (*MoveTouches) GoString ¶
func (this *MoveTouches) GoString() string
func (*MoveTouches) Marshal ¶
func (m *MoveTouches) Marshal() (data []byte, err error)
func (MoveTouches) MarshalJSON ¶
func (m MoveTouches) MarshalJSON() ([]byte, error)
func (*MoveTouches) ProtoMessage ¶
func (*MoveTouches) ProtoMessage()
func (*MoveTouches) Reset ¶
func (m *MoveTouches) Reset()
func (*MoveTouches) Size ¶
func (m *MoveTouches) Size() (n int)
func (*MoveTouches) String ¶
func (this *MoveTouches) String() string
func (*MoveTouches) Unmarshal ¶
func (m *MoveTouches) Unmarshal(data []byte) error
type NameValue ¶
type NameValue struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*NameValue) ProtoMessage ¶
func (*NameValue) ProtoMessage()
type NoOperation ¶
type NoOperation struct {
XXX_unrecognized []byte `json:"-"`
}
func (*NoOperation) GoString ¶
func (this *NoOperation) GoString() string
func (*NoOperation) Marshal ¶
func (m *NoOperation) Marshal() (data []byte, err error)
func (*NoOperation) ProtoMessage ¶
func (*NoOperation) ProtoMessage()
func (*NoOperation) Reset ¶
func (m *NoOperation) Reset()
func (*NoOperation) Size ¶
func (m *NoOperation) Size() (n int)
func (*NoOperation) String ¶
func (this *NoOperation) String() string
func (*NoOperation) Unmarshal ¶
func (m *NoOperation) Unmarshal(data []byte) error
type OpenLocation ¶
type OpenLocation struct { Url *string `protobuf:"bytes,1,req,name=url" json:"url,omitempty"` Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` Target *string `protobuf:"bytes,3,opt,name=target" json:"target,omitempty"` BoxWidth *string `protobuf:"bytes,4,opt,name=boxWidth" json:"boxWidth,omitempty"` BoxHeight *string `protobuf:"bytes,5,opt,name=boxHeight" json:"boxHeight,omitempty"` XXX_unrecognized []byte `json:"-"` }
53
func (*OpenLocation) GetBoxHeight ¶
func (m *OpenLocation) GetBoxHeight() string
func (*OpenLocation) GetBoxWidth ¶
func (m *OpenLocation) GetBoxWidth() string
func (*OpenLocation) GetTarget ¶
func (m *OpenLocation) GetTarget() string
func (*OpenLocation) GetTitle ¶
func (m *OpenLocation) GetTitle() string
func (*OpenLocation) GetUrl ¶
func (m *OpenLocation) GetUrl() string
func (*OpenLocation) GoString ¶
func (this *OpenLocation) GoString() string
func (*OpenLocation) Marshal ¶
func (m *OpenLocation) Marshal() (data []byte, err error)
func (*OpenLocation) ProtoMessage ¶
func (*OpenLocation) ProtoMessage()
func (*OpenLocation) Reset ¶
func (m *OpenLocation) Reset()
func (*OpenLocation) Size ¶
func (m *OpenLocation) Size() (n int)
func (*OpenLocation) String ¶
func (this *OpenLocation) String() string
func (*OpenLocation) Unmarshal ¶
func (m *OpenLocation) Unmarshal(data []byte) error
type Physics ¶
type Physics struct { Static *bool `protobuf:"varint,1,req,name=static" json:"static,omitempty"` // for non-static VelocityX *float32 `protobuf:"fixed32,2,opt,name=velocityX" json:"velocityX,omitempty"` VelocityY *float32 `protobuf:"fixed32,3,opt,name=velocityY" json:"velocityY,omitempty"` AngularVelocity *float32 `protobuf:"fixed32,4,opt,name=angularVelocity" json:"angularVelocity,omitempty"` Mass *float32 `protobuf:"fixed32,5,opt,name=mass" json:"mass,omitempty"` Friction *float32 `protobuf:"fixed32,6,opt,name=friction" json:"friction,omitempty"` Elasticity *float32 `protobuf:"fixed32,7,opt,name=elasticity" json:"elasticity,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Physics) GetAngularVelocity ¶
func (*Physics) GetElasticity ¶
func (*Physics) GetFriction ¶
func (*Physics) GetVelocityX ¶
func (*Physics) GetVelocityY ¶
func (*Physics) ProtoMessage ¶
func (*Physics) ProtoMessage()
type PlayerCommand ¶
type PlayerCommand struct { Id *int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` All *bool `protobuf:"varint,2,req,name=all" json:"all,omitempty"` Data []byte `protobuf:"bytes,3,req,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PlayerCommand) GetAll ¶
func (m *PlayerCommand) GetAll() bool
func (*PlayerCommand) GetData ¶
func (m *PlayerCommand) GetData() []byte
func (*PlayerCommand) GetId ¶
func (m *PlayerCommand) GetId() int32
func (*PlayerCommand) GoString ¶
func (this *PlayerCommand) GoString() string
func (*PlayerCommand) Marshal ¶
func (m *PlayerCommand) Marshal() (data []byte, err error)
func (*PlayerCommand) ProtoMessage ¶
func (*PlayerCommand) ProtoMessage()
func (*PlayerCommand) Reset ¶
func (m *PlayerCommand) Reset()
func (*PlayerCommand) Size ¶
func (m *PlayerCommand) Size() (n int)
func (*PlayerCommand) String ¶
func (this *PlayerCommand) String() string
func (*PlayerCommand) Unmarshal ¶
func (m *PlayerCommand) Unmarshal(data []byte) error
type Point ¶
type Point struct { X *float32 `protobuf:"fixed32,1,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,2,req,name=y" json:"y,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
type PutSettings ¶
type PutSettings struct { Settings []*NameValue `protobuf:"bytes,1,rep,name=settings" json:"settings,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PutSettings) GetSettings ¶
func (m *PutSettings) GetSettings() []*NameValue
func (*PutSettings) GoString ¶
func (this *PutSettings) GoString() string
func (*PutSettings) Marshal ¶
func (m *PutSettings) Marshal() (data []byte, err error)
func (*PutSettings) ProtoMessage ¶
func (*PutSettings) ProtoMessage()
func (*PutSettings) Reset ¶
func (m *PutSettings) Reset()
func (*PutSettings) Size ¶
func (m *PutSettings) Size() (n int)
func (*PutSettings) String ¶
func (this *PutSettings) String() string
func (*PutSettings) Unmarshal ¶
func (m *PutSettings) Unmarshal(data []byte) error
type RemoveAllSprites ¶
type RemoveAllSprites struct { Layer *int32 `protobuf:"varint,1,req,name=layer" json:"layer,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RemoveAllSprites) GetLayer ¶
func (m *RemoveAllSprites) GetLayer() int32
func (*RemoveAllSprites) GoString ¶
func (this *RemoveAllSprites) GoString() string
func (*RemoveAllSprites) Marshal ¶
func (m *RemoveAllSprites) Marshal() (data []byte, err error)
func (*RemoveAllSprites) MarshalTo ¶
func (m *RemoveAllSprites) MarshalTo(data []byte) (n int, err error)
func (*RemoveAllSprites) ProtoMessage ¶
func (*RemoveAllSprites) ProtoMessage()
func (*RemoveAllSprites) Reset ¶
func (m *RemoveAllSprites) Reset()
func (*RemoveAllSprites) Size ¶
func (m *RemoveAllSprites) Size() (n int)
func (*RemoveAllSprites) String ¶
func (this *RemoveAllSprites) String() string
func (*RemoveAllSprites) Unmarshal ¶
func (m *RemoveAllSprites) Unmarshal(data []byte) error
type RemoveSprite ¶
type RemoveSprite struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewRemoveSprite ¶
func NewRemoveSprite(id int32, layer int32) *RemoveSprite
func (*RemoveSprite) GetId ¶
func (m *RemoveSprite) GetId() int32
func (*RemoveSprite) GetLayer ¶
func (m *RemoveSprite) GetLayer() int32
func (*RemoveSprite) GoString ¶
func (this *RemoveSprite) GoString() string
func (*RemoveSprite) Marshal ¶
func (m *RemoveSprite) Marshal() (data []byte, err error)
func (*RemoveSprite) ProtoMessage ¶
func (*RemoveSprite) ProtoMessage()
func (*RemoveSprite) Reset ¶
func (m *RemoveSprite) Reset()
func (*RemoveSprite) Size ¶
func (m *RemoveSprite) Size() (n int)
func (*RemoveSprite) String ¶
func (this *RemoveSprite) String() string
func (*RemoveSprite) Unmarshal ¶
func (m *RemoveSprite) Unmarshal(data []byte) error
type Reset ¶
type Reset struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Reset) ProtoMessage ¶
func (*Reset) ProtoMessage()
type ResetSprites ¶
type ResetSprites struct { NoOperation Layer int32 }
type Result ¶
type Result interface { HasError() bool Error() string HasInt() bool Int() int HasText() bool Text() string }
func NewErrorResult ¶
func NewIntResult ¶
func NewPropertiesResult ¶
func NewStringResult ¶
type RotateSprite ¶
type RotateSprite struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` // Radians Angle *float32 `protobuf:"fixed32,3,req,name=angle" json:"angle,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RotateSprite) GetAngle ¶
func (m *RotateSprite) GetAngle() float32
func (*RotateSprite) GetId ¶
func (m *RotateSprite) GetId() int32
func (*RotateSprite) GetLayer ¶
func (m *RotateSprite) GetLayer() int32
func (*RotateSprite) GoString ¶
func (this *RotateSprite) GoString() string
func (*RotateSprite) Marshal ¶
func (m *RotateSprite) Marshal() (data []byte, err error)
func (*RotateSprite) ProtoMessage ¶
func (*RotateSprite) ProtoMessage()
func (*RotateSprite) Reset ¶
func (m *RotateSprite) Reset()
func (*RotateSprite) Size ¶
func (m *RotateSprite) Size() (n int)
func (*RotateSprite) String ¶
func (this *RotateSprite) String() string
func (*RotateSprite) Unmarshal ¶
func (m *RotateSprite) Unmarshal(data []byte) error
type RotationAccelerateSprite ¶
type RotationAccelerateSprite struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Layer *int32 `protobuf:"varint,2,req,name=layer" json:"layer,omitempty"` Va *float32 `protobuf:"fixed32,3,req,name=va" json:"va,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RotationAccelerateSprite) GetId ¶
func (m *RotationAccelerateSprite) GetId() int32
func (*RotationAccelerateSprite) GetLayer ¶
func (m *RotationAccelerateSprite) GetLayer() int32
func (*RotationAccelerateSprite) GetVa ¶
func (m *RotationAccelerateSprite) GetVa() float32
func (*RotationAccelerateSprite) GoString ¶
func (this *RotationAccelerateSprite) GoString() string
func (*RotationAccelerateSprite) Marshal ¶
func (m *RotationAccelerateSprite) Marshal() (data []byte, err error)
func (*RotationAccelerateSprite) MarshalTo ¶
func (m *RotationAccelerateSprite) MarshalTo(data []byte) (n int, err error)
func (*RotationAccelerateSprite) ProtoMessage ¶
func (*RotationAccelerateSprite) ProtoMessage()
func (*RotationAccelerateSprite) Reset ¶
func (m *RotationAccelerateSprite) Reset()
func (*RotationAccelerateSprite) Size ¶
func (m *RotationAccelerateSprite) Size() (n int)
func (*RotationAccelerateSprite) String ¶
func (this *RotationAccelerateSprite) String() string
func (*RotationAccelerateSprite) Unmarshal ¶
func (m *RotationAccelerateSprite) Unmarshal(data []byte) error
type SetBackgroundImage ¶
type SetBackgroundImage struct { Url *string `protobuf:"bytes,1,req,name=url" json:"url,omitempty"` XXX_unrecognized []byte `json:"-"` }
used?
func (*SetBackgroundImage) GetUrl ¶
func (m *SetBackgroundImage) GetUrl() string
func (*SetBackgroundImage) GoString ¶
func (this *SetBackgroundImage) GoString() string
func (*SetBackgroundImage) Marshal ¶
func (m *SetBackgroundImage) Marshal() (data []byte, err error)
func (*SetBackgroundImage) MarshalTo ¶
func (m *SetBackgroundImage) MarshalTo(data []byte) (n int, err error)
func (*SetBackgroundImage) ProtoMessage ¶
func (*SetBackgroundImage) ProtoMessage()
func (*SetBackgroundImage) Reset ¶
func (m *SetBackgroundImage) Reset()
func (*SetBackgroundImage) Size ¶
func (m *SetBackgroundImage) Size() (n int)
func (*SetBackgroundImage) String ¶
func (this *SetBackgroundImage) String() string
func (*SetBackgroundImage) Unmarshal ¶
func (m *SetBackgroundImage) Unmarshal(data []byte) error
type SetCookie ¶
type SetCookie struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` Path *string `protobuf:"bytes,3,req,name=path" json:"path,omitempty"` Domain *string `protobuf:"bytes,4,req,name=domain" json:"domain,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetCookie) ProtoMessage ¶
func (*SetCookie) ProtoMessage()
type SetLogVerbosity ¶
type SetLogVerbosity struct { Value *int32 `protobuf:"varint,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetLogVerbosity) GetValue ¶
func (m *SetLogVerbosity) GetValue() int32
func (*SetLogVerbosity) GoString ¶
func (this *SetLogVerbosity) GoString() string
func (*SetLogVerbosity) Marshal ¶
func (m *SetLogVerbosity) Marshal() (data []byte, err error)
func (*SetLogVerbosity) MarshalTo ¶
func (m *SetLogVerbosity) MarshalTo(data []byte) (n int, err error)
func (*SetLogVerbosity) ProtoMessage ¶
func (*SetLogVerbosity) ProtoMessage()
func (*SetLogVerbosity) Reset ¶
func (m *SetLogVerbosity) Reset()
func (*SetLogVerbosity) Size ¶
func (m *SetLogVerbosity) Size() (n int)
func (*SetLogVerbosity) String ¶
func (this *SetLogVerbosity) String() string
func (*SetLogVerbosity) Unmarshal ¶
func (m *SetLogVerbosity) Unmarshal(data []byte) error
type StartTouches ¶
type StartTouches struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Touches []*Touch `protobuf:"bytes,2,rep,name=touches" json:"touches,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*StartTouches) GetId ¶
func (m *StartTouches) GetId() int32
func (*StartTouches) GetTouches ¶
func (m *StartTouches) GetTouches() []*Touch
func (*StartTouches) GoString ¶
func (this *StartTouches) GoString() string
func (*StartTouches) Marshal ¶
func (m *StartTouches) Marshal() (data []byte, err error)
func (*StartTouches) ProtoMessage ¶
func (*StartTouches) ProtoMessage()
func (*StartTouches) Reset ¶
func (m *StartTouches) Reset()
func (*StartTouches) Size ¶
func (m *StartTouches) Size() (n int)
func (*StartTouches) String ¶
func (this *StartTouches) String() string
func (*StartTouches) Unmarshal ¶
func (m *StartTouches) Unmarshal(data []byte) error
type StoreImage ¶
type StoreImage struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Data *string `protobuf:"bytes,2,req,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*StoreImage) GetData ¶
func (m *StoreImage) GetData() string
func (*StoreImage) GetName ¶
func (m *StoreImage) GetName() string
func (*StoreImage) GoString ¶
func (this *StoreImage) GoString() string
func (*StoreImage) Marshal ¶
func (m *StoreImage) Marshal() (data []byte, err error)
func (*StoreImage) ProtoMessage ¶
func (*StoreImage) ProtoMessage()
func (*StoreImage) Reset ¶
func (m *StoreImage) Reset()
func (*StoreImage) Size ¶
func (m *StoreImage) Size() (n int)
func (*StoreImage) String ¶
func (this *StoreImage) String() string
func (*StoreImage) Unmarshal ¶
func (m *StoreImage) Unmarshal(data []byte) error
type TakeScreenshot ¶
type TakeScreenshot struct { Layers []int32 `protobuf:"varint,1,rep,name=layers" json:"layers,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*TakeScreenshot) GetLayers ¶
func (m *TakeScreenshot) GetLayers() []int32
func (*TakeScreenshot) GetName ¶
func (m *TakeScreenshot) GetName() string
func (*TakeScreenshot) GoString ¶
func (this *TakeScreenshot) GoString() string
func (*TakeScreenshot) Marshal ¶
func (m *TakeScreenshot) Marshal() (data []byte, err error)
func (*TakeScreenshot) MarshalTo ¶
func (m *TakeScreenshot) MarshalTo(data []byte) (n int, err error)
func (*TakeScreenshot) ProtoMessage ¶
func (*TakeScreenshot) ProtoMessage()
func (*TakeScreenshot) Reset ¶
func (m *TakeScreenshot) Reset()
func (*TakeScreenshot) Size ¶
func (m *TakeScreenshot) Size() (n int)
func (*TakeScreenshot) String ¶
func (this *TakeScreenshot) String() string
func (*TakeScreenshot) Unmarshal ¶
func (m *TakeScreenshot) Unmarshal(data []byte) error
type TextAppearance ¶
type TextAppearance struct { Fill *string `protobuf:"bytes,1,opt,name=fill" json:"fill,omitempty"` Font *string `protobuf:"bytes,2,opt,name=font" json:"font,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*TextAppearance) GetFill ¶
func (m *TextAppearance) GetFill() string
func (*TextAppearance) GetFont ¶
func (m *TextAppearance) GetFont() string
func (*TextAppearance) GoString ¶
func (this *TextAppearance) GoString() string
func (*TextAppearance) Marshal ¶
func (m *TextAppearance) Marshal() (data []byte, err error)
func (*TextAppearance) MarshalTo ¶
func (m *TextAppearance) MarshalTo(data []byte) (n int, err error)
func (*TextAppearance) ProtoMessage ¶
func (*TextAppearance) ProtoMessage()
func (*TextAppearance) Reset ¶
func (m *TextAppearance) Reset()
func (*TextAppearance) Size ¶
func (m *TextAppearance) Size() (n int)
func (*TextAppearance) String ¶
func (this *TextAppearance) String() string
func (*TextAppearance) Unmarshal ¶
func (m *TextAppearance) Unmarshal(data []byte) error
type Touch ¶
type Touch struct { Nr *int64 `protobuf:"varint,1,req,name=nr" json:"nr,omitempty"` X *float32 `protobuf:"fixed32,2,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,3,req,name=y" json:"y,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (Touch) MarshalJSON ¶
func (*Touch) ProtoMessage ¶
func (*Touch) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.