Documentation ¶
Index ¶
- Variables
- type SoloContract
- func (*SoloContract) Descriptor() ([]byte, []int)deprecated
- func (c *SoloContract) GetDurationUntilCollectionDeadline() time.Duration
- func (c *SoloContract) GetDurationUntilProductionDeadline() time.Duration
- func (x *SoloContract) GetEggType() api.EggType
- func (x *SoloContract) GetEggsLaid() float64
- func (x *SoloContract) GetEggsPerSecond() float64
- func (x *SoloContract) GetId() string
- func (x *SoloContract) GetIsElite() bool
- func (x *SoloContract) GetName() string
- func (x *SoloContract) GetPlayerId() string
- func (x *SoloContract) GetPlayerNickname() string
- func (x *SoloContract) GetRewards() []*api.Reward
- func (x *SoloContract) GetSecondsUntilCollectionDeadline() float64
- func (x *SoloContract) GetSecondsUntilProductionDeadline() float64
- func (c *SoloContract) GetServerRefreshTime() time.Time
- func (x *SoloContract) GetServerRefreshTimestamp() float64
- func (x *SoloContract) GetUltimateGoal() float64
- func (*SoloContract) ProtoMessage()
- func (x *SoloContract) ProtoReflect() protoreflect.Message
- func (x *SoloContract) Reset()
- func (x *SoloContract) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_solo_pb_solo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SoloContract ¶
type SoloContract struct { PlayerId string `protobuf:"bytes,13,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` PlayerNickname string `protobuf:"bytes,14,opt,name=player_nickname,json=playerNickname,proto3" json:"player_nickname,omitempty"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsElite bool `protobuf:"varint,3,opt,name=is_elite,json=isElite,proto3" json:"is_elite,omitempty"` EggType api.EggType `protobuf:"varint,12,opt,name=egg_type,json=eggType,proto3,enum=EggType" json:"egg_type,omitempty"` UltimateGoal float64 `protobuf:"fixed64,4,opt,name=ultimate_goal,json=ultimateGoal,proto3" json:"ultimate_goal,omitempty"` Rewards []*api.Reward `protobuf:"bytes,11,rep,name=rewards,proto3" json:"rewards,omitempty"` EggsLaid float64 `protobuf:"fixed64,5,opt,name=eggs_laid,json=eggsLaid,proto3" json:"eggs_laid,omitempty"` EggsPerSecond float64 `protobuf:"fixed64,6,opt,name=eggs_per_second,json=eggsPerSecond,proto3" json:"eggs_per_second,omitempty"` SecondsUntilProductionDeadline float64 `` /* 157-byte string literal not displayed */ SecondsUntilCollectionDeadline float64 `` /* 157-byte string literal not displayed */ ServerRefreshTimestamp float64 `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SoloContract) Descriptor
deprecated
func (*SoloContract) Descriptor() ([]byte, []int)
Deprecated: Use SoloContract.ProtoReflect.Descriptor instead.
func (*SoloContract) GetDurationUntilCollectionDeadline ¶
func (c *SoloContract) GetDurationUntilCollectionDeadline() time.Duration
func (*SoloContract) GetDurationUntilProductionDeadline ¶
func (c *SoloContract) GetDurationUntilProductionDeadline() time.Duration
func (*SoloContract) GetEggType ¶
func (x *SoloContract) GetEggType() api.EggType
func (*SoloContract) GetEggsLaid ¶
func (x *SoloContract) GetEggsLaid() float64
func (*SoloContract) GetEggsPerSecond ¶
func (x *SoloContract) GetEggsPerSecond() float64
func (*SoloContract) GetId ¶
func (x *SoloContract) GetId() string
func (*SoloContract) GetIsElite ¶
func (x *SoloContract) GetIsElite() bool
func (*SoloContract) GetName ¶
func (x *SoloContract) GetName() string
func (*SoloContract) GetPlayerId ¶
func (x *SoloContract) GetPlayerId() string
func (*SoloContract) GetPlayerNickname ¶
func (x *SoloContract) GetPlayerNickname() string
func (*SoloContract) GetRewards ¶
func (x *SoloContract) GetRewards() []*api.Reward
func (*SoloContract) GetSecondsUntilCollectionDeadline ¶
func (x *SoloContract) GetSecondsUntilCollectionDeadline() float64
func (*SoloContract) GetSecondsUntilProductionDeadline ¶
func (x *SoloContract) GetSecondsUntilProductionDeadline() float64
func (*SoloContract) GetServerRefreshTime ¶
func (c *SoloContract) GetServerRefreshTime() time.Time
func (*SoloContract) GetServerRefreshTimestamp ¶
func (x *SoloContract) GetServerRefreshTimestamp() float64
func (*SoloContract) GetUltimateGoal ¶
func (x *SoloContract) GetUltimateGoal() float64
func (*SoloContract) ProtoMessage ¶
func (*SoloContract) ProtoMessage()
func (*SoloContract) ProtoReflect ¶
func (x *SoloContract) ProtoReflect() protoreflect.Message
func (*SoloContract) Reset ¶
func (x *SoloContract) Reset()
func (*SoloContract) String ¶
func (x *SoloContract) String() string
Click to show internal directories.
Click to hide internal directories.