暂时屏蔽玩家技能卡带入
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) {
|
||||
var (
|
||||
rules *pb.DBXxlRules = &pb.DBXxlRules{}
|
||||
red *pb.DBUser
|
||||
blue *pb.DBUser
|
||||
p1 *pb.PlayerData
|
||||
p2 *pb.PlayerData
|
||||
room *Room
|
||||
rules *pb.DBXxlRules = &pb.DBXxlRules{
|
||||
RoomType: 0,
|
||||
Card1: "",
|
||||
Card2: "",
|
||||
Skill1: []int32{},
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user