暂时屏蔽玩家技能卡带入
This commit is contained in:
parent
578707dfc6
commit
24cd2b3502
@ -173,12 +173,18 @@ func (this *Entertainment) useroffline(ctx context.Context, req *pb.RPCGeneralRe
|
|||||||
|
|
||||||
func (this *Entertainment) CreateRoom(sessions []comm.IUserSession, rulesStr string) (roomid string, err error) {
|
func (this *Entertainment) CreateRoom(sessions []comm.IUserSession, rulesStr string) (roomid string, err error) {
|
||||||
var (
|
var (
|
||||||
rules *pb.DBXxlRules = &pb.DBXxlRules{}
|
rules *pb.DBXxlRules = &pb.DBXxlRules{
|
||||||
red *pb.DBUser
|
RoomType: 0,
|
||||||
blue *pb.DBUser
|
Card1: "",
|
||||||
p1 *pb.PlayerData
|
Card2: "",
|
||||||
p2 *pb.PlayerData
|
Skill1: []int32{},
|
||||||
room *Room
|
Skill2: []int32{},
|
||||||
|
}
|
||||||
|
red *pb.DBUser
|
||||||
|
blue *pb.DBUser
|
||||||
|
p1 *pb.PlayerData
|
||||||
|
p2 *pb.PlayerData
|
||||||
|
room *Room
|
||||||
)
|
)
|
||||||
|
|
||||||
if err = json.Unmarshal([]byte(rulesStr), rules); err != nil {
|
if err = json.Unmarshal([]byte(rulesStr), rules); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user