tfc

package
v0.0.0-...-07fe835 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllianceState_name = map[int32]string{
	0: "ACTIVE",
	1: "COMPLETED",
	2: "FAILED",
}
View Source
var AllianceState_value = map[string]int32{
	"ACTIVE":    0,
	"COMPLETED": 1,
	"FAILED":    2,
}
View Source
var AllianceTrxType_name = map[int32]string{
	0: "INIT",
	1: "INVOKE",
}
View Source
var AllianceTrxType_value = map[string]int32{
	"INIT":   0,
	"INVOKE": 1,
}
View Source
var BattleAction_name = map[int32]string{
	0: "ATTACK",
	1: "DEFFEND",
}
View Source
var BattleAction_value = map[string]int32{
	"ATTACK":  0,
	"DEFFEND": 1,
}
View Source
var BuildType_name = map[int32]string{
	0: "ROAD",
	1: "SETTLE",
}
View Source
var BuildType_value = map[string]int32{
	"ROAD":   0,
	"SETTLE": 1,
}
View Source
var GameState_name = map[int32]string{
	0:  "JOINING",
	1:  "RROLL",
	2:  "RTRADE",
	3:  "RDEV",
	4:  "BROLL",
	5:  "BTRADE",
	6:  "BDEV",
	7:  "GROLL",
	8:  "GTRADE",
	9:  "GDEV",
	10: "RWON",
	11: "BWON",
	12: "GWON",
}
View Source
var GameState_value = map[string]int32{
	"JOINING": 0,
	"RROLL":   1,
	"RTRADE":  2,
	"RDEV":    3,
	"BROLL":   4,
	"BTRADE":  5,
	"BDEV":    6,
	"GROLL":   7,
	"GTRADE":  8,
	"GDEV":    9,
	"RWON":    10,
	"BWON":    11,
	"GWON":    12,
}
View Source
var GameTrxType_name = map[int32]string{
	0: "JOIN",
	1: "NEXT",
	2: "ROLL",
	3: "TRADE",
	4: "DEV",
	5: "BATTLE",
	6: "REGISTERL",
}
View Source
var GameTrxType_value = map[string]int32{
	"JOIN":      0,
	"NEXT":      1,
	"ROLL":      2,
	"TRADE":     3,
	"DEV":       4,
	"BATTLE":    5,
	"REGISTERL": 6,
}
View Source
var Player_name = map[int32]string{
	0: "RED",
	1: "GREEN",
	2: "BLUE",
}
View Source
var Player_value = map[string]int32{
	"RED":   0,
	"GREEN": 1,
	"BLUE":  2,
}
View Source
var Resource_name = map[int32]string{
	0: "HILL",
	1: "FOREST",
	2: "MOUNTAIN",
	3: "FIELD",
	4: "PASTURE",
	5: "CAMP",
}
View Source
var Resource_value = map[string]int32{
	"HILL":     0,
	"FOREST":   1,
	"MOUNTAIN": 2,
	"FIELD":    3,
	"PASTURE":  4,
	"CAMP":     5,
}
View Source
var Road_name = map[int32]string{
	0: "NOROAD",
	1: "REDROAD",
	2: "GREENROAD",
	3: "BLUEROAD",
}
View Source
var Road_value = map[string]int32{
	"NOROAD":    0,
	"REDROAD":   1,
	"GREENROAD": 2,
	"BLUEROAD":  3,
}
View Source
var Settlement_name = map[int32]string{
	0: "NOSETTLE",
	1: "REDSETTLE",
	2: "GREENSETTLE",
	3: "BLUESETTLE",
}
View Source
var Settlement_value = map[string]int32{
	"NOSETTLE":    0,
	"REDSETTLE":   1,
	"GREENSETTLE": 2,
	"BLUESETTLE":  3,
}

Functions

This section is empty.

Types

type AllianceData

type AllianceData struct {
	Terms                []*GameContractTrxArgs `protobuf:"bytes,1,rep,name=terms,proto3" json:"terms,omitempty"`
	Lifespan             int32                  `protobuf:"varint,2,opt,name=lifespan,proto3" json:"lifespan,omitempty"`
	StartGameState       GameState              `protobuf:"varint,3,opt,name=startGameState,proto3,enum=tfc.GameState" json:"startGameState,omitempty"`
	State                AllianceState          `protobuf:"varint,4,opt,name=state,proto3,enum=tfc.AllianceState" json:"state,omitempty"`
	LastUpdated          *timestamp.Timestamp   `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	ContractID           uint32                 `protobuf:"varint,10,opt,name=contractID,proto3" json:"contractID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*AllianceData) Descriptor

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

func (*AllianceData) GetContractID

func (m *AllianceData) GetContractID() uint32

func (*AllianceData) GetLastUpdated

func (m *AllianceData) GetLastUpdated() *timestamp.Timestamp

func (*AllianceData) GetLifespan

func (m *AllianceData) GetLifespan() int32

func (*AllianceData) GetStartGameState

func (m *AllianceData) GetStartGameState() GameState

func (*AllianceData) GetState

func (m *AllianceData) GetState() AllianceState

func (*AllianceData) GetTerms

func (m *AllianceData) GetTerms() []*GameContractTrxArgs

func (*AllianceData) ProtoMessage

func (*AllianceData) ProtoMessage()

func (*AllianceData) Reset

func (m *AllianceData) Reset()

func (*AllianceData) String

func (m *AllianceData) String() string

func (*AllianceData) XXX_DiscardUnknown

func (m *AllianceData) XXX_DiscardUnknown()

func (*AllianceData) XXX_Marshal

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

func (*AllianceData) XXX_Merge

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

func (*AllianceData) XXX_Size

func (m *AllianceData) XXX_Size() int

func (*AllianceData) XXX_Unmarshal

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

type AllianceState

type AllianceState int32
const (
	AllianceState_ACTIVE    AllianceState = 0
	AllianceState_COMPLETED AllianceState = 1
	AllianceState_FAILED    AllianceState = 2
)

func (AllianceState) EnumDescriptor

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

func (AllianceState) String

func (x AllianceState) String() string

type AllianceTrxArgs

type AllianceTrxArgs struct {
	Type                 AllianceTrxType      `protobuf:"varint,1,opt,name=type,proto3,enum=tfc.AllianceTrxType" json:"type,omitempty"`
	InitPayload          *AllianceData        `protobuf:"bytes,2,opt,name=initPayload,proto3" json:"initPayload,omitempty"`
	InvokePayload        *TrxCompletedArgs    `protobuf:"bytes,3,opt,name=invokePayload,proto3" json:"invokePayload,omitempty"`
	Allies               []Player             `protobuf:"varint,4,rep,packed,name=allies,proto3,enum=tfc.Player" json:"allies,omitempty"`
	CollectionID         string               `protobuf:"bytes,5,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*AllianceTrxArgs) Descriptor

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

func (*AllianceTrxArgs) GetAllies

func (m *AllianceTrxArgs) GetAllies() []Player

func (*AllianceTrxArgs) GetCollectionID

func (m *AllianceTrxArgs) GetCollectionID() string

func (*AllianceTrxArgs) GetInitPayload

func (m *AllianceTrxArgs) GetInitPayload() *AllianceData

func (*AllianceTrxArgs) GetInvokePayload

func (m *AllianceTrxArgs) GetInvokePayload() *TrxCompletedArgs

func (*AllianceTrxArgs) GetLastUpdated

func (m *AllianceTrxArgs) GetLastUpdated() *timestamp.Timestamp

func (*AllianceTrxArgs) GetType

func (m *AllianceTrxArgs) GetType() AllianceTrxType

func (*AllianceTrxArgs) ProtoMessage

func (*AllianceTrxArgs) ProtoMessage()

func (*AllianceTrxArgs) Reset

func (m *AllianceTrxArgs) Reset()

func (*AllianceTrxArgs) String

func (m *AllianceTrxArgs) String() string

func (*AllianceTrxArgs) XXX_DiscardUnknown

func (m *AllianceTrxArgs) XXX_DiscardUnknown()

func (*AllianceTrxArgs) XXX_Marshal

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

func (*AllianceTrxArgs) XXX_Merge

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

func (*AllianceTrxArgs) XXX_Size

func (m *AllianceTrxArgs) XXX_Size() int

func (*AllianceTrxArgs) XXX_Unmarshal

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

type AllianceTrxType

type AllianceTrxType int32
const (
	AllianceTrxType_INIT   AllianceTrxType = 0
	AllianceTrxType_INVOKE AllianceTrxType = 1
)

func (AllianceTrxType) EnumDescriptor

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

func (AllianceTrxType) String

func (x AllianceTrxType) String() string

type BattleAction

type BattleAction int32
const (
	BattleAction_ATTACK  BattleAction = 0
	BattleAction_DEFFEND BattleAction = 1
)

func (BattleAction) EnumDescriptor

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

func (BattleAction) String

func (x BattleAction) String() string

type BattleTrxPayload

type BattleTrxPayload struct {
	Action               BattleAction         `protobuf:"varint,1,opt,name=action,proto3,enum=tfc.BattleAction" json:"action,omitempty"`
	NOfUnits             int32                `protobuf:"varint,2,opt,name=nOfUnits,proto3" json:"nOfUnits,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*BattleTrxPayload) Descriptor

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

func (*BattleTrxPayload) GetAction

func (m *BattleTrxPayload) GetAction() BattleAction

func (*BattleTrxPayload) GetLastUpdated

func (m *BattleTrxPayload) GetLastUpdated() *timestamp.Timestamp

func (*BattleTrxPayload) GetNOfUnits

func (m *BattleTrxPayload) GetNOfUnits() int32

func (*BattleTrxPayload) ProtoMessage

func (*BattleTrxPayload) ProtoMessage()

func (*BattleTrxPayload) Reset

func (m *BattleTrxPayload) Reset()

func (*BattleTrxPayload) String

func (m *BattleTrxPayload) String() string

func (*BattleTrxPayload) XXX_DiscardUnknown

func (m *BattleTrxPayload) XXX_DiscardUnknown()

func (*BattleTrxPayload) XXX_Marshal

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

func (*BattleTrxPayload) XXX_Merge

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

func (*BattleTrxPayload) XXX_Size

func (m *BattleTrxPayload) XXX_Size() int

func (*BattleTrxPayload) XXX_Unmarshal

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

type BuildRoadPayload

type BuildRoadPayload struct {
	EdgeID               uint32               `protobuf:"varint,1,opt,name=edgeID,proto3" json:"edgeID,omitempty"`
	Player               Player               `protobuf:"varint,2,opt,name=player,proto3,enum=tfc.Player" json:"player,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*BuildRoadPayload) Descriptor

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

func (*BuildRoadPayload) GetEdgeID

func (m *BuildRoadPayload) GetEdgeID() uint32

func (*BuildRoadPayload) GetLastUpdated

func (m *BuildRoadPayload) GetLastUpdated() *timestamp.Timestamp

func (*BuildRoadPayload) GetPlayer

func (m *BuildRoadPayload) GetPlayer() Player

func (*BuildRoadPayload) ProtoMessage

func (*BuildRoadPayload) ProtoMessage()

func (*BuildRoadPayload) Reset

func (m *BuildRoadPayload) Reset()

func (*BuildRoadPayload) String

func (m *BuildRoadPayload) String() string

func (*BuildRoadPayload) XXX_DiscardUnknown

func (m *BuildRoadPayload) XXX_DiscardUnknown()

func (*BuildRoadPayload) XXX_Marshal

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

func (*BuildRoadPayload) XXX_Merge

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

func (*BuildRoadPayload) XXX_Size

func (m *BuildRoadPayload) XXX_Size() int

func (*BuildRoadPayload) XXX_Unmarshal

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

type BuildSettlePayload

type BuildSettlePayload struct {
	SettleID             uint32               `protobuf:"varint,1,opt,name=settleID,proto3" json:"settleID,omitempty"`
	Player               Player               `protobuf:"varint,2,opt,name=player,proto3,enum=tfc.Player" json:"player,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*BuildSettlePayload) Descriptor

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

func (*BuildSettlePayload) GetLastUpdated

func (m *BuildSettlePayload) GetLastUpdated() *timestamp.Timestamp

func (*BuildSettlePayload) GetPlayer

func (m *BuildSettlePayload) GetPlayer() Player

func (*BuildSettlePayload) GetSettleID

func (m *BuildSettlePayload) GetSettleID() uint32

func (*BuildSettlePayload) ProtoMessage

func (*BuildSettlePayload) ProtoMessage()

func (*BuildSettlePayload) Reset

func (m *BuildSettlePayload) Reset()

func (*BuildSettlePayload) String

func (m *BuildSettlePayload) String() string

func (*BuildSettlePayload) XXX_DiscardUnknown

func (m *BuildSettlePayload) XXX_DiscardUnknown()

func (*BuildSettlePayload) XXX_Marshal

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

func (*BuildSettlePayload) XXX_Merge

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

func (*BuildSettlePayload) XXX_Size

func (m *BuildSettlePayload) XXX_Size() int

func (*BuildSettlePayload) XXX_Unmarshal

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

type BuildTrxPayload

type BuildTrxPayload struct {
	Type                 BuildType            `protobuf:"varint,1,opt,name=type,proto3,enum=tfc.BuildType" json:"type,omitempty"`
	BuildRoadPayload     *BuildRoadPayload    `protobuf:"bytes,2,opt,name=buildRoadPayload,proto3" json:"buildRoadPayload,omitempty"`
	BuildSettlePayload   *BuildSettlePayload  `protobuf:"bytes,3,opt,name=buildSettlePayload,proto3" json:"buildSettlePayload,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*BuildTrxPayload) Descriptor

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

func (*BuildTrxPayload) GetBuildRoadPayload

func (m *BuildTrxPayload) GetBuildRoadPayload() *BuildRoadPayload

func (*BuildTrxPayload) GetBuildSettlePayload

func (m *BuildTrxPayload) GetBuildSettlePayload() *BuildSettlePayload

func (*BuildTrxPayload) GetLastUpdated

func (m *BuildTrxPayload) GetLastUpdated() *timestamp.Timestamp

func (*BuildTrxPayload) GetType

func (m *BuildTrxPayload) GetType() BuildType

func (*BuildTrxPayload) ProtoMessage

func (*BuildTrxPayload) ProtoMessage()

func (*BuildTrxPayload) Reset

func (m *BuildTrxPayload) Reset()

func (*BuildTrxPayload) String

func (m *BuildTrxPayload) String() string

func (*BuildTrxPayload) XXX_DiscardUnknown

func (m *BuildTrxPayload) XXX_DiscardUnknown()

func (*BuildTrxPayload) XXX_Marshal

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

func (*BuildTrxPayload) XXX_Merge

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

func (*BuildTrxPayload) XXX_Size

func (m *BuildTrxPayload) XXX_Size() int

func (*BuildTrxPayload) XXX_Unmarshal

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

type BuildType

type BuildType int32
const (
	BuildType_ROAD   BuildType = 0
	BuildType_SETTLE BuildType = 1
)

func (BuildType) EnumDescriptor

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

func (BuildType) String

func (x BuildType) String() string

type Coord

type Coord struct {
	X                    int32    `protobuf:"varint,1,opt,name=X,proto3" json:"X,omitempty"`
	Y                    int32    `protobuf:"varint,2,opt,name=Y,proto3" json:"Y,omitempty"`
	Z                    int32    `protobuf:"varint,3,opt,name=Z,proto3" json:"Z,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Coord) Descriptor

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

func (*Coord) GetX

func (m *Coord) GetX() int32

func (*Coord) GetY

func (m *Coord) GetY() int32

func (*Coord) GetZ

func (m *Coord) GetZ() int32

func (*Coord) ProtoMessage

func (*Coord) ProtoMessage()

func (*Coord) Reset

func (m *Coord) Reset()

func (*Coord) String

func (m *Coord) String() string

func (*Coord) XXX_DiscardUnknown

func (m *Coord) XXX_DiscardUnknown()

func (*Coord) XXX_Marshal

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

func (*Coord) XXX_Merge

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

func (*Coord) XXX_Size

func (m *Coord) XXX_Size() int

func (*Coord) XXX_Unmarshal

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

type Edge

type Edge struct {
	Id                   uint32               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Origin               uint32               `protobuf:"varint,2,opt,name=origin,proto3" json:"origin,omitempty"`
	Twin                 uint32               `protobuf:"varint,3,opt,name=twin,proto3" json:"twin,omitempty"`
	IncidentTile         uint32               `protobuf:"varint,4,opt,name=incidentTile,proto3" json:"incidentTile,omitempty"`
	Next                 uint32               `protobuf:"varint,5,opt,name=next,proto3" json:"next,omitempty"`
	Prev                 uint32               `protobuf:"varint,6,opt,name=prev,proto3" json:"prev,omitempty"`
	Orientation          string               `protobuf:"bytes,8,opt,name=orientation,proto3" json:"orientation,omitempty"`
	Attributes           *EdgeAttributes      `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Edge) Descriptor

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

func (*Edge) GetAttributes

func (m *Edge) GetAttributes() *EdgeAttributes

func (*Edge) GetId

func (m *Edge) GetId() uint32

func (*Edge) GetIncidentTile

func (m *Edge) GetIncidentTile() uint32

func (*Edge) GetLastUpdated

func (m *Edge) GetLastUpdated() *timestamp.Timestamp

func (*Edge) GetNext

func (m *Edge) GetNext() uint32

func (*Edge) GetOrientation

func (m *Edge) GetOrientation() string

func (*Edge) GetOrigin

func (m *Edge) GetOrigin() uint32

func (*Edge) GetPrev

func (m *Edge) GetPrev() uint32

func (*Edge) GetTwin

func (m *Edge) GetTwin() uint32

func (*Edge) ProtoMessage

func (*Edge) ProtoMessage()

func (*Edge) Reset

func (m *Edge) Reset()

func (*Edge) String

func (m *Edge) String() string

func (*Edge) XXX_DiscardUnknown

func (m *Edge) XXX_DiscardUnknown()

func (*Edge) XXX_Marshal

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

func (*Edge) XXX_Merge

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

func (*Edge) XXX_Size

func (m *Edge) XXX_Size() int

func (*Edge) XXX_Unmarshal

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

type EdgeAttributes

type EdgeAttributes struct {
	Road                 Road     `protobuf:"varint,1,opt,name=road,proto3,enum=tfc.Road" json:"road,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EdgeAttributes) Descriptor

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

func (*EdgeAttributes) GetRoad

func (m *EdgeAttributes) GetRoad() Road

func (*EdgeAttributes) ProtoMessage

func (*EdgeAttributes) ProtoMessage()

func (*EdgeAttributes) Reset

func (m *EdgeAttributes) Reset()

func (*EdgeAttributes) String

func (m *EdgeAttributes) String() string

func (*EdgeAttributes) XXX_DiscardUnknown

func (m *EdgeAttributes) XXX_DiscardUnknown()

func (*EdgeAttributes) XXX_Marshal

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

func (*EdgeAttributes) XXX_Merge

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

func (*EdgeAttributes) XXX_Size

func (m *EdgeAttributes) XXX_Size() int

func (*EdgeAttributes) XXX_Unmarshal

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

type GameBoard

type GameBoard struct {
	Intersections        map[uint32]*Intersection `` /* 168-byte string literal not displayed */
	Tiles                map[uint32]*Tile         `` /* 152-byte string literal not displayed */
	Edges                map[uint32]*Edge         `` /* 152-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*GameBoard) Descriptor

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

func (*GameBoard) GetEdges

func (m *GameBoard) GetEdges() map[uint32]*Edge

func (*GameBoard) GetIntersections

func (m *GameBoard) GetIntersections() map[uint32]*Intersection

func (*GameBoard) GetTiles

func (m *GameBoard) GetTiles() map[uint32]*Tile

func (*GameBoard) ProtoMessage

func (*GameBoard) ProtoMessage()

func (*GameBoard) Reset

func (m *GameBoard) Reset()

func (*GameBoard) String

func (m *GameBoard) String() string

func (*GameBoard) XXX_DiscardUnknown

func (m *GameBoard) XXX_DiscardUnknown()

func (*GameBoard) XXX_Marshal

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

func (*GameBoard) XXX_Merge

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

func (*GameBoard) XXX_Size

func (m *GameBoard) XXX_Size() int

func (*GameBoard) XXX_Unmarshal

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

type GameContractInitArgs

type GameContractInitArgs struct {
	Uuid                 []byte               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*GameContractInitArgs) Descriptor

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

func (*GameContractInitArgs) GetLastUpdated

func (m *GameContractInitArgs) GetLastUpdated() *timestamp.Timestamp

func (*GameContractInitArgs) GetUuid

func (m *GameContractInitArgs) GetUuid() []byte

func (*GameContractInitArgs) ProtoMessage

func (*GameContractInitArgs) ProtoMessage()

func (*GameContractInitArgs) Reset

func (m *GameContractInitArgs) Reset()

func (*GameContractInitArgs) String

func (m *GameContractInitArgs) String() string

func (*GameContractInitArgs) XXX_DiscardUnknown

func (m *GameContractInitArgs) XXX_DiscardUnknown()

func (*GameContractInitArgs) XXX_Marshal

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

func (*GameContractInitArgs) XXX_Merge

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

func (*GameContractInitArgs) XXX_Size

func (m *GameContractInitArgs) XXX_Size() int

func (*GameContractInitArgs) XXX_Unmarshal

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

type GameContractTrxArgs

type GameContractTrxArgs struct {
	Type                 GameTrxType          `protobuf:"varint,1,opt,name=type,proto3,enum=tfc.GameTrxType" json:"type,omitempty"`
	TradeTrxPayload      *TradeTrxPayload     `protobuf:"bytes,2,opt,name=tradeTrxPayload,proto3" json:"tradeTrxPayload,omitempty"`
	BuildTrxPayload      *BuildTrxPayload     `protobuf:"bytes,3,opt,name=buildTrxPayload,proto3" json:"buildTrxPayload,omitempty"`
	BattleTrxPayload     *BattleTrxPayload    `protobuf:"bytes,4,opt,name=battleTrxPayload,proto3" json:"battleTrxPayload,omitempty"`
	JoinTrxPayload       *JoinTrxPayload      `protobuf:"bytes,5,opt,name=joinTrxPayload,proto3" json:"joinTrxPayload,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*GameContractTrxArgs) Descriptor

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

func (*GameContractTrxArgs) GetBattleTrxPayload

func (m *GameContractTrxArgs) GetBattleTrxPayload() *BattleTrxPayload

func (*GameContractTrxArgs) GetBuildTrxPayload

func (m *GameContractTrxArgs) GetBuildTrxPayload() *BuildTrxPayload

func (*GameContractTrxArgs) GetJoinTrxPayload

func (m *GameContractTrxArgs) GetJoinTrxPayload() *JoinTrxPayload

func (*GameContractTrxArgs) GetLastUpdated

func (m *GameContractTrxArgs) GetLastUpdated() *timestamp.Timestamp

func (*GameContractTrxArgs) GetTradeTrxPayload

func (m *GameContractTrxArgs) GetTradeTrxPayload() *TradeTrxPayload

func (*GameContractTrxArgs) GetType

func (m *GameContractTrxArgs) GetType() GameTrxType

func (*GameContractTrxArgs) ProtoMessage

func (*GameContractTrxArgs) ProtoMessage()

func (*GameContractTrxArgs) Reset

func (m *GameContractTrxArgs) Reset()

func (*GameContractTrxArgs) String

func (m *GameContractTrxArgs) String() string

func (*GameContractTrxArgs) XXX_DiscardUnknown

func (m *GameContractTrxArgs) XXX_DiscardUnknown()

func (*GameContractTrxArgs) XXX_Marshal

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

func (*GameContractTrxArgs) XXX_Merge

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

func (*GameContractTrxArgs) XXX_Size

func (m *GameContractTrxArgs) XXX_Size() int

func (*GameContractTrxArgs) XXX_Unmarshal

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

type GameData

type GameData struct {
	Board                *GameBoard               `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"`
	Profiles             map[int32]*PlayerProfile `` /* 158-byte string literal not displayed */
	State                GameState                `protobuf:"varint,3,opt,name=state,proto3,enum=tfc.GameState" json:"state,omitempty"`
	IdentityMap          map[int32][]byte         `` /* 164-byte string literal not displayed */
	LastUpdated          *timestamp.Timestamp     `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*GameData) Descriptor

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

func (*GameData) GetBoard

func (m *GameData) GetBoard() *GameBoard

func (*GameData) GetIdentityMap

func (m *GameData) GetIdentityMap() map[int32][]byte

func (*GameData) GetLastUpdated

func (m *GameData) GetLastUpdated() *timestamp.Timestamp

func (*GameData) GetProfiles

func (m *GameData) GetProfiles() map[int32]*PlayerProfile

func (*GameData) GetState

func (m *GameData) GetState() GameState

func (*GameData) ProtoMessage

func (*GameData) ProtoMessage()

func (*GameData) Reset

func (m *GameData) Reset()

func (*GameData) String

func (m *GameData) String() string

func (*GameData) XXX_DiscardUnknown

func (m *GameData) XXX_DiscardUnknown()

func (*GameData) XXX_Marshal

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

func (*GameData) XXX_Merge

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

func (*GameData) XXX_Size

func (m *GameData) XXX_Size() int

func (*GameData) XXX_Unmarshal

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

type GameState

type GameState int32
const (
	GameState_JOINING GameState = 0
	GameState_RROLL   GameState = 1
	GameState_RTRADE  GameState = 2
	GameState_RDEV    GameState = 3
	GameState_BROLL   GameState = 4
	GameState_BTRADE  GameState = 5
	GameState_BDEV    GameState = 6
	GameState_GROLL   GameState = 7
	GameState_GTRADE  GameState = 8
	GameState_GDEV    GameState = 9
	GameState_RWON    GameState = 10
	GameState_BWON    GameState = 11
	GameState_GWON    GameState = 12
)

func (GameState) EnumDescriptor

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

func (GameState) String

func (x GameState) String() string

type GameTrxType

type GameTrxType int32
const (
	GameTrxType_JOIN      GameTrxType = 0
	GameTrxType_NEXT      GameTrxType = 1
	GameTrxType_ROLL      GameTrxType = 2
	GameTrxType_TRADE     GameTrxType = 3
	GameTrxType_DEV       GameTrxType = 4
	GameTrxType_BATTLE    GameTrxType = 5
	GameTrxType_REGISTERL GameTrxType = 6
)

func (GameTrxType) EnumDescriptor

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

func (GameTrxType) String

func (x GameTrxType) String() string

type Intersection

type Intersection struct {
	Id                   uint32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	IncidentEdge         uint32                  `protobuf:"varint,2,opt,name=incidentEdge,proto3" json:"incidentEdge,omitempty"`
	Attributes           *IntersectionAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"`
	Coordinates          *Coord                  `protobuf:"bytes,5,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
	LastUpdated          *timestamp.Timestamp    `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*Intersection) Descriptor

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

func (*Intersection) GetAttributes

func (m *Intersection) GetAttributes() *IntersectionAttributes

func (*Intersection) GetCoordinates

func (m *Intersection) GetCoordinates() *Coord

func (*Intersection) GetId

func (m *Intersection) GetId() uint32

func (*Intersection) GetIncidentEdge

func (m *Intersection) GetIncidentEdge() uint32

func (*Intersection) GetLastUpdated

func (m *Intersection) GetLastUpdated() *timestamp.Timestamp

func (*Intersection) ProtoMessage

func (*Intersection) ProtoMessage()

func (*Intersection) Reset

func (m *Intersection) Reset()

func (*Intersection) String

func (m *Intersection) String() string

func (*Intersection) XXX_DiscardUnknown

func (m *Intersection) XXX_DiscardUnknown()

func (*Intersection) XXX_Marshal

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

func (*Intersection) XXX_Merge

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

func (*Intersection) XXX_Size

func (m *Intersection) XXX_Size() int

func (*Intersection) XXX_Unmarshal

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

type IntersectionAttributes

type IntersectionAttributes struct {
	Settlement           Settlement `protobuf:"varint,1,opt,name=settlement,proto3,enum=tfc.Settlement" json:"settlement,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*IntersectionAttributes) Descriptor

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

func (*IntersectionAttributes) GetSettlement

func (m *IntersectionAttributes) GetSettlement() Settlement

func (*IntersectionAttributes) ProtoMessage

func (*IntersectionAttributes) ProtoMessage()

func (*IntersectionAttributes) Reset

func (m *IntersectionAttributes) Reset()

func (*IntersectionAttributes) String

func (m *IntersectionAttributes) String() string

func (*IntersectionAttributes) XXX_DiscardUnknown

func (m *IntersectionAttributes) XXX_DiscardUnknown()

func (*IntersectionAttributes) XXX_Marshal

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

func (*IntersectionAttributes) XXX_Merge

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

func (*IntersectionAttributes) XXX_Size

func (m *IntersectionAttributes) XXX_Size() int

func (*IntersectionAttributes) XXX_Unmarshal

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

type JoinTrxPayload

type JoinTrxPayload struct {
	Player               Player   `protobuf:"varint,1,opt,name=player,proto3,enum=tfc.Player" json:"player,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JoinTrxPayload) Descriptor

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

func (*JoinTrxPayload) GetPlayer

func (m *JoinTrxPayload) GetPlayer() Player

func (*JoinTrxPayload) ProtoMessage

func (*JoinTrxPayload) ProtoMessage()

func (*JoinTrxPayload) Reset

func (m *JoinTrxPayload) Reset()

func (*JoinTrxPayload) String

func (m *JoinTrxPayload) String() string

func (*JoinTrxPayload) XXX_DiscardUnknown

func (m *JoinTrxPayload) XXX_DiscardUnknown()

func (*JoinTrxPayload) XXX_Marshal

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

func (*JoinTrxPayload) XXX_Merge

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

func (*JoinTrxPayload) XXX_Size

func (m *JoinTrxPayload) XXX_Size() int

func (*JoinTrxPayload) XXX_Unmarshal

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

type Player

type Player int32
const (
	Player_RED   Player = 0
	Player_GREEN Player = 1
	Player_BLUE  Player = 2
)

func (Player) EnumDescriptor

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

func (Player) String

func (x Player) String() string

type PlayerProfile

type PlayerProfile struct {
	Resources            map[int32]int32      `` /* 161-byte string literal not displayed */
	WinningPoints        int32                `protobuf:"varint,2,opt,name=winningPoints,proto3" json:"winningPoints,omitempty"`
	Settlements          int32                `protobuf:"varint,3,opt,name=settlements,proto3" json:"settlements,omitempty"`
	Roads                int32                `protobuf:"varint,4,opt,name=roads,proto3" json:"roads,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*PlayerProfile) Descriptor

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

func (*PlayerProfile) GetLastUpdated

func (m *PlayerProfile) GetLastUpdated() *timestamp.Timestamp

func (*PlayerProfile) GetResources

func (m *PlayerProfile) GetResources() map[int32]int32

func (*PlayerProfile) GetRoads

func (m *PlayerProfile) GetRoads() int32

func (*PlayerProfile) GetSettlements

func (m *PlayerProfile) GetSettlements() int32

func (*PlayerProfile) GetWinningPoints

func (m *PlayerProfile) GetWinningPoints() int32

func (*PlayerProfile) ProtoMessage

func (*PlayerProfile) ProtoMessage()

func (*PlayerProfile) Reset

func (m *PlayerProfile) Reset()

func (*PlayerProfile) String

func (m *PlayerProfile) String() string

func (*PlayerProfile) XXX_DiscardUnknown

func (m *PlayerProfile) XXX_DiscardUnknown()

func (*PlayerProfile) XXX_Marshal

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

func (*PlayerProfile) XXX_Merge

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

func (*PlayerProfile) XXX_Size

func (m *PlayerProfile) XXX_Size() int

func (*PlayerProfile) XXX_Unmarshal

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

type Resource

type Resource int32
const (
	Resource_HILL     Resource = 0
	Resource_FOREST   Resource = 1
	Resource_MOUNTAIN Resource = 2
	Resource_FIELD    Resource = 3
	Resource_PASTURE  Resource = 4
	Resource_CAMP     Resource = 5
)

func (Resource) EnumDescriptor

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

func (Resource) String

func (x Resource) String() string

type Road

type Road int32
const (
	Road_NOROAD    Road = 0
	Road_REDROAD   Road = 1
	Road_GREENROAD Road = 2
	Road_BLUEROAD  Road = 3
)

func (Road) EnumDescriptor

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

func (Road) String

func (x Road) String() string

type Settlement

type Settlement int32
const (
	Settlement_NOSETTLE    Settlement = 0
	Settlement_REDSETTLE   Settlement = 1
	Settlement_GREENSETTLE Settlement = 2
	Settlement_BLUESETTLE  Settlement = 3
)

func (Settlement) EnumDescriptor

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

func (Settlement) String

func (x Settlement) String() string

type Tile

type Tile struct {
	Id                   uint32               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	OuterComponent       uint32               `protobuf:"varint,2,opt,name=outerComponent,proto3" json:"outerComponent,omitempty"`
	Attributes           *TileAttributes      `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Tile) Descriptor

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

func (*Tile) GetAttributes

func (m *Tile) GetAttributes() *TileAttributes

func (*Tile) GetId

func (m *Tile) GetId() uint32

func (*Tile) GetLastUpdated

func (m *Tile) GetLastUpdated() *timestamp.Timestamp

func (*Tile) GetOuterComponent

func (m *Tile) GetOuterComponent() uint32

func (*Tile) ProtoMessage

func (*Tile) ProtoMessage()

func (*Tile) Reset

func (m *Tile) Reset()

func (*Tile) String

func (m *Tile) String() string

func (*Tile) XXX_DiscardUnknown

func (m *Tile) XXX_DiscardUnknown()

func (*Tile) XXX_Marshal

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

func (*Tile) XXX_Merge

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

func (*Tile) XXX_Size

func (m *Tile) XXX_Size() int

func (*Tile) XXX_Unmarshal

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

type TileAttributes

type TileAttributes struct {
	Resource             Resource             `protobuf:"varint,1,opt,name=resource,proto3,enum=tfc.Resource" json:"resource,omitempty"`
	RollNumber           int32                `protobuf:"varint,2,opt,name=rollNumber,proto3" json:"rollNumber,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TileAttributes) Descriptor

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

func (*TileAttributes) GetLastUpdated

func (m *TileAttributes) GetLastUpdated() *timestamp.Timestamp

func (*TileAttributes) GetResource

func (m *TileAttributes) GetResource() Resource

func (*TileAttributes) GetRollNumber

func (m *TileAttributes) GetRollNumber() int32

func (*TileAttributes) ProtoMessage

func (*TileAttributes) ProtoMessage()

func (*TileAttributes) Reset

func (m *TileAttributes) Reset()

func (*TileAttributes) String

func (m *TileAttributes) String() string

func (*TileAttributes) XXX_DiscardUnknown

func (m *TileAttributes) XXX_DiscardUnknown()

func (*TileAttributes) XXX_Marshal

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

func (*TileAttributes) XXX_Merge

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

func (*TileAttributes) XXX_Size

func (m *TileAttributes) XXX_Size() int

func (*TileAttributes) XXX_Unmarshal

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

type TradeTrxPayload

type TradeTrxPayload struct {
	Source               Player               `protobuf:"varint,1,opt,name=source,proto3,enum=tfc.Player" json:"source,omitempty"`
	Dest                 Player               `protobuf:"varint,2,opt,name=dest,proto3,enum=tfc.Player" json:"dest,omitempty"`
	Resource             Resource             `protobuf:"varint,3,opt,name=resource,proto3,enum=tfc.Resource" json:"resource,omitempty"`
	Amount               int32                `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TradeTrxPayload) Descriptor

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

func (*TradeTrxPayload) GetAmount

func (m *TradeTrxPayload) GetAmount() int32

func (*TradeTrxPayload) GetDest

func (m *TradeTrxPayload) GetDest() Player

func (*TradeTrxPayload) GetLastUpdated

func (m *TradeTrxPayload) GetLastUpdated() *timestamp.Timestamp

func (*TradeTrxPayload) GetResource

func (m *TradeTrxPayload) GetResource() Resource

func (*TradeTrxPayload) GetSource

func (m *TradeTrxPayload) GetSource() Player

func (*TradeTrxPayload) ProtoMessage

func (*TradeTrxPayload) ProtoMessage()

func (*TradeTrxPayload) Reset

func (m *TradeTrxPayload) Reset()

func (*TradeTrxPayload) String

func (m *TradeTrxPayload) String() string

func (*TradeTrxPayload) XXX_DiscardUnknown

func (m *TradeTrxPayload) XXX_DiscardUnknown()

func (*TradeTrxPayload) XXX_Marshal

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

func (*TradeTrxPayload) XXX_Merge

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

func (*TradeTrxPayload) XXX_Size

func (m *TradeTrxPayload) XXX_Size() int

func (*TradeTrxPayload) XXX_Unmarshal

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

type TrxCompletedArgs

type TrxCompletedArgs struct {
	CompletedTrxArgs     *GameContractTrxArgs `protobuf:"bytes,1,opt,name=completedTrxArgs,proto3" json:"completedTrxArgs,omitempty"`
	LastTrxId            uint32               `protobuf:"varint,2,opt,name=lastTrxId,proto3" json:"lastTrxId,omitempty"`
	State                GameState            `protobuf:"varint,3,opt,name=state,proto3,enum=tfc.GameState" json:"state,omitempty"`
	LastUpdated          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	ObserverID           uint32               `protobuf:"varint,10,opt,name=observerID,proto3" json:"observerID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TrxCompletedArgs) Descriptor

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

func (*TrxCompletedArgs) GetCompletedTrxArgs

func (m *TrxCompletedArgs) GetCompletedTrxArgs() *GameContractTrxArgs

func (*TrxCompletedArgs) GetLastTrxId

func (m *TrxCompletedArgs) GetLastTrxId() uint32

func (*TrxCompletedArgs) GetLastUpdated

func (m *TrxCompletedArgs) GetLastUpdated() *timestamp.Timestamp

func (*TrxCompletedArgs) GetObserverID

func (m *TrxCompletedArgs) GetObserverID() uint32

func (*TrxCompletedArgs) GetState

func (m *TrxCompletedArgs) GetState() GameState

func (*TrxCompletedArgs) ProtoMessage

func (*TrxCompletedArgs) ProtoMessage()

func (*TrxCompletedArgs) Reset

func (m *TrxCompletedArgs) Reset()

func (*TrxCompletedArgs) String

func (m *TrxCompletedArgs) String() string

func (*TrxCompletedArgs) XXX_DiscardUnknown

func (m *TrxCompletedArgs) XXX_DiscardUnknown()

func (*TrxCompletedArgs) XXX_Marshal

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

func (*TrxCompletedArgs) XXX_Merge

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

func (*TrxCompletedArgs) XXX_Size

func (m *TrxCompletedArgs) XXX_Size() int

func (*TrxCompletedArgs) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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