command

package
v0.0.0-...-55ddbd8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2019 License: MIT Imports: 12 Imported by: 0

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

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 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

func PNonEmptyString(s string) *string

PNonEmptyString returns nil if the string is empty

func Pbool

func Pbool(b bool) *bool

func Pfloat32

func Pfloat32(value float64) *float32

Pfloat32 convert a float 64 to a pointer to a float32

func Pint32

func Pint32(v int32) *int32

Pint32 returns a pointer to the int32 value.

func Pint64

func Pint64(v int64) *int64

Pint64 returns a pointer to the int64 value.

func Print32

func Print32(value float64) *int32

Print32 rounds a float to the nearest integer 32 and return its pointer.

func Pstring

func Pstring(s string) *string

func ToJSON

func ToJSON(cmd Command) string

func ToLogEntry

func ToLogEntry(cmd Command) string

{ "MoveTouches" : { ... }}

func TypeName

func TypeName(cmdType int32) string

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) GetAngle

func (m *AddCircle) GetAngle() float32

func (*AddCircle) GetAppearance

func (m *AddCircle) GetAppearance() *Appearance

func (*AddCircle) GetId

func (m *AddCircle) GetId() int32

func (*AddCircle) GetLayer

func (m *AddCircle) GetLayer() int32

func (*AddCircle) GetRadius

func (m *AddCircle) GetRadius() float32

func (*AddCircle) GetX

func (m *AddCircle) GetX() float32

func (*AddCircle) GetY

func (m *AddCircle) GetY() float32

func (*AddCircle) GoString

func (this *AddCircle) GoString() string

func (*AddCircle) Marshal

func (m *AddCircle) Marshal() (data []byte, err error)

func (*AddCircle) MarshalTo

func (m *AddCircle) MarshalTo(data []byte) (n int, err error)

func (*AddCircle) ProtoMessage

func (*AddCircle) ProtoMessage()

func (*AddCircle) Reset

func (m *AddCircle) Reset()

func (*AddCircle) Size

func (m *AddCircle) Size() (n int)

func (*AddCircle) String

func (this *AddCircle) String() string

func (*AddCircle) Unmarshal

func (m *AddCircle) Unmarshal(data []byte) error

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) GetId

func (m *AddDisc) GetId() int32

func (*AddDisc) GetLayer

func (m *AddDisc) GetLayer() int32

func (*AddDisc) GetPhysics

func (m *AddDisc) GetPhysics() *Physics

func (*AddDisc) GetRadius

func (m *AddDisc) GetRadius() float32

func (*AddDisc) GetX

func (m *AddDisc) GetX() float32

func (*AddDisc) GetY

func (m *AddDisc) GetY() float32

func (*AddDisc) GoString

func (this *AddDisc) GoString() string

func (*AddDisc) Marshal

func (m *AddDisc) Marshal() (data []byte, err error)

func (*AddDisc) MarshalTo

func (m *AddDisc) MarshalTo(data []byte) (n int, err error)

func (*AddDisc) ProtoMessage

func (*AddDisc) ProtoMessage()

func (*AddDisc) Reset

func (m *AddDisc) Reset()

func (*AddDisc) Size

func (m *AddDisc) Size() (n int)

func (*AddDisc) String

func (this *AddDisc) String() string

func (*AddDisc) Unmarshal

func (m *AddDisc) Unmarshal(data []byte) error

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) GetA

func (m *AddEdge) GetA() *Point

func (*AddEdge) GetAppearance

func (m *AddEdge) GetAppearance() *EdgeAppearance

func (*AddEdge) GetB

func (m *AddEdge) GetB() *Point

func (*AddEdge) GetId

func (m *AddEdge) GetId() int32

func (*AddEdge) GetLayer

func (m *AddEdge) GetLayer() int32

func (*AddEdge) GetPhysics

func (m *AddEdge) GetPhysics() *Physics

func (*AddEdge) GoString

func (this *AddEdge) GoString() string

func (*AddEdge) Marshal

func (m *AddEdge) Marshal() (data []byte, err error)

func (*AddEdge) MarshalTo

func (m *AddEdge) MarshalTo(data []byte) (n int, err error)

func (*AddEdge) ProtoMessage

func (*AddEdge) ProtoMessage()

func (*AddEdge) Reset

func (m *AddEdge) Reset()

func (*AddEdge) Size

func (m *AddEdge) Size() (n int)

func (*AddEdge) String

func (this *AddEdge) String() string

func (*AddEdge) Unmarshal

func (m *AddEdge) Unmarshal(data []byte) error

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) MarshalTo

func (m *AddPolyline) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *AddRectangle) MarshalTo(data []byte) (n int, 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) GetA

func (m *AddSprite) GetA() *Point

func (*AddSprite) GetAngle

func (m *AddSprite) GetAngle() float32

func (*AddSprite) GetAppearance

func (m *AddSprite) GetAppearance() *Appearance

func (*AddSprite) GetB

func (m *AddSprite) GetB() *Point

func (*AddSprite) GetHeight

func (m *AddSprite) GetHeight() float32

func (*AddSprite) GetId

func (m *AddSprite) GetId() int32

func (*AddSprite) GetLayer

func (m *AddSprite) GetLayer() int32

func (*AddSprite) GetPhysics

func (m *AddSprite) GetPhysics() *Physics

func (*AddSprite) GetPoints

func (m *AddSprite) GetPoints() []*Point

func (*AddSprite) GetRadius

func (m *AddSprite) GetRadius() float32

func (*AddSprite) GetShape

func (m *AddSprite) GetShape() Shape

func (*AddSprite) GetWidth

func (m *AddSprite) GetWidth() float32

func (*AddSprite) GetX

func (m *AddSprite) GetX() float32

func (*AddSprite) GetY

func (m *AddSprite) GetY() float32

func (*AddSprite) GoString

func (this *AddSprite) GoString() string

func (*AddSprite) Marshal

func (m *AddSprite) Marshal() (data []byte, err error)

func (*AddSprite) MarshalTo

func (m *AddSprite) MarshalTo(data []byte) (n int, err error)

func (*AddSprite) ProtoMessage

func (*AddSprite) ProtoMessage()

func (*AddSprite) Reset

func (m *AddSprite) Reset()

func (*AddSprite) Size

func (m *AddSprite) Size() (n int)

func (*AddSprite) String

func (this *AddSprite) String() string

func (*AddSprite) Unmarshal

func (m *AddSprite) Unmarshal(data []byte) error

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) GetId

func (m *AddText) GetId() int32

func (*AddText) GetLayer

func (m *AddText) GetLayer() int32

func (*AddText) GetText

func (m *AddText) GetText() string

func (*AddText) GetX

func (m *AddText) GetX() float32

func (*AddText) GetY

func (m *AddText) GetY() float32

func (*AddText) GoString

func (this *AddText) GoString() string

func (*AddText) Marshal

func (m *AddText) Marshal() (data []byte, err error)

func (*AddText) MarshalTo

func (m *AddText) MarshalTo(data []byte) (n int, err error)

func (*AddText) ProtoMessage

func (*AddText) ProtoMessage()

func (*AddText) Reset

func (m *AddText) Reset()

func (*AddText) Size

func (m *AddText) Size() (n int)

func (*AddText) String

func (this *AddText) String() string

func (*AddText) Unmarshal

func (m *AddText) Unmarshal(data []byte) error

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) MarshalTo

func (m *AddTrapezium) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *AddTriangle) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *Appearance) MarshalTo(data []byte) (n int, 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 ApplyForceToSprite struct {
	NoOperation
	Layer int32
	Id    int32
	Fx    float64
	Fy    float64
	Tx    float64
	Ty    float64
}

type ApplyImpulseToSprite

type ApplyImpulseToSprite struct {
	NoOperation
	Layer int32
	Id    int32
	Fx    float64
	Fy    float64
	Tx    float64
	Ty    float64
}

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) MarshalTo

func (m *BoundingBox) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *ChangeCircle) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *ChangeEdge) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *ChangeSetting) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *ChangeText) MarshalTo(data []byte) (n int, 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

type Command interface {
	Marshal() (data []byte, err error)
	Unmarshal(data []byte) error
}

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 NewAddPolylineCommand(layer int32, id int32, points []*Point, appearance *Appearance) (int32, Command)

func NewAddRectangleCommand

func NewAddRectangleCommand(layer, id int32, x, y, angle, width, height float32, appearance *Appearance) (int32, Command)

func NewAddTextCommand

func NewAddTextCommand(layer, id int32, x, y float32, text string, appearance *TextAppearance) (int32, Command)

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 NewByName

func NewByName(name string) 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) MarshalTo

func (m *CommandResult) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *DivideSpace) MarshalTo(data []byte) (n int, 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 Encoded

func Encoded(cmd proto.Message) (*EncodedCommand, error)

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) MarshalTo

func (m *EndTouches) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *GetSetting) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *GetSettings) MarshalTo(data []byte) (n int, 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) GetId

func (m *GetSprite) GetId() int32

func (*GetSprite) GetJson

func (m *GetSprite) GetJson() string

func (*GetSprite) GetLayer

func (m *GetSprite) GetLayer() int32

func (*GetSprite) GoString

func (this *GetSprite) GoString() string

func (*GetSprite) Marshal

func (m *GetSprite) Marshal() (data []byte, err error)

func (*GetSprite) MarshalTo

func (m *GetSprite) MarshalTo(data []byte) (n int, err error)

func (*GetSprite) ProtoMessage

func (*GetSprite) ProtoMessage()

func (*GetSprite) Reset

func (m *GetSprite) Reset()

func (*GetSprite) Size

func (m *GetSprite) Size() (n int)

func (*GetSprite) String

func (this *GetSprite) String() string

func (*GetSprite) Unmarshal

func (m *GetSprite) Unmarshal(data []byte) error

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) MarshalTo

func (m *HandleGesture) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *JoinClient) MarshalTo(data []byte) (n int, 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) GetKey

func (m *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (m *KeyValue) GetValue() string

func (*KeyValue) GoString

func (this *KeyValue) GoString() string

func (*KeyValue) Marshal

func (m *KeyValue) Marshal() (data []byte, err error)

func (*KeyValue) MarshalTo

func (m *KeyValue) MarshalTo(data []byte) (n int, err error)

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset

func (m *KeyValue) Reset()

func (*KeyValue) Size

func (m *KeyValue) Size() (n int)

func (*KeyValue) String

func (this *KeyValue) String() string

func (*KeyValue) Unmarshal

func (m *KeyValue) Unmarshal(data []byte) error

type Log

type Log struct {
	Message          *string `protobuf:"bytes,1,req,name=message" json:"message,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Log) GetMessage

func (m *Log) GetMessage() string

func (*Log) GoString

func (this *Log) GoString() string

func (*Log) Marshal

func (m *Log) Marshal() (data []byte, err error)

func (*Log) MarshalTo

func (m *Log) MarshalTo(data []byte) (n int, err error)

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) Reset

func (m *Log) Reset()

func (*Log) Size

func (m *Log) Size() (n int)

func (*Log) String

func (this *Log) String() string

func (*Log) Unmarshal

func (m *Log) Unmarshal(data []byte) error

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) MarshalTo

func (m *MoveSprite) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *MoveTouches) MarshalTo(data []byte) (n int, err 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) GetName

func (m *NameValue) GetName() string

func (*NameValue) GetValue

func (m *NameValue) GetValue() string

func (*NameValue) GoString

func (this *NameValue) GoString() string

func (*NameValue) Marshal

func (m *NameValue) Marshal() (data []byte, err error)

func (*NameValue) MarshalTo

func (m *NameValue) MarshalTo(data []byte) (n int, err error)

func (*NameValue) ProtoMessage

func (*NameValue) ProtoMessage()

func (*NameValue) Reset

func (m *NameValue) Reset()

func (*NameValue) Size

func (m *NameValue) Size() (n int)

func (*NameValue) String

func (this *NameValue) String() string

func (*NameValue) Unmarshal

func (m *NameValue) Unmarshal(data []byte) error

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) MarshalTo

func (m *NoOperation) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *OpenLocation) MarshalTo(data []byte) (n int, 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 (m *Physics) GetAngularVelocity() float32

func (*Physics) GetElasticity

func (m *Physics) GetElasticity() float32

func (*Physics) GetFriction

func (m *Physics) GetFriction() float32

func (*Physics) GetMass

func (m *Physics) GetMass() float32

func (*Physics) GetStatic

func (m *Physics) GetStatic() bool

func (*Physics) GetVelocityX

func (m *Physics) GetVelocityX() float32

func (*Physics) GetVelocityY

func (m *Physics) GetVelocityY() float32

func (*Physics) GoString

func (this *Physics) GoString() string

func (*Physics) Marshal

func (m *Physics) Marshal() (data []byte, err error)

func (*Physics) MarshalTo

func (m *Physics) MarshalTo(data []byte) (n int, err error)

func (*Physics) ProtoMessage

func (*Physics) ProtoMessage()

func (*Physics) Reset

func (m *Physics) Reset()

func (*Physics) Size

func (m *Physics) Size() (n int)

func (*Physics) String

func (this *Physics) String() string

func (*Physics) Unmarshal

func (m *Physics) Unmarshal(data []byte) error

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) MarshalTo

func (m *PlayerCommand) MarshalTo(data []byte) (n int, 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 NewPoint

func NewPoint(x, y float64) *Point

func (*Point) GetX

func (m *Point) GetX() float32

func (*Point) GetY

func (m *Point) GetY() float32

func (*Point) GoString

func (this *Point) GoString() string

func (*Point) Marshal

func (m *Point) Marshal() (data []byte, err error)

func (*Point) MarshalTo

func (m *Point) MarshalTo(data []byte) (n int, err error)

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) Size

func (m *Point) Size() (n int)

func (*Point) String

func (this *Point) String() string

func (*Point) Unmarshal

func (m *Point) Unmarshal(data []byte) error

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) MarshalTo

func (m *PutSettings) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *RemoveSprite) MarshalTo(data []byte) (n int, 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) GoString

func (this *Reset) GoString() string

func (*Reset) Marshal

func (m *Reset) Marshal() (data []byte, err error)

func (*Reset) MarshalTo

func (m *Reset) MarshalTo(data []byte) (n int, err error)

func (*Reset) ProtoMessage

func (*Reset) ProtoMessage()

func (*Reset) Reset

func (m *Reset) Reset()

func (*Reset) Size

func (m *Reset) Size() (n int)

func (*Reset) String

func (this *Reset) String() string

func (*Reset) Unmarshal

func (m *Reset) Unmarshal(data []byte) error

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 NewErrorResult(message string) Result

func NewIntResult

func NewIntResult(num int) Result

func NewPropertiesResult

func NewPropertiesResult(props map[string]interface{}) Result

func NewStringResult

func NewStringResult(text string) Result

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) MarshalTo

func (m *RotateSprite) MarshalTo(data []byte) (n int, 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) GetDomain

func (m *SetCookie) GetDomain() string

func (*SetCookie) GetName

func (m *SetCookie) GetName() string

func (*SetCookie) GetPath

func (m *SetCookie) GetPath() string

func (*SetCookie) GetValue

func (m *SetCookie) GetValue() string

func (*SetCookie) GoString

func (this *SetCookie) GoString() string

func (*SetCookie) Marshal

func (m *SetCookie) Marshal() (data []byte, err error)

func (*SetCookie) MarshalTo

func (m *SetCookie) MarshalTo(data []byte) (n int, err error)

func (*SetCookie) ProtoMessage

func (*SetCookie) ProtoMessage()

func (*SetCookie) Reset

func (m *SetCookie) Reset()

func (*SetCookie) Size

func (m *SetCookie) Size() (n int)

func (*SetCookie) String

func (this *SetCookie) String() string

func (*SetCookie) Unmarshal

func (m *SetCookie) Unmarshal(data []byte) error

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 Shape

type Shape int32
const (
	Shape_Circle      Shape = 0
	Shape_Rectangle   Shape = 1
	Shape_Triangle    Shape = 2
	Shape_LineSegment Shape = 3
	Shape_Trapezium   Shape = 4
	Shape_Polyline    Shape = 5
)

func (Shape) Enum

func (x Shape) Enum() *Shape

func (Shape) String

func (x Shape) String() string

func (*Shape) UnmarshalJSON

func (x *Shape) UnmarshalJSON(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) MarshalTo

func (m *StartTouches) MarshalTo(data []byte) (n int, 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) MarshalTo

func (m *StoreImage) MarshalTo(data []byte) (n int, 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) GetNr

func (m *Touch) GetNr() int64

func (*Touch) GetX

func (m *Touch) GetX() float32

func (*Touch) GetY

func (m *Touch) GetY() float32

func (*Touch) GoString

func (this *Touch) GoString() string

func (*Touch) Marshal

func (m *Touch) Marshal() (data []byte, err error)

func (Touch) MarshalJSON

func (t Touch) MarshalJSON() ([]byte, error)

func (*Touch) MarshalTo

func (m *Touch) MarshalTo(data []byte) (n int, err error)

func (*Touch) ProtoMessage

func (*Touch) ProtoMessage()

func (*Touch) Reset

func (m *Touch) Reset()

func (*Touch) Size

func (m *Touch) Size() (n int)

func (*Touch) String

func (this *Touch) String() string

func (*Touch) Unmarshal

func (m *Touch) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL