提交家族榜单数据接口更新

This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-06-03 14:21:19 +08:00
parent 834d2fd289
commit debac814f9
6 changed files with 459 additions and 45 deletions

File diff suppressed because one or more lines are too long

View File

@ -25,9 +25,17 @@ namespace GameLogic
public string roundId; public string roundId;
public string anchorUid; public string anchorUid;
public string winSide; public string winSide;
public string model; // 当前游戏模式
public List<PostPlayRankData> rankVos; public List<PostPlayRankData> rankVos;
} }
public enum GameModelType
{
= 0, // 普通模式
= 1,
= 2
}
public class GameEndData public class GameEndData
{ {
public string m_WinTeamName; public string m_WinTeamName;
@ -126,10 +134,11 @@ namespace GameLogic
//弹幕 //弹幕
public string msgId;// string类型id public string msgId;// string类型id
public string uid;// 评论用户的加密openid当前其实没有加密 public string uid;// 评论用户的加密openid当前其实没有加密
public string secWid;// 评论用户的加密openid当前其实没有加密
public string comment;// 评论内容
public string avatar;// 用户头像 public string avatar;// 用户头像
public string name;// 评论用户昵称(不加密) public string name;// 评论用户昵称(不加密)
public string comment;// 评论内容
public string secWid;// 评论用户的加密openid当前其实没有加密
public long createTime;// 评论毫秒级时间戳 public long createTime;// 评论毫秒级时间戳
//礼物 //礼物

View File

@ -27,6 +27,8 @@ namespace GameLogic
"040053" ,"7c1700","0000b2","b42a00","b40083" }; "040053" ,"7c1700","0000b2","b42a00","b40083" };
public static GameModelType gameModel = GameModelType.;
public static int GmActorId = 1; public static int GmActorId = 1;
// 测试玩家头像Url // 测试玩家头像Url

View File

@ -112,6 +112,7 @@ public class DataGameModelManager : GameBase.Singleton<DataGameModelManager>
uploadScoreRequest.rankVos = rankInfos; uploadScoreRequest.rankVos = rankInfos;
uploadScoreRequest.anchorUid = EventConts.RoomData.anchor_open_id; uploadScoreRequest.anchorUid = EventConts.RoomData.anchor_open_id;
uploadScoreRequest.winSide = "blue"; uploadScoreRequest.winSide = "blue";
uploadScoreRequest.model = EventConts.gameModel.ToString();
RoundId++; RoundId++;

View File

@ -1,3 +1,4 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;

View File

@ -42,6 +42,10 @@ namespace GameLogic
} }
} }
// 显示模式
EventConts.gameModel = (GameModelType) gameLenTiemrId;
// 设置游戏时长 // 设置游戏时长
switch (gameLenTiemrId) switch (gameLenTiemrId)
{ {