规则文档理清楚,开始代码层面对比和校对
This commit is contained in:
@@ -911,7 +911,7 @@ Desk.send_text=function(_msg){//发送消息
|
||||
if(!_msg.data.type){
|
||||
var pobj = Desk.GetPlayerBySeat(_msg.data.seat);
|
||||
GameUI.playTextVoice(_msg.data.text,pobj.sex);
|
||||
GameUI.ShowChat(Logic.ChangeToStatus(C_Player.seat,_msg.data.seat),_msg.data.text);
|
||||
GameUI.ShowChat(_msg.data.seat,_msg.data.text);
|
||||
GameUI.addCommunion(Logic.ChangeToStatus(C_Player.seat,_msg.data.seat),1,_msg.data.text,0,null,pobj.sex);
|
||||
}else if(_msg.data.type == 1){//全服公告
|
||||
GameUI.CloseChat();
|
||||
@@ -929,7 +929,7 @@ Desk.send_text=function(_msg){//发送消息
|
||||
var idx = Number(_msg.data.text);
|
||||
_msg.data.text = Game_Config.Info.TextContent[(idx - 1)%Game_Config.Info.TextContent.length];
|
||||
GameUI.playTextVoice(_msg.data.text);
|
||||
GameUI.ShowChat(Logic.ChangeToStatus(C_Player.seat,_msg.data.seat),_msg.data.text);
|
||||
GameUI.ShowChat(_msg.data.seat,_msg.data.text);
|
||||
GameUI.addCommunion(Logic.ChangeToStatus(C_Player.seat,_msg.data.seat),1,_msg.data.text,0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user