dfproto_core

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Zlib Imports: 3 Imported by: 0

Documentation

Overview

Package dfproto_core contains automatically generated implementations of low-level DFHack protobuf messages.

Index

Constants

This section is empty.

Variables

View Source
var CoreErrorNotification_ErrorCode_name = map[int32]string{
	-3: "CR_LINK_FAILURE",
	-2: "CR_WOULD_BREAK",
	-1: "CR_NOT_IMPLEMENTED",
	0:  "CR_OK",
	1:  "CR_FAILURE",
	2:  "CR_WRONG_USAGE",
	3:  "CR_NOT_FOUND",
}
View Source
var CoreErrorNotification_ErrorCode_value = map[string]int32{
	"CR_LINK_FAILURE":    -3,
	"CR_WOULD_BREAK":     -2,
	"CR_NOT_IMPLEMENTED": -1,
	"CR_OK":              0,
	"CR_FAILURE":         1,
	"CR_WRONG_USAGE":     2,
	"CR_NOT_FOUND":       3,
}
View Source
var CoreTextFragment_Color_name = map[int32]string{
	0:  "COLOR_BLACK",
	1:  "COLOR_BLUE",
	2:  "COLOR_GREEN",
	3:  "COLOR_CYAN",
	4:  "COLOR_RED",
	5:  "COLOR_MAGENTA",
	6:  "COLOR_BROWN",
	7:  "COLOR_GREY",
	8:  "COLOR_DARKGREY",
	9:  "COLOR_LIGHTBLUE",
	10: "COLOR_LIGHTGREEN",
	11: "COLOR_LIGHTCYAN",
	12: "COLOR_LIGHTRED",
	13: "COLOR_LIGHTMAGENTA",
	14: "COLOR_YELLOW",
	15: "COLOR_WHITE",
}
View Source
var CoreTextFragment_Color_value = map[string]int32{
	"COLOR_BLACK":        0,
	"COLOR_BLUE":         1,
	"COLOR_GREEN":        2,
	"COLOR_CYAN":         3,
	"COLOR_RED":          4,
	"COLOR_MAGENTA":      5,
	"COLOR_BROWN":        6,
	"COLOR_GREY":         7,
	"COLOR_DARKGREY":     8,
	"COLOR_LIGHTBLUE":    9,
	"COLOR_LIGHTGREEN":   10,
	"COLOR_LIGHTCYAN":    11,
	"COLOR_LIGHTRED":     12,
	"COLOR_LIGHTMAGENTA": 13,
	"COLOR_YELLOW":       14,
	"COLOR_WHITE":        15,
}

Functions

This section is empty.

Types

type CoreBindReply

type CoreBindReply struct {
	AssignedId           *int32   `protobuf:"varint,1,req,name=assigned_id,json=assignedId" json:"assigned_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CoreBindReply) Descriptor

func (*CoreBindReply) Descriptor() ([]byte, []int)

func (*CoreBindReply) GetAssignedId

func (m *CoreBindReply) GetAssignedId() int32

func (*CoreBindReply) ProtoMessage

func (*CoreBindReply) ProtoMessage()

func (*CoreBindReply) Reset

func (m *CoreBindReply) Reset()

func (*CoreBindReply) String

func (m *CoreBindReply) String() string

func (*CoreBindReply) XXX_DiscardUnknown

func (m *CoreBindReply) XXX_DiscardUnknown()

func (*CoreBindReply) XXX_Marshal

func (m *CoreBindReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoreBindReply) XXX_Merge

func (dst *CoreBindReply) XXX_Merge(src proto.Message)

func (*CoreBindReply) XXX_Size

func (m *CoreBindReply) XXX_Size() int

func (*CoreBindReply) XXX_Unmarshal

func (m *CoreBindReply) XXX_Unmarshal(b []byte) error

type CoreBindRequest

type CoreBindRequest struct {
	Method               *string  `protobuf:"bytes,1,req,name=method" json:"method,omitempty"`
	InputMsg             *string  `protobuf:"bytes,2,req,name=input_msg,json=inputMsg" json:"input_msg,omitempty"`
	OutputMsg            *string  `protobuf:"bytes,3,req,name=output_msg,json=outputMsg" json:"output_msg,omitempty"`
	Plugin               *string  `protobuf:"bytes,4,opt,name=plugin" json:"plugin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RPC BindMethod : CoreBindRequest -> CoreBindReply

func (*CoreBindRequest) Descriptor

func (*CoreBindRequest) Descriptor() ([]byte, []int)

func (*CoreBindRequest) GetInputMsg

func (m *CoreBindRequest) GetInputMsg() string

func (*CoreBindRequest) GetMethod

func (m *CoreBindRequest) GetMethod() string

func (*CoreBindRequest) GetOutputMsg

func (m *CoreBindRequest) GetOutputMsg() string

func (*CoreBindRequest) GetPlugin

func (m *CoreBindRequest) GetPlugin() string

func (*CoreBindRequest) ProtoMessage

func (*CoreBindRequest) ProtoMessage()

func (*CoreBindRequest) Reset

func (m *CoreBindRequest) Reset()

func (*CoreBindRequest) String

func (m *CoreBindRequest) String() string

func (*CoreBindRequest) XXX_DiscardUnknown

func (m *CoreBindRequest) XXX_DiscardUnknown()

func (*CoreBindRequest) XXX_Marshal

func (m *CoreBindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoreBindRequest) XXX_Merge

func (dst *CoreBindRequest) XXX_Merge(src proto.Message)

func (*CoreBindRequest) XXX_Size

func (m *CoreBindRequest) XXX_Size() int

func (*CoreBindRequest) XXX_Unmarshal

func (m *CoreBindRequest) XXX_Unmarshal(b []byte) error

type CoreErrorNotification

type CoreErrorNotification struct {
	Code                 *CoreErrorNotification_ErrorCode `protobuf:"varint,1,req,name=code,enum=dfproto.CoreErrorNotification_ErrorCode" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*CoreErrorNotification) Descriptor

func (*CoreErrorNotification) Descriptor() ([]byte, []int)

func (*CoreErrorNotification) GetCode

func (*CoreErrorNotification) ProtoMessage

func (*CoreErrorNotification) ProtoMessage()

func (*CoreErrorNotification) Reset

func (m *CoreErrorNotification) Reset()

func (*CoreErrorNotification) String

func (m *CoreErrorNotification) String() string

func (*CoreErrorNotification) XXX_DiscardUnknown

func (m *CoreErrorNotification) XXX_DiscardUnknown()

func (*CoreErrorNotification) XXX_Marshal

func (m *CoreErrorNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoreErrorNotification) XXX_Merge

func (dst *CoreErrorNotification) XXX_Merge(src proto.Message)

func (*CoreErrorNotification) XXX_Size

func (m *CoreErrorNotification) XXX_Size() int

func (*CoreErrorNotification) XXX_Unmarshal

func (m *CoreErrorNotification) XXX_Unmarshal(b []byte) error

type CoreErrorNotification_ErrorCode

type CoreErrorNotification_ErrorCode int32
const (
	CoreErrorNotification_CR_LINK_FAILURE    CoreErrorNotification_ErrorCode = -3
	CoreErrorNotification_CR_WOULD_BREAK     CoreErrorNotification_ErrorCode = -2
	CoreErrorNotification_CR_NOT_IMPLEMENTED CoreErrorNotification_ErrorCode = -1
	CoreErrorNotification_CR_OK              CoreErrorNotification_ErrorCode = 0
	CoreErrorNotification_CR_FAILURE         CoreErrorNotification_ErrorCode = 1
	CoreErrorNotification_CR_WRONG_USAGE     CoreErrorNotification_ErrorCode = 2
	CoreErrorNotification_CR_NOT_FOUND       CoreErrorNotification_ErrorCode = 3
)

func (CoreErrorNotification_ErrorCode) Enum

func (CoreErrorNotification_ErrorCode) EnumDescriptor

func (CoreErrorNotification_ErrorCode) EnumDescriptor() ([]byte, []int)

func (CoreErrorNotification_ErrorCode) String

func (*CoreErrorNotification_ErrorCode) UnmarshalJSON

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

type CoreRunCommandRequest

type CoreRunCommandRequest struct {
	Command              *string  `protobuf:"bytes,1,req,name=command" json:"command,omitempty"`
	Arguments            []string `protobuf:"bytes,2,rep,name=arguments" json:"arguments,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RPC RunCommand : CoreRunCommandRequest -> EmptyMessage

func (*CoreRunCommandRequest) Descriptor

func (*CoreRunCommandRequest) Descriptor() ([]byte, []int)

func (*CoreRunCommandRequest) GetArguments

func (m *CoreRunCommandRequest) GetArguments() []string

func (*CoreRunCommandRequest) GetCommand

func (m *CoreRunCommandRequest) GetCommand() string

func (*CoreRunCommandRequest) ProtoMessage

func (*CoreRunCommandRequest) ProtoMessage()

func (*CoreRunCommandRequest) Reset

func (m *CoreRunCommandRequest) Reset()

func (*CoreRunCommandRequest) String

func (m *CoreRunCommandRequest) String() string

func (*CoreRunCommandRequest) XXX_DiscardUnknown

func (m *CoreRunCommandRequest) XXX_DiscardUnknown()

func (*CoreRunCommandRequest) XXX_Marshal

func (m *CoreRunCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoreRunCommandRequest) XXX_Merge

func (dst *CoreRunCommandRequest) XXX_Merge(src proto.Message)

func (*CoreRunCommandRequest) XXX_Size

func (m *CoreRunCommandRequest) XXX_Size() int

func (*CoreRunCommandRequest) XXX_Unmarshal

func (m *CoreRunCommandRequest) XXX_Unmarshal(b []byte) error

type CoreRunLuaRequest

type CoreRunLuaRequest struct {
	Module               *string  `protobuf:"bytes,1,req,name=module" json:"module,omitempty"`
	Function             *string  `protobuf:"bytes,2,req,name=function" json:"function,omitempty"`
	Arguments            []string `protobuf:"bytes,3,rep,name=arguments" json:"arguments,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RPC RunLua : CoreRunLuaRequest -> StringListMessage

func (*CoreRunLuaRequest) Descriptor

func (*CoreRunLuaRequest) Descriptor() ([]byte, []int)

func (*CoreRunLuaRequest) GetArguments

func (m *CoreRunLuaRequest) GetArguments() []string

func (*CoreRunLuaRequest) GetFunction

func (m *CoreRunLuaRequest) GetFunction() string

func (*CoreRunLuaRequest) GetModule

func (m *CoreRunLuaRequest) GetModule() string

func (*CoreRunLuaRequest) ProtoMessage

func (*CoreRunLuaRequest) ProtoMessage()

func (*CoreRunLuaRequest) Reset

func (m *CoreRunLuaRequest) Reset()

func (*CoreRunLuaRequest) String

func (m *CoreRunLuaRequest) String() string

func (*CoreRunLuaRequest) XXX_DiscardUnknown

func (m *CoreRunLuaRequest) XXX_DiscardUnknown()

func (*CoreRunLuaRequest) XXX_Marshal

func (m *CoreRunLuaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoreRunLuaRequest) XXX_Merge

func (dst *CoreRunLuaRequest) XXX_Merge(src proto.Message)

func (*CoreRunLuaRequest) XXX_Size

func (m *CoreRunLuaRequest) XXX_Size() int

func (*CoreRunLuaRequest) XXX_Unmarshal

func (m *CoreRunLuaRequest) XXX_Unmarshal(b []byte) error

type CoreTextFragment

type CoreTextFragment struct {
	Text                 *string                 `protobuf:"bytes,1,req,name=text" json:"text,omitempty"`
	Color                *CoreTextFragment_Color `protobuf:"varint,2,opt,name=color,enum=dfproto.CoreTextFragment_Color" json:"color,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*CoreTextFragment) Descriptor

func (*CoreTextFragment) Descriptor() ([]byte, []int)

func (*CoreTextFragment) GetColor

func (*CoreTextFragment) GetText

func (m *CoreTextFragment) GetText() string

func (*CoreTextFragment) ProtoMessage

func (*CoreTextFragment) ProtoMessage()

func (*CoreTextFragment) Reset

func (m *CoreTextFragment) Reset()

func (*CoreTextFragment) String

func (m *CoreTextFragment) String() string

func (*CoreTextFragment) XXX_DiscardUnknown

func (m *CoreTextFragment) XXX_DiscardUnknown()

func (*CoreTextFragment) XXX_Marshal

func (m *CoreTextFragment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoreTextFragment) XXX_Merge

func (dst *CoreTextFragment) XXX_Merge(src proto.Message)

func (*CoreTextFragment) XXX_Size

func (m *CoreTextFragment) XXX_Size() int

func (*CoreTextFragment) XXX_Unmarshal

func (m *CoreTextFragment) XXX_Unmarshal(b []byte) error

type CoreTextFragment_Color

type CoreTextFragment_Color int32
const (
	CoreTextFragment_COLOR_BLACK        CoreTextFragment_Color = 0
	CoreTextFragment_COLOR_BLUE         CoreTextFragment_Color = 1
	CoreTextFragment_COLOR_GREEN        CoreTextFragment_Color = 2
	CoreTextFragment_COLOR_CYAN         CoreTextFragment_Color = 3
	CoreTextFragment_COLOR_RED          CoreTextFragment_Color = 4
	CoreTextFragment_COLOR_MAGENTA      CoreTextFragment_Color = 5
	CoreTextFragment_COLOR_BROWN        CoreTextFragment_Color = 6
	CoreTextFragment_COLOR_GREY         CoreTextFragment_Color = 7
	CoreTextFragment_COLOR_DARKGREY     CoreTextFragment_Color = 8
	CoreTextFragment_COLOR_LIGHTBLUE    CoreTextFragment_Color = 9
	CoreTextFragment_COLOR_LIGHTGREEN   CoreTextFragment_Color = 10
	CoreTextFragment_COLOR_LIGHTCYAN    CoreTextFragment_Color = 11
	CoreTextFragment_COLOR_LIGHTRED     CoreTextFragment_Color = 12
	CoreTextFragment_COLOR_LIGHTMAGENTA CoreTextFragment_Color = 13
	CoreTextFragment_COLOR_YELLOW       CoreTextFragment_Color = 14
	CoreTextFragment_COLOR_WHITE        CoreTextFragment_Color = 15
)

func (CoreTextFragment_Color) Enum

func (CoreTextFragment_Color) EnumDescriptor

func (CoreTextFragment_Color) EnumDescriptor() ([]byte, []int)

func (CoreTextFragment_Color) String

func (x CoreTextFragment_Color) String() string

func (*CoreTextFragment_Color) UnmarshalJSON

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

type CoreTextNotification

type CoreTextNotification struct {
	Fragments            []*CoreTextFragment `protobuf:"bytes,1,rep,name=fragments" json:"fragments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*CoreTextNotification) Descriptor

func (*CoreTextNotification) Descriptor() ([]byte, []int)

func (*CoreTextNotification) GetFragments

func (m *CoreTextNotification) GetFragments() []*CoreTextFragment

func (*CoreTextNotification) ProtoMessage

func (*CoreTextNotification) ProtoMessage()

func (*CoreTextNotification) Reset

func (m *CoreTextNotification) Reset()

func (*CoreTextNotification) String

func (m *CoreTextNotification) String() string

func (*CoreTextNotification) XXX_DiscardUnknown

func (m *CoreTextNotification) XXX_DiscardUnknown()

func (*CoreTextNotification) XXX_Marshal

func (m *CoreTextNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoreTextNotification) XXX_Merge

func (dst *CoreTextNotification) XXX_Merge(src proto.Message)

func (*CoreTextNotification) XXX_Size

func (m *CoreTextNotification) XXX_Size() int

func (*CoreTextNotification) XXX_Unmarshal

func (m *CoreTextNotification) XXX_Unmarshal(b []byte) error

type EmptyMessage

type EmptyMessage struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EmptyMessage) Descriptor

func (*EmptyMessage) Descriptor() ([]byte, []int)

func (*EmptyMessage) ProtoMessage

func (*EmptyMessage) ProtoMessage()

func (*EmptyMessage) Reset

func (m *EmptyMessage) Reset()

func (*EmptyMessage) String

func (m *EmptyMessage) String() string

func (*EmptyMessage) XXX_DiscardUnknown

func (m *EmptyMessage) XXX_DiscardUnknown()

func (*EmptyMessage) XXX_Marshal

func (m *EmptyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmptyMessage) XXX_Merge

func (dst *EmptyMessage) XXX_Merge(src proto.Message)

func (*EmptyMessage) XXX_Size

func (m *EmptyMessage) XXX_Size() int

func (*EmptyMessage) XXX_Unmarshal

func (m *EmptyMessage) XXX_Unmarshal(b []byte) error

type IntListMessage

type IntListMessage struct {
	Value                []int32  `protobuf:"varint,1,rep,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IntListMessage) Descriptor

func (*IntListMessage) Descriptor() ([]byte, []int)

func (*IntListMessage) GetValue

func (m *IntListMessage) GetValue() []int32

func (*IntListMessage) ProtoMessage

func (*IntListMessage) ProtoMessage()

func (*IntListMessage) Reset

func (m *IntListMessage) Reset()

func (*IntListMessage) String

func (m *IntListMessage) String() string

func (*IntListMessage) XXX_DiscardUnknown

func (m *IntListMessage) XXX_DiscardUnknown()

func (*IntListMessage) XXX_Marshal

func (m *IntListMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IntListMessage) XXX_Merge

func (dst *IntListMessage) XXX_Merge(src proto.Message)

func (*IntListMessage) XXX_Size

func (m *IntListMessage) XXX_Size() int

func (*IntListMessage) XXX_Unmarshal

func (m *IntListMessage) XXX_Unmarshal(b []byte) error

type IntMessage

type IntMessage struct {
	Value                *int32   `protobuf:"varint,1,req,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IntMessage) Descriptor

func (*IntMessage) Descriptor() ([]byte, []int)

func (*IntMessage) GetValue

func (m *IntMessage) GetValue() int32

func (*IntMessage) ProtoMessage

func (*IntMessage) ProtoMessage()

func (*IntMessage) Reset

func (m *IntMessage) Reset()

func (*IntMessage) String

func (m *IntMessage) String() string

func (*IntMessage) XXX_DiscardUnknown

func (m *IntMessage) XXX_DiscardUnknown()

func (*IntMessage) XXX_Marshal

func (m *IntMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IntMessage) XXX_Merge

func (dst *IntMessage) XXX_Merge(src proto.Message)

func (*IntMessage) XXX_Size

func (m *IntMessage) XXX_Size() int

func (*IntMessage) XXX_Unmarshal

func (m *IntMessage) XXX_Unmarshal(b []byte) error

type StringListMessage

type StringListMessage struct {
	Value                []string `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StringListMessage) Descriptor

func (*StringListMessage) Descriptor() ([]byte, []int)

func (*StringListMessage) GetValue

func (m *StringListMessage) GetValue() []string

func (*StringListMessage) ProtoMessage

func (*StringListMessage) ProtoMessage()

func (*StringListMessage) Reset

func (m *StringListMessage) Reset()

func (*StringListMessage) String

func (m *StringListMessage) String() string

func (*StringListMessage) XXX_DiscardUnknown

func (m *StringListMessage) XXX_DiscardUnknown()

func (*StringListMessage) XXX_Marshal

func (m *StringListMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringListMessage) XXX_Merge

func (dst *StringListMessage) XXX_Merge(src proto.Message)

func (*StringListMessage) XXX_Size

func (m *StringListMessage) XXX_Size() int

func (*StringListMessage) XXX_Unmarshal

func (m *StringListMessage) XXX_Unmarshal(b []byte) error

type StringMessage

type StringMessage struct {
	Value                *string  `protobuf:"bytes,1,req,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StringMessage) Descriptor

func (*StringMessage) Descriptor() ([]byte, []int)

func (*StringMessage) GetValue

func (m *StringMessage) GetValue() string

func (*StringMessage) ProtoMessage

func (*StringMessage) ProtoMessage()

func (*StringMessage) Reset

func (m *StringMessage) Reset()

func (*StringMessage) String

func (m *StringMessage) String() string

func (*StringMessage) XXX_DiscardUnknown

func (m *StringMessage) XXX_DiscardUnknown()

func (*StringMessage) XXX_Marshal

func (m *StringMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringMessage) XXX_Merge

func (dst *StringMessage) XXX_Merge(src proto.Message)

func (*StringMessage) XXX_Size

func (m *StringMessage) XXX_Size() int

func (*StringMessage) XXX_Unmarshal

func (m *StringMessage) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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