Documentation ¶
Index ¶
- Variables
- type LoginRequest
- type LoginResponse
- type LogoutRequest
- type LogoutResponse
- func (*LogoutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutResponse) GetCode() int64
- func (x *LogoutResponse) GetMessage() string
- func (*LogoutResponse) ProtoMessage()
- func (x *LogoutResponse) ProtoReflect() protoreflect.Message
- func (x *LogoutResponse) Reset()
- func (x *LogoutResponse) String() string
- type PlayerBetEvent
- func (*PlayerBetEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerBetEvent) GetBetAmount() int64
- func (x *PlayerBetEvent) GetGameID() int64
- func (x *PlayerBetEvent) GetUID() int64
- func (*PlayerBetEvent) ProtoMessage()
- func (x *PlayerBetEvent) ProtoReflect() protoreflect.Message
- func (x *PlayerBetEvent) Reset()
- func (x *PlayerBetEvent) String() string
- type PlayerSettleEvent
- func (*PlayerSettleEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerSettleEvent) GetEndCoin() int64
- func (x *PlayerSettleEvent) GetGameID() int64
- func (x *PlayerSettleEvent) GetPayoutAmount() int64
- func (x *PlayerSettleEvent) GetUID() int64
- func (x *PlayerSettleEvent) GetWinAmount() int64
- func (*PlayerSettleEvent) ProtoMessage()
- func (x *PlayerSettleEvent) ProtoReflect() protoreflect.Message
- func (x *PlayerSettleEvent) Reset()
- func (x *PlayerSettleEvent) String() string
- type UpdatePlayerRequest
- func (*UpdatePlayerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePlayerRequest) GetPlayerID() int64
- func (*UpdatePlayerRequest) ProtoMessage()
- func (x *UpdatePlayerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePlayerRequest) Reset()
- func (x *UpdatePlayerRequest) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_notify_rpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LoginRequest ¶
type LoginRequest struct { UID int64 `protobuf:"varint,1,opt,name=UID,proto3" json:"UID,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetUID ¶
func (x *LoginRequest) GetUID() int64
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { // @inject_tag: json:"Code" Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetCode ¶
func (x *LoginResponse) GetCode() int64
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type LogoutRequest ¶
type LogoutRequest struct {
// contains filtered or unexported fields
}
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (x *LogoutRequest) String() string
type LogoutResponse ¶
type LogoutResponse struct { Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*LogoutResponse) Descriptor
deprecated
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) GetCode ¶
func (x *LogoutResponse) GetCode() int64
func (*LogoutResponse) GetMessage ¶
func (x *LogoutResponse) GetMessage() string
func (*LogoutResponse) ProtoMessage ¶
func (*LogoutResponse) ProtoMessage()
func (*LogoutResponse) ProtoReflect ¶
func (x *LogoutResponse) ProtoReflect() protoreflect.Message
func (*LogoutResponse) Reset ¶
func (x *LogoutResponse) Reset()
func (*LogoutResponse) String ¶
func (x *LogoutResponse) String() string
type PlayerBetEvent ¶
type PlayerBetEvent struct { UID int64 `protobuf:"varint,1,opt,name=UID,proto3" json:"UID,omitempty"` GameID int64 `protobuf:"varint,2,opt,name=GameID,proto3" json:"GameID,omitempty"` BetAmount int64 `protobuf:"varint,3,opt,name=BetAmount,proto3" json:"BetAmount,omitempty"` // 下注金币数量 // contains filtered or unexported fields }
玩家下注事件
func (*PlayerBetEvent) Descriptor
deprecated
func (*PlayerBetEvent) Descriptor() ([]byte, []int)
Deprecated: Use PlayerBetEvent.ProtoReflect.Descriptor instead.
func (*PlayerBetEvent) GetBetAmount ¶
func (x *PlayerBetEvent) GetBetAmount() int64
func (*PlayerBetEvent) GetGameID ¶
func (x *PlayerBetEvent) GetGameID() int64
func (*PlayerBetEvent) GetUID ¶
func (x *PlayerBetEvent) GetUID() int64
func (*PlayerBetEvent) ProtoMessage ¶
func (*PlayerBetEvent) ProtoMessage()
func (*PlayerBetEvent) ProtoReflect ¶
func (x *PlayerBetEvent) ProtoReflect() protoreflect.Message
func (*PlayerBetEvent) Reset ¶
func (x *PlayerBetEvent) Reset()
func (*PlayerBetEvent) String ¶
func (x *PlayerBetEvent) String() string
type PlayerSettleEvent ¶
type PlayerSettleEvent struct { UID int64 `protobuf:"varint,1,opt,name=UID,proto3" json:"UID,omitempty"` // 玩家ID GameID int64 `protobuf:"varint,2,opt,name=GameID,proto3" json:"GameID,omitempty"` // 游戏ID PayoutAmount int64 `protobuf:"varint,3,opt,name=PayoutAmount,proto3" json:"PayoutAmount,omitempty"` // 赔付金币数量 WinAmount int64 `protobuf:"varint,4,opt,name=WinAmount,proto3" json:"WinAmount,omitempty"` // 赢取金币数量 EndCoin int64 `protobuf:"varint,5,opt,name=EndCoin,proto3" json:"EndCoin,omitempty"` // 玩家最终金币数量 // contains filtered or unexported fields }
玩家结算事件
func (*PlayerSettleEvent) Descriptor
deprecated
func (*PlayerSettleEvent) Descriptor() ([]byte, []int)
Deprecated: Use PlayerSettleEvent.ProtoReflect.Descriptor instead.
func (*PlayerSettleEvent) GetEndCoin ¶
func (x *PlayerSettleEvent) GetEndCoin() int64
func (*PlayerSettleEvent) GetGameID ¶
func (x *PlayerSettleEvent) GetGameID() int64
func (*PlayerSettleEvent) GetPayoutAmount ¶
func (x *PlayerSettleEvent) GetPayoutAmount() int64
func (*PlayerSettleEvent) GetUID ¶
func (x *PlayerSettleEvent) GetUID() int64
func (*PlayerSettleEvent) GetWinAmount ¶
func (x *PlayerSettleEvent) GetWinAmount() int64
func (*PlayerSettleEvent) ProtoMessage ¶
func (*PlayerSettleEvent) ProtoMessage()
func (*PlayerSettleEvent) ProtoReflect ¶
func (x *PlayerSettleEvent) ProtoReflect() protoreflect.Message
func (*PlayerSettleEvent) Reset ¶
func (x *PlayerSettleEvent) Reset()
func (*PlayerSettleEvent) String ¶
func (x *PlayerSettleEvent) String() string
type UpdatePlayerRequest ¶
type UpdatePlayerRequest struct { // @inject_tag: json:"PlayerID" PlayerID int64 `protobuf:"varint,1,opt,name=PlayerID,proto3" json:"PlayerID,omitempty"` // contains filtered or unexported fields }
更新玩家
func (*UpdatePlayerRequest) Descriptor
deprecated
func (*UpdatePlayerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePlayerRequest.ProtoReflect.Descriptor instead.
func (*UpdatePlayerRequest) GetPlayerID ¶
func (x *UpdatePlayerRequest) GetPlayerID() int64
func (*UpdatePlayerRequest) ProtoMessage ¶
func (*UpdatePlayerRequest) ProtoMessage()
func (*UpdatePlayerRequest) ProtoReflect ¶
func (x *UpdatePlayerRequest) ProtoReflect() protoreflect.Message
func (*UpdatePlayerRequest) Reset ¶
func (x *UpdatePlayerRequest) Reset()
func (*UpdatePlayerRequest) String ¶
func (x *UpdatePlayerRequest) String() string
Click to show internal directories.
Click to hide internal directories.