res

package
v0.0.0-...-4dadbea Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2014 License: MIT Imports: 2 Imported by: 0

README

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/font/bh-ttf

        http://cgit.freedesktop.org/xorg/font/bh-ttf

For patch submission instructions, see:

	http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage

Documentation

Overview

Package res is a generated protocol buffer package.

It is generated from these files:

res.proto

It has these top-level messages:

Packet

Index

Constants

View Source
const FooLevel = "" /* 29287-byte string literal not displayed */
View Source
const GrubPng = "" /* 1268-byte string literal not displayed */
View Source
const LemonPng = "" /* 8678-byte string literal not displayed */
View Source
const LuxisrTtf = "" /* 200129-byte string literal not displayed */
View Source
const ManDensityCrouchPng = "" /* 2499-byte string literal not displayed */
View Source
const ManDensityPng = "" /* 4124-byte string literal not displayed */
View Source
const ManNormalCrouchPng = "" /* 2209-byte string literal not displayed */
View Source
const ManNormalPng = "" /* 3584-byte string literal not displayed */
View Source
const ManVacuumCrouchPng = "" /* 2771-byte string literal not displayed */
View Source
const ManVacuumPng = "" /* 3941-byte string literal not displayed */
View Source
const ManWhipCrouchPng = "" /* 3775-byte string literal not displayed */
View Source
const ManWhipPng = "" /* 5102-byte string literal not displayed */
View Source
const Parallax0Png = "" /* 26340-byte string literal not displayed */
View Source
const Parallax1Png = "" /* 48684-byte string literal not displayed */
View Source
const TerrainPng = "" /* 3955-byte string literal not displayed */
View Source
const TileCornerInnerPng = "" /* 405-byte string literal not displayed */
View Source
const TileCornerOuterPng = "" /* 372-byte string literal not displayed */
View Source
const TileSidePng = "" /* 440-byte string literal not displayed */

Variables

View Source
var Button_name = map[int32]string{
	0: "released",
	1: "pressed",
}
View Source
var Button_value = map[string]int32{
	"released": 0,
	"pressed":  1,
}
View Source
var Man_name = map[int32]string{
	0: "Whip",
	1: "Density",
	2: "Vacuum",
	3: "Normal",
	4: "count",
}
View Source
var Man_value = map[string]int32{
	"Whip":    0,
	"Density": 1,
	"Vacuum":  2,
	"Normal":  3,
	"count":   4,
}
View Source
var Type_name = map[int32]string{
	0: "Ping",
	1: "SelectMan",
	2: "Input",
	3: "StateDiff",
	4: "FullState",
	5: "World",
}
View Source
var Type_value = map[string]int32{
	"Ping":      0,
	"SelectMan": 1,
	"Input":     2,
	"StateDiff": 3,
	"FullState": 4,
	"World":     5,
}

Functions

This section is empty.

Types

type Button

type Button int32
const (
	Button_released Button = 0
	Button_pressed  Button = 1
)

func (Button) Enum

func (x Button) Enum() *Button

func (Button) String

func (x Button) String() string

func (*Button) UnmarshalJSON

func (x *Button) UnmarshalJSON(data []byte) error

type Man

type Man int32
const (
	Man_Whip    Man = 0
	Man_Density Man = 1
	Man_Vacuum  Man = 2
	Man_Normal  Man = 3
	Man_count   Man = 4
)

func (Man) Enum

func (x Man) Enum() *Man

func (Man) String

func (x Man) String() string

func (*Man) UnmarshalJSON

func (x *Man) UnmarshalJSON(data []byte) error

type Packet

type Packet struct {
	Type             *Type   `protobuf:"varint,1,req,name=type,enum=Type" json:"type,omitempty"`
	Man              *Man    `protobuf:"varint,2,opt,name=man,enum=Man" json:"man,omitempty"`
	X                *int64  `protobuf:"zigzag64,3,opt,name=x" json:"x,omitempty"`
	Y                *int64  `protobuf:"zigzag64,4,opt,name=y" json:"y,omitempty"`
	Data             []byte  `protobuf:"bytes,5,opt,name=data" json:"data,omitempty"`
	Tick             *uint64 `protobuf:"varint,6,opt,name=tick" json:"tick,omitempty"`
	Mouse1           *Button `protobuf:"varint,16,opt,name=mouse1,enum=Button" json:"mouse1,omitempty"`
	Mouse2           *Button `protobuf:"varint,17,opt,name=mouse2,enum=Button" json:"mouse2,omitempty"`
	KeyUp            *Button `protobuf:"varint,18,opt,name=key_up,enum=Button" json:"key_up,omitempty"`
	KeyDown          *Button `protobuf:"varint,19,opt,name=key_down,enum=Button" json:"key_down,omitempty"`
	KeyLeft          *Button `protobuf:"varint,20,opt,name=key_left,enum=Button" json:"key_left,omitempty"`
	KeyRight         *Button `protobuf:"varint,21,opt,name=key_right,enum=Button" json:"key_right,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Packet) GetData

func (m *Packet) GetData() []byte

func (*Packet) GetKeyDown

func (m *Packet) GetKeyDown() Button

func (*Packet) GetKeyLeft

func (m *Packet) GetKeyLeft() Button

func (*Packet) GetKeyRight

func (m *Packet) GetKeyRight() Button

func (*Packet) GetKeyUp

func (m *Packet) GetKeyUp() Button

func (*Packet) GetMan

func (m *Packet) GetMan() Man

func (*Packet) GetMouse1

func (m *Packet) GetMouse1() Button

func (*Packet) GetMouse2

func (m *Packet) GetMouse2() Button

func (*Packet) GetTick

func (m *Packet) GetTick() uint64

func (*Packet) GetType

func (m *Packet) GetType() Type

func (*Packet) GetX

func (m *Packet) GetX() int64

func (*Packet) GetY

func (m *Packet) GetY() int64

func (*Packet) ProtoMessage

func (*Packet) ProtoMessage()

func (*Packet) Reset

func (m *Packet) Reset()

func (*Packet) String

func (m *Packet) String() string

type Type

type Type int32
const (
	Type_Ping      Type = 0
	Type_SelectMan Type = 1
	Type_Input     Type = 2
	Type_StateDiff Type = 3
	Type_FullState Type = 4
	Type_World     Type = 5
)

func (Type) Enum

func (x Type) Enum() *Type

func (Type) String

func (x Type) String() string

func (*Type) UnmarshalJSON

func (x *Type) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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