chore: 纳入项目全部源码进根仓库统一管理

删除 YouleNexus 内嵌 .git,统一由根仓库唯一管理。提交:
- projects/ 旧 H5 模板 Game_Surface_3 与各子游戏源码
- cocoscreator_projects/YouleNexus 工程 + cocos-creator-mcp 扩展源码
- CLAUDE.md、.mcp.json 等配置
library/temp/node_modules/dist 等缓存由 .gitignore 排除。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-28 11:55:13 +08:00
co-authored by Claude Opus 4.8
parent f5673c33c8
commit 7ab748919a
7317 changed files with 2810014 additions and 0 deletions
@@ -0,0 +1,136 @@
//收包
//在Game_Modify._ReceiveData 中调用
var Col_net = function(_msg){
switch (_msg.rpc){
case 'begin':
Public_data.begin(_msg);
UI.begin.show();
break;
case 'dealcard':
//发牌
Public_data.dealcard(_msg);
UI.dealcard.show();
break;
case 'lootbanket':
//下注
Public_data.lootbanket(_msg);
UI.lootbanket.show();
break;
case 'more':
//加倍
Public_data.more(_msg);
UI.more.show();
break;
case 'mingpai':
//明牌
Public_data.mingpai(_msg);
UI.mingpai.show();
break;
case 'playcards':
//出牌
Public_data.playcards(_msg);
UI.playcards.show();
break;
case 'display':
//不要
Public_data.display(_msg);
UI.display.show();
break;
case 'aset':
//小局
Public_data.aset(_msg);
UI.aset.show();
break;
//case 'end':
//大局
//Public_data.end(_msg);
//UI.end.show();
//break;
case 'ready':
//准备
Public_data.ready(_msg);
UI.ready.show();
break;
case 'help_play':
//托管
Public_data.help_play(_msg);
UI.help_play.show();
break;
case 'jqrzb':
//机器人准备
Infinite.robot_ready(_msg.data.zbwj);
break;
case 'tichu':
switch (_msg.data.type){
case 1:
Utl.openTips("您的"+Utl.getstarName()+"不够,去其他房间看看吧!");
break;
case 2:
Utl.openTips("您因长时间未准备,已被系统请出房间");
break;
case 3:
Utl.openTips("有玩家"+Utl.getstarName()+"不够,本局结束!");
break;
}
break;
case 'gold_zb':
Infinite.robot_ready(_msg.data.zbwj);
for(var i= 0;i < Public_data.data.maxman;i++){
if (_msg.data.mp_zt[i] == 1 && _msg.data.zbwj[Utl.getMySeat()] == 0) {
set_self(1814,41,0,0,0);
set_self(1814,35,100,0,0);
break;
}
}
if (_msg.data.zbwj[Utl.getMySeat()] == 1) {
set_group(251,37,0,0,0);
set_group(201,37,0,0,0);
set_group(202,37,0,0,0);
set_group(203,37,0,0,0);
set_group(205,37,0,0,0);
set_group(210,37,0,0,0);
set_group(211,37,0,0,0);
set_self(1076,37,0,0,0);
set_self(1077,37,0,0,0);
set_self(1079,37,0,0,0);
set_self(1078,37,0,0,0);
clock(0);
mpbs(0);//明牌标识
}
break;
}
}