Documentation
¶
Index ¶
- Variables
- type Card
- func (x *Card) ClearGem()
- func (x *Card) ClearHidden()
- func (x *Card) ClearValue()
- func (x *Card) GetGem() GemType
- func (x *Card) GetHidden() bool
- func (x *Card) GetValue() int32
- func (x *Card) HasGem() bool
- func (x *Card) HasHidden() bool
- func (x *Card) HasValue() bool
- func (*Card) ProtoMessage()
- func (x *Card) ProtoReflect() protoreflect.Message
- func (x *Card) Reset()
- func (x *Card) SetGem(v GemType)
- func (x *Card) SetHidden(v bool)
- func (x *Card) SetValue(v int32)
- func (x *Card) String() string
- type Card_builder
- type Coin
- type CoinBank
- func (x *CoinBank) GetBlue() []*Coin
- func (x *CoinBank) GetBrown() []*Coin
- func (x *CoinBank) GetGold() []*Coin
- func (x *CoinBank) GetGreen() []*Coin
- func (x *CoinBank) GetRed() []*Coin
- func (x *CoinBank) GetWhite() []*Coin
- func (*CoinBank) ProtoMessage()
- func (x *CoinBank) ProtoReflect() protoreflect.Message
- func (x *CoinBank) Reset()
- func (x *CoinBank) SetBlue(v []*Coin)
- func (x *CoinBank) SetBrown(v []*Coin)
- func (x *CoinBank) SetGold(v []*Coin)
- func (x *CoinBank) SetGreen(v []*Coin)
- func (x *CoinBank) SetRed(v []*Coin)
- func (x *CoinBank) SetWhite(v []*Coin)
- func (x *CoinBank) String() string
- type CoinBank_builder
- type Coin_builder
- type CreateTableRequest
- func (x *CreateTableRequest) ClearCreatorId()
- func (x *CreateTableRequest) ClearTableName()
- func (x *CreateTableRequest) GetCreatorId() string
- func (x *CreateTableRequest) GetTableName() string
- func (x *CreateTableRequest) HasCreatorId() bool
- func (x *CreateTableRequest) HasTableName() bool
- func (*CreateTableRequest) ProtoMessage()
- func (x *CreateTableRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTableRequest) Reset()
- func (x *CreateTableRequest) SetCreatorId(v string)
- func (x *CreateTableRequest) SetTableName(v string)
- func (x *CreateTableRequest) String() string
- type CreateTableRequest_builder
- type CreateTableResponse
- func (x *CreateTableResponse) ClearTable()
- func (x *CreateTableResponse) GetTable() *Table
- func (x *CreateTableResponse) HasTable() bool
- func (*CreateTableResponse) ProtoMessage()
- func (x *CreateTableResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTableResponse) Reset()
- func (x *CreateTableResponse) SetTable(v *Table)
- func (x *CreateTableResponse) String() string
- type CreateTableResponse_builder
- type Game
- func (x *Game) ClearGameId()
- func (x *Game) GetGameId() string
- func (x *Game) GetPlayers() []*Player
- func (x *Game) HasGameId() bool
- func (*Game) ProtoMessage()
- func (x *Game) ProtoReflect() protoreflect.Message
- func (x *Game) Reset()
- func (x *Game) SetGameId(v string)
- func (x *Game) SetPlayers(v []*Player)
- func (x *Game) String() string
- type GameData
- func (x *GameData) ClearBank()
- func (x *GameData) GetBank() *CoinBank
- func (x *GameData) GetHighDeck() []*Card
- func (x *GameData) GetHighVisible() []*Card
- func (x *GameData) GetLowDeck() []*Card
- func (x *GameData) GetLowVisible() []*Card
- func (x *GameData) GetMidDeck() []*Card
- func (x *GameData) GetMidVisible() []*Card
- func (x *GameData) GetNobles() []*Noble
- func (x *GameData) HasBank() bool
- func (*GameData) ProtoMessage()
- func (x *GameData) ProtoReflect() protoreflect.Message
- func (x *GameData) Reset()
- func (x *GameData) SetBank(v *CoinBank)
- func (x *GameData) SetHighDeck(v []*Card)
- func (x *GameData) SetHighVisible(v []*Card)
- func (x *GameData) SetLowDeck(v []*Card)
- func (x *GameData) SetLowVisible(v []*Card)
- func (x *GameData) SetMidDeck(v []*Card)
- func (x *GameData) SetMidVisible(v []*Card)
- func (x *GameData) SetNobles(v []*Noble)
- func (x *GameData) String() string
- type GameData_builder
- type Game_builder
- type GemType
- type JoinTableRequest
- func (x *JoinTableRequest) ClearPlayerId()
- func (x *JoinTableRequest) ClearTableId()
- func (x *JoinTableRequest) GetPlayerId() string
- func (x *JoinTableRequest) GetTableId() string
- func (x *JoinTableRequest) HasPlayerId() bool
- func (x *JoinTableRequest) HasTableId() bool
- func (*JoinTableRequest) ProtoMessage()
- func (x *JoinTableRequest) ProtoReflect() protoreflect.Message
- func (x *JoinTableRequest) Reset()
- func (x *JoinTableRequest) SetPlayerId(v string)
- func (x *JoinTableRequest) SetTableId(v string)
- func (x *JoinTableRequest) String() string
- type JoinTableRequest_builder
- type JoinTableResponse
- func (x *JoinTableResponse) ClearTable()
- func (x *JoinTableResponse) GetTable() *Table
- func (x *JoinTableResponse) HasTable() bool
- func (*JoinTableResponse) ProtoMessage()
- func (x *JoinTableResponse) ProtoReflect() protoreflect.Message
- func (x *JoinTableResponse) Reset()
- func (x *JoinTableResponse) SetTable(v *Table)
- func (x *JoinTableResponse) String() string
- type JoinTableResponse_builder
- type LeaveTableRequest
- func (x *LeaveTableRequest) ClearPlayerId()
- func (x *LeaveTableRequest) ClearTableId()
- func (x *LeaveTableRequest) GetPlayerId() string
- func (x *LeaveTableRequest) GetTableId() string
- func (x *LeaveTableRequest) HasPlayerId() bool
- func (x *LeaveTableRequest) HasTableId() bool
- func (*LeaveTableRequest) ProtoMessage()
- func (x *LeaveTableRequest) ProtoReflect() protoreflect.Message
- func (x *LeaveTableRequest) Reset()
- func (x *LeaveTableRequest) SetPlayerId(v string)
- func (x *LeaveTableRequest) SetTableId(v string)
- func (x *LeaveTableRequest) String() string
- type LeaveTableRequest_builder
- type LeaveTableResponse
- func (x *LeaveTableResponse) ClearTable()
- func (x *LeaveTableResponse) GetTable() *Table
- func (x *LeaveTableResponse) HasTable() bool
- func (*LeaveTableResponse) ProtoMessage()
- func (x *LeaveTableResponse) ProtoReflect() protoreflect.Message
- func (x *LeaveTableResponse) Reset()
- func (x *LeaveTableResponse) SetTable(v *Table)
- func (x *LeaveTableResponse) String() string
- type LeaveTableResponse_builder
- type ListTablesRequest
- type ListTablesRequest_builder
- type ListTablesResponse
- type ListTablesResponse_builder
- type LoginRequest
- func (x *LoginRequest) ClearEmail()
- func (x *LoginRequest) ClearPassword()
- func (x *LoginRequest) GetEmail() string
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) HasEmail() bool
- func (x *LoginRequest) HasPassword() bool
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) SetEmail(v string)
- func (x *LoginRequest) SetPassword(v string)
- func (x *LoginRequest) String() string
- type LoginRequest_builder
- type LoginResponse
- func (x *LoginResponse) ClearUser()
- func (x *LoginResponse) GetUser() *User
- func (x *LoginResponse) HasUser() bool
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) SetUser(v *User)
- func (x *LoginResponse) String() string
- type LoginResponse_builder
- type Noble
- func (x *Noble) ClearUrl()
- func (x *Noble) GetRequirements() []*Requirement
- func (x *Noble) GetUrl() string
- func (x *Noble) HasUrl() bool
- func (*Noble) ProtoMessage()
- func (x *Noble) ProtoReflect() protoreflect.Message
- func (x *Noble) Reset()
- func (x *Noble) SetRequirements(v []*Requirement)
- func (x *Noble) SetUrl(v string)
- func (x *Noble) String() string
- type Noble_builder
- type Player
- func (x *Player) ClearHand()
- func (x *Player) ClearId()
- func (x *Player) ClearName()
- func (x *Player) GetHand() *PlayerHand
- func (x *Player) GetId() string
- func (x *Player) GetName() string
- func (x *Player) HasHand() bool
- func (x *Player) HasId() bool
- func (x *Player) HasName() bool
- func (*Player) ProtoMessage()
- func (x *Player) ProtoReflect() protoreflect.Message
- func (x *Player) Reset()
- func (x *Player) SetHand(v *PlayerHand)
- func (x *Player) SetId(v string)
- func (x *Player) SetName(v string)
- func (x *Player) String() string
- type PlayerHand
- func (x *PlayerHand) ClearCoinBank()
- func (x *PlayerHand) GetCoinBank() *CoinBank
- func (x *PlayerHand) GetCoins() []*Coin
- func (x *PlayerHand) GetNobles() []*Noble
- func (x *PlayerHand) GetOwnedCards() []*Card
- func (x *PlayerHand) GetReservedCards() []*Card
- func (x *PlayerHand) HasCoinBank() bool
- func (*PlayerHand) ProtoMessage()
- func (x *PlayerHand) ProtoReflect() protoreflect.Message
- func (x *PlayerHand) Reset()
- func (x *PlayerHand) SetCoinBank(v *CoinBank)
- func (x *PlayerHand) SetCoins(v []*Coin)
- func (x *PlayerHand) SetNobles(v []*Noble)
- func (x *PlayerHand) SetOwnedCards(v []*Card)
- func (x *PlayerHand) SetReservedCards(v []*Card)
- func (x *PlayerHand) String() string
- type PlayerHand_builder
- type Player_builder
- type RegisterUserRequest
- func (x *RegisterUserRequest) ClearEmail()
- func (x *RegisterUserRequest) ClearName()
- func (x *RegisterUserRequest) ClearPassword()
- func (x *RegisterUserRequest) GetEmail() string
- func (x *RegisterUserRequest) GetName() string
- func (x *RegisterUserRequest) GetPassword() string
- func (x *RegisterUserRequest) HasEmail() bool
- func (x *RegisterUserRequest) HasName() bool
- func (x *RegisterUserRequest) HasPassword() bool
- func (*RegisterUserRequest) ProtoMessage()
- func (x *RegisterUserRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterUserRequest) Reset()
- func (x *RegisterUserRequest) SetEmail(v string)
- func (x *RegisterUserRequest) SetName(v string)
- func (x *RegisterUserRequest) SetPassword(v string)
- func (x *RegisterUserRequest) String() string
- type RegisterUserRequest_builder
- type RegisterUserResponse
- func (x *RegisterUserResponse) ClearUser()
- func (x *RegisterUserResponse) GetUser() *User
- func (x *RegisterUserResponse) HasUser() bool
- func (*RegisterUserResponse) ProtoMessage()
- func (x *RegisterUserResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterUserResponse) Reset()
- func (x *RegisterUserResponse) SetUser(v *User)
- func (x *RegisterUserResponse) String() string
- type RegisterUserResponse_builder
- type Requirement
- func (x *Requirement) ClearAmount()
- func (x *Requirement) ClearGem()
- func (x *Requirement) GetAmount() int32
- func (x *Requirement) GetGem() GemType
- func (x *Requirement) HasAmount() bool
- func (x *Requirement) HasGem() bool
- func (*Requirement) ProtoMessage()
- func (x *Requirement) ProtoReflect() protoreflect.Message
- func (x *Requirement) Reset()
- func (x *Requirement) SetAmount(v int32)
- func (x *Requirement) SetGem(v GemType)
- func (x *Requirement) String() string
- type Requirement_builder
- type StartGameRequest
- func (x *StartGameRequest) ClearTableId()
- func (x *StartGameRequest) GetTableId() string
- func (x *StartGameRequest) HasTableId() bool
- func (*StartGameRequest) ProtoMessage()
- func (x *StartGameRequest) ProtoReflect() protoreflect.Message
- func (x *StartGameRequest) Reset()
- func (x *StartGameRequest) SetTableId(v string)
- func (x *StartGameRequest) String() string
- type StartGameRequest_builder
- type StartGameResponse
- func (x *StartGameResponse) ClearGame()
- func (x *StartGameResponse) GetGame() *Game
- func (x *StartGameResponse) HasGame() bool
- func (*StartGameResponse) ProtoMessage()
- func (x *StartGameResponse) ProtoReflect() protoreflect.Message
- func (x *StartGameResponse) Reset()
- func (x *StartGameResponse) SetGame(v *Game)
- func (x *StartGameResponse) String() string
- type StartGameResponse_builder
- type Table
- func (x *Table) ClearDisplayName()
- func (x *Table) ClearTableId()
- func (x *Table) GetDisplayName() string
- func (x *Table) GetPlayers() []*Player
- func (x *Table) GetTableId() string
- func (x *Table) HasDisplayName() bool
- func (x *Table) HasTableId() bool
- func (*Table) ProtoMessage()
- func (x *Table) ProtoReflect() protoreflect.Message
- func (x *Table) Reset()
- func (x *Table) SetDisplayName(v string)
- func (x *Table) SetPlayers(v []*Player)
- func (x *Table) SetTableId(v string)
- func (x *Table) String() string
- type Table_builder
- type User
- func (x *User) ClearEmail()
- func (x *User) ClearId()
- func (x *User) ClearName()
- func (x *User) GetEmail() string
- func (x *User) GetId() string
- func (x *User) GetName() string
- func (x *User) HasEmail() bool
- func (x *User) HasId() bool
- func (x *User) HasName() bool
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) SetEmail(v string)
- func (x *User) SetId(v string)
- func (x *User) SetName(v string)
- func (x *User) String() string
- type User_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GemType_name = map[int32]string{ 0: "GEM_TYPE_UNSPECIFIED", 1: "GEM_TYPE_RED", 2: "GEM_TYPE_BLUE", 3: "GEM_TYPE_GREEN", 4: "GEM_TYPE_BROWN", 5: "GEM_TYPE_WHITE", 6: "GEM_TYPE_GOLD", } GemType_value = map[string]int32{ "GEM_TYPE_UNSPECIFIED": 0, "GEM_TYPE_RED": 1, "GEM_TYPE_BLUE": 2, "GEM_TYPE_GREEN": 3, "GEM_TYPE_BROWN": 4, "GEM_TYPE_WHITE": 5, "GEM_TYPE_GOLD": 6, } )
Enum value maps for GemType.
View Source
var File_atypicaldev_splendorapis_v1_game_proto protoreflect.FileDescriptor
View Source
var File_atypicaldev_splendorapis_v1_player_proto protoreflect.FileDescriptor
View Source
var File_atypicaldev_splendorapis_v1_service_proto protoreflect.FileDescriptor
View Source
var File_atypicaldev_splendorapis_v1_table_proto protoreflect.FileDescriptor
View Source
var File_atypicaldev_splendorapis_v1_unit_proto protoreflect.FileDescriptor
View Source
var File_atypicaldev_splendorapis_v1_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Card struct {
Value *int32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
Gem *GemType `protobuf:"varint,2,opt,name=gem,enum=atypicaldev.splendorapis.v1.GemType" json:"gem,omitempty"`
// Usually unsent/false. Only true when player reserves a facedown
// (top of deck) card.
Hidden *bool `protobuf:"varint,3,opt,name=hidden" json:"hidden,omitempty"`
// contains filtered or unexported fields
}
func (*Card) ProtoReflect ¶
func (x *Card) ProtoReflect() protoreflect.Message
type Card_builder ¶
type Card_builder struct {
Value *int32
Gem *GemType
// Usually unsent/false. Only true when player reserves a facedown
// (top of deck) card.
Hidden *bool
// contains filtered or unexported fields
}
func (Card_builder) Build ¶
func (b0 Card_builder) Build() *Card
type Coin ¶
type Coin struct {
Gem *GemType `protobuf:"varint,1,opt,name=gem,enum=atypicaldev.splendorapis.v1.GemType" json:"gem,omitempty"`
// contains filtered or unexported fields
}
func (*Coin) ProtoReflect ¶
func (x *Coin) ProtoReflect() protoreflect.Message
type CoinBank ¶
type CoinBank struct {
Red []*Coin `protobuf:"bytes,1,rep,name=red" json:"red,omitempty"`
Blue []*Coin `protobuf:"bytes,2,rep,name=blue" json:"blue,omitempty"`
Green []*Coin `protobuf:"bytes,3,rep,name=green" json:"green,omitempty"`
Brown []*Coin `protobuf:"bytes,4,rep,name=brown" json:"brown,omitempty"`
White []*Coin `protobuf:"bytes,5,rep,name=white" json:"white,omitempty"`
Gold []*Coin `protobuf:"bytes,6,rep,name=gold" json:"gold,omitempty"`
// contains filtered or unexported fields
}
func (*CoinBank) ProtoReflect ¶
func (x *CoinBank) ProtoReflect() protoreflect.Message
type CoinBank_builder ¶
type CoinBank_builder struct {
Red []*Coin
Blue []*Coin
Green []*Coin
Brown []*Coin
White []*Coin
Gold []*Coin
// contains filtered or unexported fields
}
func (CoinBank_builder) Build ¶
func (b0 CoinBank_builder) Build() *CoinBank
type Coin_builder ¶
type Coin_builder struct {
Gem *GemType
// contains filtered or unexported fields
}
func (Coin_builder) Build ¶
func (b0 Coin_builder) Build() *Coin
type CreateTableRequest ¶
type CreateTableRequest struct {
CreatorId *string `protobuf:"bytes,1,opt,name=creator_id,json=creatorId" json:"creator_id,omitempty"`
// Optional. User provided table name.
TableName *string `protobuf:"bytes,2,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
// contains filtered or unexported fields
}
Takes an agent's id and creates a table for a game.
func (*CreateTableRequest) ClearCreatorId ¶
func (x *CreateTableRequest) ClearCreatorId()
func (*CreateTableRequest) ClearTableName ¶
func (x *CreateTableRequest) ClearTableName()
func (*CreateTableRequest) GetCreatorId ¶
func (x *CreateTableRequest) GetCreatorId() string
func (*CreateTableRequest) GetTableName ¶
func (x *CreateTableRequest) GetTableName() string
func (*CreateTableRequest) HasCreatorId ¶
func (x *CreateTableRequest) HasCreatorId() bool
func (*CreateTableRequest) HasTableName ¶
func (x *CreateTableRequest) HasTableName() bool
func (*CreateTableRequest) ProtoMessage ¶
func (*CreateTableRequest) ProtoMessage()
func (*CreateTableRequest) ProtoReflect ¶
func (x *CreateTableRequest) ProtoReflect() protoreflect.Message
func (*CreateTableRequest) Reset ¶
func (x *CreateTableRequest) Reset()
func (*CreateTableRequest) SetCreatorId ¶
func (x *CreateTableRequest) SetCreatorId(v string)
func (*CreateTableRequest) SetTableName ¶
func (x *CreateTableRequest) SetTableName(v string)
func (*CreateTableRequest) String ¶
func (x *CreateTableRequest) String() string
type CreateTableRequest_builder ¶
type CreateTableRequest_builder struct {
CreatorId *string
// Optional. User provided table name.
TableName *string
// contains filtered or unexported fields
}
func (CreateTableRequest_builder) Build ¶
func (b0 CreateTableRequest_builder) Build() *CreateTableRequest
type CreateTableResponse ¶
type CreateTableResponse struct {
// Created Table.
Table *Table `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"`
// contains filtered or unexported fields
}
func (*CreateTableResponse) ClearTable ¶
func (x *CreateTableResponse) ClearTable()
func (*CreateTableResponse) GetTable ¶
func (x *CreateTableResponse) GetTable() *Table
func (*CreateTableResponse) HasTable ¶
func (x *CreateTableResponse) HasTable() bool
func (*CreateTableResponse) ProtoMessage ¶
func (*CreateTableResponse) ProtoMessage()
func (*CreateTableResponse) ProtoReflect ¶
func (x *CreateTableResponse) ProtoReflect() protoreflect.Message
func (*CreateTableResponse) Reset ¶
func (x *CreateTableResponse) Reset()
func (*CreateTableResponse) SetTable ¶
func (x *CreateTableResponse) SetTable(v *Table)
func (*CreateTableResponse) String ¶
func (x *CreateTableResponse) String() string
type CreateTableResponse_builder ¶
type CreateTableResponse_builder struct {
// Created Table.
Table *Table
// contains filtered or unexported fields
}
func (CreateTableResponse_builder) Build ¶
func (b0 CreateTableResponse_builder) Build() *CreateTableResponse
type Game ¶
type Game struct {
// Required.
GameId *string `protobuf:"bytes,1,opt,name=game_id,json=gameId" json:"game_id,omitempty"`
// All players at a table.
Players []*Player `protobuf:"bytes,2,rep,name=players" json:"players,omitempty"`
// contains filtered or unexported fields
}
func (*Game) ProtoReflect ¶
func (x *Game) ProtoReflect() protoreflect.Message
type GameData ¶
type GameData struct {
// Low Cards
LowDeck []*Card `protobuf:"bytes,1,rep,name=low_deck,json=lowDeck" json:"low_deck,omitempty"`
LowVisible []*Card `protobuf:"bytes,2,rep,name=low_visible,json=lowVisible" json:"low_visible,omitempty"`
// Mid Cards
MidDeck []*Card `protobuf:"bytes,3,rep,name=mid_deck,json=midDeck" json:"mid_deck,omitempty"`
MidVisible []*Card `protobuf:"bytes,4,rep,name=mid_visible,json=midVisible" json:"mid_visible,omitempty"`
// High Cards
HighDeck []*Card `protobuf:"bytes,5,rep,name=high_deck,json=highDeck" json:"high_deck,omitempty"`
HighVisible []*Card `protobuf:"bytes,6,rep,name=high_visible,json=highVisible" json:"high_visible,omitempty"`
// Nobles
Nobles []*Noble `protobuf:"bytes,7,rep,name=nobles" json:"nobles,omitempty"`
Bank *CoinBank `protobuf:"bytes,8,opt,name=bank" json:"bank,omitempty"`
// contains filtered or unexported fields
}
func (*GameData) ProtoReflect ¶
func (x *GameData) ProtoReflect() protoreflect.Message
type GameData_builder ¶
type GameData_builder struct {
// Low Cards
LowDeck []*Card
LowVisible []*Card
// Mid Cards
MidDeck []*Card
MidVisible []*Card
// High Cards
HighDeck []*Card
HighVisible []*Card
// Nobles
Nobles []*Noble
Bank *CoinBank
// contains filtered or unexported fields
}
func (GameData_builder) Build ¶
func (b0 GameData_builder) Build() *GameData
type Game_builder ¶
type Game_builder struct {
// Required.
GameId *string
// All players at a table.
Players []*Player
// contains filtered or unexported fields
}
func (Game_builder) Build ¶
func (b0 Game_builder) Build() *Game
type GemType ¶
type GemType int32
func (GemType) Descriptor ¶
func (GemType) Descriptor() protoreflect.EnumDescriptor
func (GemType) Number ¶
func (x GemType) Number() protoreflect.EnumNumber
func (GemType) Type ¶
func (GemType) Type() protoreflect.EnumType
type JoinTableRequest ¶
type JoinTableRequest struct {
// Required. Id of player requested to join.
PlayerId *string `protobuf:"bytes,1,opt,name=player_id,json=playerId" json:"player_id,omitempty"`
// Required. Id of table requested to join.
TableId *string `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
// contains filtered or unexported fields
}
func (*JoinTableRequest) ClearPlayerId ¶
func (x *JoinTableRequest) ClearPlayerId()
func (*JoinTableRequest) ClearTableId ¶
func (x *JoinTableRequest) ClearTableId()
func (*JoinTableRequest) GetPlayerId ¶
func (x *JoinTableRequest) GetPlayerId() string
func (*JoinTableRequest) GetTableId ¶
func (x *JoinTableRequest) GetTableId() string
func (*JoinTableRequest) HasPlayerId ¶
func (x *JoinTableRequest) HasPlayerId() bool
func (*JoinTableRequest) HasTableId ¶
func (x *JoinTableRequest) HasTableId() bool
func (*JoinTableRequest) ProtoMessage ¶
func (*JoinTableRequest) ProtoMessage()
func (*JoinTableRequest) ProtoReflect ¶
func (x *JoinTableRequest) ProtoReflect() protoreflect.Message
func (*JoinTableRequest) Reset ¶
func (x *JoinTableRequest) Reset()
func (*JoinTableRequest) SetPlayerId ¶
func (x *JoinTableRequest) SetPlayerId(v string)
func (*JoinTableRequest) SetTableId ¶
func (x *JoinTableRequest) SetTableId(v string)
func (*JoinTableRequest) String ¶
func (x *JoinTableRequest) String() string
type JoinTableRequest_builder ¶
type JoinTableRequest_builder struct {
// Required. Id of player requested to join.
PlayerId *string
// Required. Id of table requested to join.
TableId *string
// contains filtered or unexported fields
}
func (JoinTableRequest_builder) Build ¶
func (b0 JoinTableRequest_builder) Build() *JoinTableRequest
type JoinTableResponse ¶
type JoinTableResponse struct {
// Joined Table.
Table *Table `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"`
// contains filtered or unexported fields
}
func (*JoinTableResponse) ClearTable ¶
func (x *JoinTableResponse) ClearTable()
func (*JoinTableResponse) GetTable ¶
func (x *JoinTableResponse) GetTable() *Table
func (*JoinTableResponse) HasTable ¶
func (x *JoinTableResponse) HasTable() bool
func (*JoinTableResponse) ProtoMessage ¶
func (*JoinTableResponse) ProtoMessage()
func (*JoinTableResponse) ProtoReflect ¶
func (x *JoinTableResponse) ProtoReflect() protoreflect.Message
func (*JoinTableResponse) Reset ¶
func (x *JoinTableResponse) Reset()
func (*JoinTableResponse) SetTable ¶
func (x *JoinTableResponse) SetTable(v *Table)
func (*JoinTableResponse) String ¶
func (x *JoinTableResponse) String() string
type JoinTableResponse_builder ¶
type JoinTableResponse_builder struct {
// Joined Table.
Table *Table
// contains filtered or unexported fields
}
func (JoinTableResponse_builder) Build ¶
func (b0 JoinTableResponse_builder) Build() *JoinTableResponse
type LeaveTableRequest ¶
type LeaveTableRequest struct {
// Required. Id of player requesting to leave.
PlayerId *string `protobuf:"bytes,1,opt,name=player_id,json=playerId" json:"player_id,omitempty"`
// Required. Id of table requesting to leave.
TableId *string `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
// contains filtered or unexported fields
}
func (*LeaveTableRequest) ClearPlayerId ¶
func (x *LeaveTableRequest) ClearPlayerId()
func (*LeaveTableRequest) ClearTableId ¶
func (x *LeaveTableRequest) ClearTableId()
func (*LeaveTableRequest) GetPlayerId ¶
func (x *LeaveTableRequest) GetPlayerId() string
func (*LeaveTableRequest) GetTableId ¶
func (x *LeaveTableRequest) GetTableId() string
func (*LeaveTableRequest) HasPlayerId ¶
func (x *LeaveTableRequest) HasPlayerId() bool
func (*LeaveTableRequest) HasTableId ¶
func (x *LeaveTableRequest) HasTableId() bool
func (*LeaveTableRequest) ProtoMessage ¶
func (*LeaveTableRequest) ProtoMessage()
func (*LeaveTableRequest) ProtoReflect ¶
func (x *LeaveTableRequest) ProtoReflect() protoreflect.Message
func (*LeaveTableRequest) Reset ¶
func (x *LeaveTableRequest) Reset()
func (*LeaveTableRequest) SetPlayerId ¶
func (x *LeaveTableRequest) SetPlayerId(v string)
func (*LeaveTableRequest) SetTableId ¶
func (x *LeaveTableRequest) SetTableId(v string)
func (*LeaveTableRequest) String ¶
func (x *LeaveTableRequest) String() string
type LeaveTableRequest_builder ¶
type LeaveTableRequest_builder struct {
// Required. Id of player requesting to leave.
PlayerId *string
// Required. Id of table requesting to leave.
TableId *string
// contains filtered or unexported fields
}
func (LeaveTableRequest_builder) Build ¶
func (b0 LeaveTableRequest_builder) Build() *LeaveTableRequest
type LeaveTableResponse ¶
type LeaveTableResponse struct {
// Left Table.
Table *Table `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"`
// contains filtered or unexported fields
}
func (*LeaveTableResponse) ClearTable ¶
func (x *LeaveTableResponse) ClearTable()
func (*LeaveTableResponse) GetTable ¶
func (x *LeaveTableResponse) GetTable() *Table
func (*LeaveTableResponse) HasTable ¶
func (x *LeaveTableResponse) HasTable() bool
func (*LeaveTableResponse) ProtoMessage ¶
func (*LeaveTableResponse) ProtoMessage()
func (*LeaveTableResponse) ProtoReflect ¶
func (x *LeaveTableResponse) ProtoReflect() protoreflect.Message
func (*LeaveTableResponse) Reset ¶
func (x *LeaveTableResponse) Reset()
func (*LeaveTableResponse) SetTable ¶
func (x *LeaveTableResponse) SetTable(v *Table)
func (*LeaveTableResponse) String ¶
func (x *LeaveTableResponse) String() string
type LeaveTableResponse_builder ¶
type LeaveTableResponse_builder struct {
// Left Table.
Table *Table
// contains filtered or unexported fields
}
func (LeaveTableResponse_builder) Build ¶
func (b0 LeaveTableResponse_builder) Build() *LeaveTableResponse
type ListTablesRequest ¶
type ListTablesRequest struct {
// contains filtered or unexported fields
}
func (*ListTablesRequest) ProtoMessage ¶
func (*ListTablesRequest) ProtoMessage()
func (*ListTablesRequest) ProtoReflect ¶
func (x *ListTablesRequest) ProtoReflect() protoreflect.Message
func (*ListTablesRequest) Reset ¶
func (x *ListTablesRequest) Reset()
func (*ListTablesRequest) String ¶
func (x *ListTablesRequest) String() string
type ListTablesRequest_builder ¶
type ListTablesRequest_builder struct {
// contains filtered or unexported fields
}
func (ListTablesRequest_builder) Build ¶
func (b0 ListTablesRequest_builder) Build() *ListTablesRequest
type ListTablesResponse ¶
type ListTablesResponse struct {
Tables []*Table `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
// contains filtered or unexported fields
}
func (*ListTablesResponse) GetTables ¶
func (x *ListTablesResponse) GetTables() []*Table
func (*ListTablesResponse) ProtoMessage ¶
func (*ListTablesResponse) ProtoMessage()
func (*ListTablesResponse) ProtoReflect ¶
func (x *ListTablesResponse) ProtoReflect() protoreflect.Message
func (*ListTablesResponse) Reset ¶
func (x *ListTablesResponse) Reset()
func (*ListTablesResponse) SetTables ¶
func (x *ListTablesResponse) SetTables(v []*Table)
func (*ListTablesResponse) String ¶
func (x *ListTablesResponse) String() string
type ListTablesResponse_builder ¶
type ListTablesResponse_builder struct {
Tables []*Table
// contains filtered or unexported fields
}
func (ListTablesResponse_builder) Build ¶
func (b0 ListTablesResponse_builder) Build() *ListTablesResponse
type LoginRequest ¶
type LoginRequest struct {
Email *string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
Password *string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*LoginRequest) ClearEmail ¶
func (x *LoginRequest) ClearEmail()
func (*LoginRequest) ClearPassword ¶
func (x *LoginRequest) ClearPassword()
func (*LoginRequest) GetEmail ¶
func (x *LoginRequest) GetEmail() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) HasEmail ¶
func (x *LoginRequest) HasEmail() bool
func (*LoginRequest) HasPassword ¶
func (x *LoginRequest) HasPassword() bool
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) SetEmail ¶
func (x *LoginRequest) SetEmail(v string)
func (*LoginRequest) SetPassword ¶
func (x *LoginRequest) SetPassword(v string)
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginRequest_builder ¶
type LoginRequest_builder struct {
Email *string
Password *string
// contains filtered or unexported fields
}
func (LoginRequest_builder) Build ¶
func (b0 LoginRequest_builder) Build() *LoginRequest
type LoginResponse ¶
type LoginResponse struct {
User *User `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*LoginResponse) ClearUser ¶
func (x *LoginResponse) ClearUser()
func (*LoginResponse) GetUser ¶
func (x *LoginResponse) GetUser() *User
func (*LoginResponse) HasUser ¶
func (x *LoginResponse) HasUser() bool
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) SetUser ¶
func (x *LoginResponse) SetUser(v *User)
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type LoginResponse_builder ¶
type LoginResponse_builder struct {
User *User
// contains filtered or unexported fields
}
func (LoginResponse_builder) Build ¶
func (b0 LoginResponse_builder) Build() *LoginResponse
type Noble ¶
type Noble struct {
// List of requirements to display to user.
Requirements []*Requirement `protobuf:"bytes,1,rep,name=requirements" json:"requirements,omitempty"`
// Optional. Image to display on noble tile.
Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*Noble) GetRequirements ¶
func (x *Noble) GetRequirements() []*Requirement
func (*Noble) ProtoReflect ¶
func (x *Noble) ProtoReflect() protoreflect.Message
func (*Noble) SetRequirements ¶
func (x *Noble) SetRequirements(v []*Requirement)
type Noble_builder ¶
type Noble_builder struct {
// List of requirements to display to user.
Requirements []*Requirement
// Optional. Image to display on noble tile.
Url *string
// contains filtered or unexported fields
}
func (Noble_builder) Build ¶
func (b0 Noble_builder) Build() *Noble
type Player ¶
type Player struct {
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
Hand *PlayerHand `protobuf:"bytes,3,opt,name=hand" json:"hand,omitempty"`
// contains filtered or unexported fields
}
func (*Player) GetHand ¶
func (x *Player) GetHand() *PlayerHand
func (*Player) ProtoReflect ¶
func (x *Player) ProtoReflect() protoreflect.Message
func (*Player) SetHand ¶
func (x *Player) SetHand(v *PlayerHand)
type PlayerHand ¶
type PlayerHand struct {
OwnedCards []*Card `protobuf:"bytes,1,rep,name=owned_cards,json=ownedCards" json:"owned_cards,omitempty"`
ReservedCards []*Card `protobuf:"bytes,2,rep,name=reserved_cards,json=reservedCards" json:"reserved_cards,omitempty"`
Nobles []*Noble `protobuf:"bytes,3,rep,name=nobles" json:"nobles,omitempty"`
// Should be bucketed by gem_type with owned_cards.
Coins []*Coin `protobuf:"bytes,4,rep,name=coins" json:"coins,omitempty"`
CoinBank *CoinBank `protobuf:"bytes,5,opt,name=coin_bank,json=coinBank" json:"coin_bank,omitempty"`
// contains filtered or unexported fields
}
func (*PlayerHand) ClearCoinBank ¶
func (x *PlayerHand) ClearCoinBank()
func (*PlayerHand) GetCoinBank ¶
func (x *PlayerHand) GetCoinBank() *CoinBank
func (*PlayerHand) GetCoins ¶
func (x *PlayerHand) GetCoins() []*Coin
func (*PlayerHand) GetNobles ¶
func (x *PlayerHand) GetNobles() []*Noble
func (*PlayerHand) GetOwnedCards ¶
func (x *PlayerHand) GetOwnedCards() []*Card
func (*PlayerHand) GetReservedCards ¶
func (x *PlayerHand) GetReservedCards() []*Card
func (*PlayerHand) HasCoinBank ¶
func (x *PlayerHand) HasCoinBank() bool
func (*PlayerHand) ProtoMessage ¶
func (*PlayerHand) ProtoMessage()
func (*PlayerHand) ProtoReflect ¶
func (x *PlayerHand) ProtoReflect() protoreflect.Message
func (*PlayerHand) Reset ¶
func (x *PlayerHand) Reset()
func (*PlayerHand) SetCoinBank ¶
func (x *PlayerHand) SetCoinBank(v *CoinBank)
func (*PlayerHand) SetCoins ¶
func (x *PlayerHand) SetCoins(v []*Coin)
func (*PlayerHand) SetNobles ¶
func (x *PlayerHand) SetNobles(v []*Noble)
func (*PlayerHand) SetOwnedCards ¶
func (x *PlayerHand) SetOwnedCards(v []*Card)
func (*PlayerHand) SetReservedCards ¶
func (x *PlayerHand) SetReservedCards(v []*Card)
func (*PlayerHand) String ¶
func (x *PlayerHand) String() string
type PlayerHand_builder ¶
type PlayerHand_builder struct {
OwnedCards []*Card
ReservedCards []*Card
Nobles []*Noble
// Should be bucketed by gem_type with owned_cards.
Coins []*Coin
CoinBank *CoinBank
// contains filtered or unexported fields
}
func (PlayerHand_builder) Build ¶
func (b0 PlayerHand_builder) Build() *PlayerHand
type Player_builder ¶
type Player_builder struct {
Id *string
Name *string
Hand *PlayerHand
// contains filtered or unexported fields
}
func (Player_builder) Build ¶
func (b0 Player_builder) Build() *Player
type RegisterUserRequest ¶
type RegisterUserRequest struct {
Email *string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
Password *string `protobuf:"bytes,3,opt,name=password" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterUserRequest) ClearEmail ¶
func (x *RegisterUserRequest) ClearEmail()
func (*RegisterUserRequest) ClearName ¶
func (x *RegisterUserRequest) ClearName()
func (*RegisterUserRequest) ClearPassword ¶
func (x *RegisterUserRequest) ClearPassword()
func (*RegisterUserRequest) GetEmail ¶
func (x *RegisterUserRequest) GetEmail() string
func (*RegisterUserRequest) GetName ¶
func (x *RegisterUserRequest) GetName() string
func (*RegisterUserRequest) GetPassword ¶
func (x *RegisterUserRequest) GetPassword() string
func (*RegisterUserRequest) HasEmail ¶
func (x *RegisterUserRequest) HasEmail() bool
func (*RegisterUserRequest) HasName ¶
func (x *RegisterUserRequest) HasName() bool
func (*RegisterUserRequest) HasPassword ¶
func (x *RegisterUserRequest) HasPassword() bool
func (*RegisterUserRequest) ProtoMessage ¶
func (*RegisterUserRequest) ProtoMessage()
func (*RegisterUserRequest) ProtoReflect ¶
func (x *RegisterUserRequest) ProtoReflect() protoreflect.Message
func (*RegisterUserRequest) Reset ¶
func (x *RegisterUserRequest) Reset()
func (*RegisterUserRequest) SetEmail ¶
func (x *RegisterUserRequest) SetEmail(v string)
func (*RegisterUserRequest) SetName ¶
func (x *RegisterUserRequest) SetName(v string)
func (*RegisterUserRequest) SetPassword ¶
func (x *RegisterUserRequest) SetPassword(v string)
func (*RegisterUserRequest) String ¶
func (x *RegisterUserRequest) String() string
type RegisterUserRequest_builder ¶
type RegisterUserRequest_builder struct {
Email *string
Name *string
Password *string
// contains filtered or unexported fields
}
func (RegisterUserRequest_builder) Build ¶
func (b0 RegisterUserRequest_builder) Build() *RegisterUserRequest
type RegisterUserResponse ¶
type RegisterUserResponse struct {
User *User `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterUserResponse) ClearUser ¶
func (x *RegisterUserResponse) ClearUser()
func (*RegisterUserResponse) GetUser ¶
func (x *RegisterUserResponse) GetUser() *User
func (*RegisterUserResponse) HasUser ¶
func (x *RegisterUserResponse) HasUser() bool
func (*RegisterUserResponse) ProtoMessage ¶
func (*RegisterUserResponse) ProtoMessage()
func (*RegisterUserResponse) ProtoReflect ¶
func (x *RegisterUserResponse) ProtoReflect() protoreflect.Message
func (*RegisterUserResponse) Reset ¶
func (x *RegisterUserResponse) Reset()
func (*RegisterUserResponse) SetUser ¶
func (x *RegisterUserResponse) SetUser(v *User)
func (*RegisterUserResponse) String ¶
func (x *RegisterUserResponse) String() string
type RegisterUserResponse_builder ¶
type RegisterUserResponse_builder struct {
User *User
// contains filtered or unexported fields
}
func (RegisterUserResponse_builder) Build ¶
func (b0 RegisterUserResponse_builder) Build() *RegisterUserResponse
type Requirement ¶
type Requirement struct {
Gem *GemType `protobuf:"varint,1,opt,name=gem,enum=atypicaldev.splendorapis.v1.GemType" json:"gem,omitempty"`
Amount *int32 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
// contains filtered or unexported fields
}
func (*Requirement) ClearAmount ¶
func (x *Requirement) ClearAmount()
func (*Requirement) ClearGem ¶
func (x *Requirement) ClearGem()
func (*Requirement) GetAmount ¶
func (x *Requirement) GetAmount() int32
func (*Requirement) GetGem ¶
func (x *Requirement) GetGem() GemType
func (*Requirement) HasAmount ¶
func (x *Requirement) HasAmount() bool
func (*Requirement) HasGem ¶
func (x *Requirement) HasGem() bool
func (*Requirement) ProtoMessage ¶
func (*Requirement) ProtoMessage()
func (*Requirement) ProtoReflect ¶
func (x *Requirement) ProtoReflect() protoreflect.Message
func (*Requirement) Reset ¶
func (x *Requirement) Reset()
func (*Requirement) SetAmount ¶
func (x *Requirement) SetAmount(v int32)
func (*Requirement) SetGem ¶
func (x *Requirement) SetGem(v GemType)
func (*Requirement) String ¶
func (x *Requirement) String() string
type Requirement_builder ¶
type Requirement_builder struct {
Gem *GemType
Amount *int32
// contains filtered or unexported fields
}
func (Requirement_builder) Build ¶
func (b0 Requirement_builder) Build() *Requirement
type StartGameRequest ¶
type StartGameRequest struct {
// Required. Id of the table requesting start of game.
TableId *string `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
// contains filtered or unexported fields
}
func (*StartGameRequest) ClearTableId ¶
func (x *StartGameRequest) ClearTableId()
func (*StartGameRequest) GetTableId ¶
func (x *StartGameRequest) GetTableId() string
func (*StartGameRequest) HasTableId ¶
func (x *StartGameRequest) HasTableId() bool
func (*StartGameRequest) ProtoMessage ¶
func (*StartGameRequest) ProtoMessage()
func (*StartGameRequest) ProtoReflect ¶
func (x *StartGameRequest) ProtoReflect() protoreflect.Message
func (*StartGameRequest) Reset ¶
func (x *StartGameRequest) Reset()
func (*StartGameRequest) SetTableId ¶
func (x *StartGameRequest) SetTableId(v string)
func (*StartGameRequest) String ¶
func (x *StartGameRequest) String() string
type StartGameRequest_builder ¶
type StartGameRequest_builder struct {
// Required. Id of the table requesting start of game.
TableId *string
// contains filtered or unexported fields
}
func (StartGameRequest_builder) Build ¶
func (b0 StartGameRequest_builder) Build() *StartGameRequest
type StartGameResponse ¶
type StartGameResponse struct {
Game *Game `protobuf:"bytes,2,opt,name=game" json:"game,omitempty"`
// contains filtered or unexported fields
}
NextId: 3
func (*StartGameResponse) ClearGame ¶
func (x *StartGameResponse) ClearGame()
func (*StartGameResponse) GetGame ¶
func (x *StartGameResponse) GetGame() *Game
func (*StartGameResponse) HasGame ¶
func (x *StartGameResponse) HasGame() bool
func (*StartGameResponse) ProtoMessage ¶
func (*StartGameResponse) ProtoMessage()
func (*StartGameResponse) ProtoReflect ¶
func (x *StartGameResponse) ProtoReflect() protoreflect.Message
func (*StartGameResponse) Reset ¶
func (x *StartGameResponse) Reset()
func (*StartGameResponse) SetGame ¶
func (x *StartGameResponse) SetGame(v *Game)
func (*StartGameResponse) String ¶
func (x *StartGameResponse) String() string
type StartGameResponse_builder ¶
type StartGameResponse_builder struct {
Game *Game
// contains filtered or unexported fields
}
func (StartGameResponse_builder) Build ¶
func (b0 StartGameResponse_builder) Build() *StartGameResponse
type Table ¶
type Table struct {
// Required.
TableId *string `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
// All players at a table.
Players []*Player `protobuf:"bytes,2,rep,name=players" json:"players,omitempty"`
// Required.
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
type Table_builder ¶
type Table_builder struct {
// Required.
TableId *string
// All players at a table.
Players []*Player
// Required.
DisplayName *string
// contains filtered or unexported fields
}
func (Table_builder) Build ¶
func (b0 Table_builder) Build() *Table
type User ¶
type User struct {
Email *string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Source Files
¶
- game.pb.go
- player.pb.go
- service.pb.go
- table.pb.go
- unit.pb.go
- user.pb.go
Click to show internal directories.
Click to hide internal directories.