.bytes文件冲突,不处理
|
|
@ -302,7 +302,7 @@ function M:FG_OPEN_ISOPEN_CHATROOM(groupId, callback)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
--
|
-- 设置不允许成员可以查看聊天室
|
||||||
function M:FG_CLOSE_ISOPEN_CHATROOM(groupId, callback)
|
function M:FG_CLOSE_ISOPEN_CHATROOM(groupId, callback)
|
||||||
local _data = {}
|
local _data = {}
|
||||||
_data.groupId = groupId
|
_data.groupId = groupId
|
||||||
|
|
@ -312,6 +312,16 @@ function M:FG_CLOSE_ISOPEN_CHATROOM(groupId, callback)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- 拉取聊天室数据
|
||||||
|
function M:FG_ENTER_CHATROOM(groupId, callback)
|
||||||
|
local _data = {}
|
||||||
|
_data.groupId = groupId
|
||||||
|
_data.uid = DataManager.SelfUser.account_id
|
||||||
|
self._mgr_client:send(Protocol.FGMGR_EVT_ENTER_CHATROOM, _data, function(res)
|
||||||
|
callback(res)
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
|
||||||
-- 邀请在线玩家
|
-- 邀请在线玩家
|
||||||
function M:FG_InvitePlayer(group_id, tag, player_id, roomid, pid, game_name, callback)
|
function M:FG_InvitePlayer(group_id, tag, player_id, roomid, pid, game_name, callback)
|
||||||
local _data = {}
|
local _data = {}
|
||||||
|
|
|
||||||
|
|
@ -349,6 +349,8 @@ Protocol = {
|
||||||
WEB_FG_Witness_ROOM = "group/room/join_spectator",
|
WEB_FG_Witness_ROOM = "group/room/join_spectator",
|
||||||
-- 圈子退出观战房间
|
-- 圈子退出观战房间
|
||||||
WEB_FG_Exit_Witness_ROOM = "group/room/out_spectator",
|
WEB_FG_Exit_Witness_ROOM = "group/room/out_spectator",
|
||||||
|
-- 设置是否允许观战
|
||||||
|
WEB_FG_SET_CANWATCH = "group/set_group_guest",
|
||||||
|
|
||||||
-------------- group-mgr --------------------
|
-------------- group-mgr --------------------
|
||||||
-- 进入圈子
|
-- 进入圈子
|
||||||
|
|
@ -385,11 +387,10 @@ Protocol = {
|
||||||
FGMGR_EVT_OPEN_ISOPEN_CHATROOM = "13001",
|
FGMGR_EVT_OPEN_ISOPEN_CHATROOM = "13001",
|
||||||
-- 设置不允许成员查看聊天室
|
-- 设置不允许成员查看聊天室
|
||||||
FGMGR_EVT_CLOSE_ISOPEN_CHATROOM = "13002",
|
FGMGR_EVT_CLOSE_ISOPEN_CHATROOM = "13002",
|
||||||
|
|
||||||
-- 监听聊天室是否开启
|
-- 监听聊天室是否开启
|
||||||
FGMGR_EVT_ISOPEN_CHATROOM = "12011",
|
FGMGR_EVT_ISOPEN_CHATROOM = "12011",
|
||||||
-- 设置是否允许观战
|
-- 进入聊天室
|
||||||
WEB_FG_SET_CANWATCH = "set_group_guest",
|
FGMGR_EVT_ENTER_CHATROOM = "13004",
|
||||||
|
|
||||||
--end::::::::::::::牌友圈协议::::::::::::::::::::
|
--end::::::::::::::牌友圈协议::::::::::::::::::::
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,9 @@ function FamilyJoinAndCreate:init(root)
|
||||||
self.input_name = self._view:GetChild('input_name')
|
self.input_name = self._view:GetChild('input_name')
|
||||||
self.input_wxId = self._view:GetChild('input_wxId')
|
self.input_wxId = self._view:GetChild('input_wxId')
|
||||||
|
|
||||||
|
self.input_name.emojies = EmojiDitc.EmojiesDitc
|
||||||
|
self.input_wxId.emojies = EmojiDitc.EmojiesDitc
|
||||||
|
|
||||||
self._view:GetChild('btn_create').onClick:Add(function()
|
self._view:GetChild('btn_create').onClick:Add(function()
|
||||||
|
|
||||||
if self.style.selectedIndex ~= 1 then
|
if self.style.selectedIndex ~= 1 then
|
||||||
|
|
|
||||||
|
|
@ -223,6 +223,7 @@ function FamilyMyFamily:Init()
|
||||||
local curView = ViewManager.GetCurrenView()
|
local curView = ViewManager.GetCurrenView()
|
||||||
if curView.class == "FamilyMainView" then
|
if curView.class == "FamilyMainView" then
|
||||||
curView:OpenAllNumber(self.family)
|
curView:OpenAllNumber(self.family)
|
||||||
|
BaseWindow.DestroyAll()
|
||||||
else
|
else
|
||||||
local view = ViewManager.ChangeView(ViewManager.View_Family, function()
|
local view = ViewManager.ChangeView(ViewManager.View_Family, function()
|
||||||
view:OpenAllNumber(self.family)
|
view:OpenAllNumber(self.family)
|
||||||
|
|
|
||||||
|
|
@ -281,21 +281,10 @@ function M:BanFamily()
|
||||||
if res.ReturnCode ~= 0 then
|
if res.ReturnCode ~= 0 then
|
||||||
ViewUtil.ErrorTip(res.ReturnCode, "一键打样失败")
|
ViewUtil.ErrorTip(res.ReturnCode, "一键打样失败")
|
||||||
else
|
else
|
||||||
self._group.ban = not self._group.ban
|
|
||||||
self._view:GetController('familyBan').selectedIndex = self._group.ban and 1 or 0
|
self._view:GetController('familyBan').selectedIndex = self._group.ban and 1 or 0
|
||||||
self:RefalshMoreBtn()
|
self:RefalshMoreBtn()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
--[[
|
|
||||||
fgCtr:FG_UpdateGroupInfo(self._group.id, self._group.name, "", not self._group.ban, self._group.dissolve_opt,
|
|
||||||
self._group.kick_opt, self._group.apply, self._group.ban_chat1, self._group.ban_chat2, self._group.option, 0,
|
|
||||||
function(res)
|
|
||||||
if res.ReturnCode ~= 0 then
|
|
||||||
ViewUtil.ErrorTip(res.ReturnCode, "一键打样失败")
|
|
||||||
else
|
|
||||||
self._view:GetController('familyBan').selectedIndex = self._group.ban and 1 or 0
|
|
||||||
end
|
|
||||||
end)]]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:BanDeskmate()
|
function M:BanDeskmate()
|
||||||
|
|
@ -333,6 +322,13 @@ function M:ConnetFamilyRoom(fgCtr, id)
|
||||||
else
|
else
|
||||||
self:UpdateFamilyRoom(fgCtr, id)
|
self:UpdateFamilyRoom(fgCtr, id)
|
||||||
self._view:GetController('familyBan').selectedIndex = self._group.ban and 1 or 0
|
self._view:GetController('familyBan').selectedIndex = self._group.ban and 1 or 0
|
||||||
|
|
||||||
|
local mgr_ctr = ControllerManager.GetController(GroupMgrController)
|
||||||
|
mgr_ctr:FG_ENTER_CHATROOM(self._group.id, function(res)
|
||||||
|
print("拉取到聊天室数据")
|
||||||
|
pt(res)
|
||||||
|
end)
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,9 @@ function Main()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function()
|
||||||
EmojiLuaHelper.Init()
|
EmojiLuaHelper.Init()
|
||||||
|
end)
|
||||||
|
|
||||||
--PlayerPrefs.DeleteKey('session_id')
|
--PlayerPrefs.DeleteKey('session_id')
|
||||||
Application.targetFrameRate = 60
|
Application.targetFrameRate = 60
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<controller name="numberRecordRank" pages="0,,1,,3," selected="0"/>
|
<controller name="numberRecordRank" pages="0,,1,,3," selected="0"/>
|
||||||
<controller name="numberRecord" pages="0,,1,,3," selected="0"/>
|
<controller name="numberRecord" pages="0,,1,,3," selected="0"/>
|
||||||
<controller name="showChooseTime" pages="0,,1," selected="0"/>
|
<controller name="showChooseTime" pages="0,,1," selected="0"/>
|
||||||
<controller name="lev" pages="0,1,1,2,2,3" selected="1"/>
|
<controller name="lev" pages="0,1,1,2,2,3" selected="0"/>
|
||||||
<controller name="moreBtn" pages="0,,1," selected="0"/>
|
<controller name="moreBtn" pages="0,,1," selected="0"/>
|
||||||
<controller name="familyBan" pages="0,,1," selected="0"/>
|
<controller name="familyBan" pages="0,,1," selected="0"/>
|
||||||
<controller name="cMyfamilyList" pages="0,,1," selected="0"/>
|
<controller name="cMyfamilyList" pages="0,,1," selected="0"/>
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
<gearDisplay controller="cIsChatRoom" pages="1"/>
|
<gearDisplay controller="cIsChatRoom" pages="1"/>
|
||||||
<relation target="" sidePair="width-width,height-height"/>
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
</component>
|
</component>
|
||||||
<group id="n34_86ct" name="main" xy="0,0" size="2532,1170" advanced="true">
|
<group id="n34_86ct" name="main" xy="1,0" size="2532,1170" advanced="true">
|
||||||
<gearDisplay controller="familyType" pages="0"/>
|
<gearDisplay controller="familyType" pages="0"/>
|
||||||
</group>
|
</group>
|
||||||
<image id="n392_f1fu" name="n392" src="yk1o7d3p" fileName="Main/Image/hall_club_common_tittle_icon1.png" xy="967,24" group="n395_f1fu">
|
<image id="n392_f1fu" name="n392" src="yk1o7d3p" fileName="Main/Image/hall_club_common_tittle_icon1.png" xy="967,24" group="n395_f1fu">
|
||||||
|
|
@ -195,6 +195,6 @@
|
||||||
<group id="n386_yk1o" name="n386" xy="0,0" size="2532,1170" advanced="true">
|
<group id="n386_yk1o" name="n386" xy="0,0" size="2532,1170" advanced="true">
|
||||||
<gearDisplay controller="cMyfamilyList" pages="1"/>
|
<gearDisplay controller="cMyfamilyList" pages="1"/>
|
||||||
</group>
|
</group>
|
||||||
<text id="n396_sntq" name="n396" xy="621,101" size="1347,59" fontSize="30" autoSize="none" text="我是1.0.9我是1.0.9我是1.0.9我是1.0.9我是1.0.9我是1.0.9我是1.0.9我是1.0.9我是1.0.9我是1.0.9我是1.0.9我是1.0.9我是1.0.9"/>
|
<text id="n396_sntq" name="n396" xy="621,101" size="1347,59" fontSize="30" autoSize="none" text="我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8我是1.0.8"/>
|
||||||
</displayList>
|
</displayList>
|
||||||
</component>
|
</component>
|
||||||
|
|
@ -4,14 +4,14 @@
|
||||||
<displayList>
|
<displayList>
|
||||||
<graph id="n16_jrro" name="n16" xy="0,0" size="96,84" type="rect" lineSize="0" fillColor="#ffd9d9d9"/>
|
<graph id="n16_jrro" name="n16" xy="0,0" size="96,84" type="rect" lineSize="0" fillColor="#ffd9d9d9"/>
|
||||||
<component id="n14_jrro" name="btn_head" src="86ct7cwk" fileName="Main/Component/btn_head.xml" xy="0,0" size="96,84"/>
|
<component id="n14_jrro" name="btn_head" src="86ct7cwk" fileName="Main/Component/btn_head.xml" xy="0,0" size="96,84"/>
|
||||||
<richtext id="n17_jrro" name="title" xy="114,-3" size="208,49" font="ui://27vd145bh35o7ik0" fontSize="36" color="#ad3c3a" align="center" autoSize="shrink" bold="true" text="超长的名字"/>
|
<richtext id="n17_jrro" name="title" xy="111,-3" size="208,49" font="ui://27vd145bh35o7ik0" fontSize="36" color="#ad3c3a" autoSize="shrink" bold="true" text="超长的名字"/>
|
||||||
<image id="n18_jrro" name="n18" src="jrro7cyq" fileName="Main/Image/image_inGame.png" xy="114,48">
|
<image id="n18_jrro" name="n18" src="jrro7cyq" fileName="Main/Image/image_inGame.png" xy="114,48">
|
||||||
<gearDisplay controller="type" pages="3"/>
|
<gearDisplay controller="type" pages="3"/>
|
||||||
</image>
|
</image>
|
||||||
<image id="n19_jrro" name="n19" src="jrro7cyr" fileName="Main/Image/image_levef.png" xy="128,48" size="98,33">
|
<image id="n19_jrro" name="n19" src="jrro7cyr" fileName="Main/Image/image_levef.png" xy="114,48" size="122,30">
|
||||||
<gearDisplay controller="type" pages="0"/>
|
<gearDisplay controller="type" pages="0"/>
|
||||||
</image>
|
</image>
|
||||||
<image id="n20_jrro" name="n20" src="jrro7cys" fileName="Main/Image/image_online.png" xy="130,48">
|
<image id="n20_jrro" name="n20" src="jrro7cys" fileName="Main/Image/image_online.png" xy="114,48" size="122,30">
|
||||||
<gearDisplay controller="type" pages="1"/>
|
<gearDisplay controller="type" pages="1"/>
|
||||||
</image>
|
</image>
|
||||||
</displayList>
|
</displayList>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 5.3 MiB |
|
Before Width: | Height: | Size: 667 KiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 3.4 MiB |
|
Before Width: | Height: | Size: 4.4 MiB After Width: | Height: | Size: 4.4 MiB |
|
Before Width: | Height: | Size: 831 KiB After Width: | Height: | Size: 482 KiB |
|
Before Width: | Height: | Size: 424 KiB After Width: | Height: | Size: 789 KiB |
|
|
@ -88,5 +88,5 @@ TextureImporter:
|
||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
pSDShowRemoveMatteOption: 0
|
pSDShowRemoveMatteOption: 0
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: base/lobby/4a425335ab0e1c246f741e6da62b244f
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|
|
||||||
|
|
@ -27,5 +27,5 @@ TrueTypeFontImporter:
|
||||||
useLegacyBoundsCalculation: 0
|
useLegacyBoundsCalculation: 0
|
||||||
shouldRoundAdvanceValue: 1
|
shouldRoundAdvanceValue: 1
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: base/static/108c414d6db00284737c5a213639e94b
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|
|
||||||
|
|
@ -28,5 +28,5 @@ TrueTypeFontImporter:
|
||||||
useLegacyBoundsCalculation: 0
|
useLegacyBoundsCalculation: 0
|
||||||
shouldRoundAdvanceValue: 1
|
shouldRoundAdvanceValue: 1
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: base/static/42868b9537c20e8e91defc08808329a2
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|
|
||||||
|
|
@ -19,5 +19,5 @@ TrueTypeFontImporter:
|
||||||
useLegacyBoundsCalculation: 0
|
useLegacyBoundsCalculation: 0
|
||||||
shouldRoundAdvanceValue: 1
|
shouldRoundAdvanceValue: 1
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: base/static/55df2a9ecf16068215e56b7ae363f6c0
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|
|
||||||
|
|
@ -20,5 +20,5 @@ TrueTypeFontImporter:
|
||||||
useLegacyBoundsCalculation: 0
|
useLegacyBoundsCalculation: 0
|
||||||
shouldRoundAdvanceValue: 1
|
shouldRoundAdvanceValue: 1
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: base/static/9fe13c3573d8955a481c677c2c3f49de
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|
|
||||||
|
|
@ -21,5 +21,5 @@ TrueTypeFontImporter:
|
||||||
useLegacyBoundsCalculation: 0
|
useLegacyBoundsCalculation: 0
|
||||||
shouldRoundAdvanceValue: 1
|
shouldRoundAdvanceValue: 1
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: base/static/642ccc84db09eac2c5fa32b1354612ac
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|
|
||||||
|
|
@ -23,5 +23,5 @@ TrueTypeFontImporter:
|
||||||
useLegacyBoundsCalculation: 0
|
useLegacyBoundsCalculation: 0
|
||||||
shouldRoundAdvanceValue: 1
|
shouldRoundAdvanceValue: 1
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: base/static/aa3b15df09925e46083a2fd061c517bf
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|
|
||||||
|
|
@ -25,5 +25,5 @@ TrueTypeFontImporter:
|
||||||
useLegacyBoundsCalculation: 0
|
useLegacyBoundsCalculation: 0
|
||||||
shouldRoundAdvanceValue: 1
|
shouldRoundAdvanceValue: 1
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: base/static/8f609b04db628f0adab4063f607dac24
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|
|
||||||
|
|
@ -26,5 +26,5 @@ TrueTypeFontImporter:
|
||||||
useLegacyBoundsCalculation: 0
|
useLegacyBoundsCalculation: 0
|
||||||
shouldRoundAdvanceValue: 1
|
shouldRoundAdvanceValue: 1
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: base/static/fa510d9be06d7bf4fc6ee3265b1cfaa7
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,11 @@ public static class ToLuaExport
|
||||||
"KeyValuePair.Deconstruct",
|
"KeyValuePair.Deconstruct",
|
||||||
"ParticleSystem.SetJob",
|
"ParticleSystem.SetJob",
|
||||||
"ParticleSystem.subEmitters", /*2019.09 ios编译出错,也可能是unity版本问题*/
|
"ParticleSystem.subEmitters", /*2019.09 ios编译出错,也可能是unity版本问题*/
|
||||||
"Type.IsSZArray"
|
"Type.IsSZArray",
|
||||||
|
//Editor
|
||||||
|
"MeshRenderer.scaleInLightmap",
|
||||||
|
"MeshRenderer.stitchLightmapSeams",
|
||||||
|
"MeshRenderer.receiveGI",
|
||||||
};
|
};
|
||||||
|
|
||||||
class _MethodBase
|
class _MethodBase
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ using System.IO;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using FairyGUI;
|
using FairyGUI;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
public static class EmojiTool
|
public static class EmojiTool
|
||||||
{
|
{
|
||||||
|
|
@ -45,7 +46,9 @@ public static class EmojiTool
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
//GameObject go;
|
||||||
|
//MeshRenderer m;
|
||||||
|
//var l = m.scaleInLightmap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,6 @@ public class UnityEngine_MeshRendererWrap
|
||||||
L.RegFunction("__tostring", ToLua.op_ToString);
|
L.RegFunction("__tostring", ToLua.op_ToString);
|
||||||
L.RegVar("additionalVertexStreams", get_additionalVertexStreams, set_additionalVertexStreams);
|
L.RegVar("additionalVertexStreams", get_additionalVertexStreams, set_additionalVertexStreams);
|
||||||
L.RegVar("subMeshStartIndex", get_subMeshStartIndex, null);
|
L.RegVar("subMeshStartIndex", get_subMeshStartIndex, null);
|
||||||
L.RegVar("scaleInLightmap", get_scaleInLightmap, set_scaleInLightmap);
|
|
||||||
L.RegVar("receiveGI", get_receiveGI, set_receiveGI);
|
|
||||||
L.RegVar("stitchLightmapSeams", get_stitchLightmapSeams, set_stitchLightmapSeams);
|
|
||||||
L.EndClass();
|
L.EndClass();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -98,63 +95,6 @@ public class UnityEngine_MeshRendererWrap
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int get_scaleInLightmap(IntPtr L)
|
|
||||||
{
|
|
||||||
object o = null;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
o = ToLua.ToObject(L, 1);
|
|
||||||
UnityEngine.MeshRenderer obj = (UnityEngine.MeshRenderer)o;
|
|
||||||
float ret = obj.scaleInLightmap;
|
|
||||||
LuaDLL.lua_pushnumber(L, ret);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
catch(Exception e)
|
|
||||||
{
|
|
||||||
return LuaDLL.toluaL_exception(L, e, o, "attempt to index scaleInLightmap on a nil value");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int get_receiveGI(IntPtr L)
|
|
||||||
{
|
|
||||||
object o = null;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
o = ToLua.ToObject(L, 1);
|
|
||||||
UnityEngine.MeshRenderer obj = (UnityEngine.MeshRenderer)o;
|
|
||||||
UnityEngine.ReceiveGI ret = obj.receiveGI;
|
|
||||||
ToLua.Push(L, ret);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
catch(Exception e)
|
|
||||||
{
|
|
||||||
return LuaDLL.toluaL_exception(L, e, o, "attempt to index receiveGI on a nil value");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int get_stitchLightmapSeams(IntPtr L)
|
|
||||||
{
|
|
||||||
object o = null;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
o = ToLua.ToObject(L, 1);
|
|
||||||
UnityEngine.MeshRenderer obj = (UnityEngine.MeshRenderer)o;
|
|
||||||
bool ret = obj.stitchLightmapSeams;
|
|
||||||
LuaDLL.lua_pushboolean(L, ret);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
catch(Exception e)
|
|
||||||
{
|
|
||||||
return LuaDLL.toluaL_exception(L, e, o, "attempt to index stitchLightmapSeams on a nil value");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int set_additionalVertexStreams(IntPtr L)
|
static int set_additionalVertexStreams(IntPtr L)
|
||||||
{
|
{
|
||||||
|
|
@ -173,62 +113,5 @@ public class UnityEngine_MeshRendererWrap
|
||||||
return LuaDLL.toluaL_exception(L, e, o, "attempt to index additionalVertexStreams on a nil value");
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index additionalVertexStreams on a nil value");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int set_scaleInLightmap(IntPtr L)
|
|
||||||
{
|
|
||||||
object o = null;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
o = ToLua.ToObject(L, 1);
|
|
||||||
UnityEngine.MeshRenderer obj = (UnityEngine.MeshRenderer)o;
|
|
||||||
float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
|
|
||||||
obj.scaleInLightmap = arg0;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
catch(Exception e)
|
|
||||||
{
|
|
||||||
return LuaDLL.toluaL_exception(L, e, o, "attempt to index scaleInLightmap on a nil value");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int set_receiveGI(IntPtr L)
|
|
||||||
{
|
|
||||||
object o = null;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
o = ToLua.ToObject(L, 1);
|
|
||||||
UnityEngine.MeshRenderer obj = (UnityEngine.MeshRenderer)o;
|
|
||||||
UnityEngine.ReceiveGI arg0 = (UnityEngine.ReceiveGI)ToLua.CheckObject(L, 2, typeof(UnityEngine.ReceiveGI));
|
|
||||||
obj.receiveGI = arg0;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
catch(Exception e)
|
|
||||||
{
|
|
||||||
return LuaDLL.toluaL_exception(L, e, o, "attempt to index receiveGI on a nil value");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int set_stitchLightmapSeams(IntPtr L)
|
|
||||||
{
|
|
||||||
object o = null;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
o = ToLua.ToObject(L, 1);
|
|
||||||
UnityEngine.MeshRenderer obj = (UnityEngine.MeshRenderer)o;
|
|
||||||
bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
|
|
||||||
obj.stitchLightmapSeams = arg0;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
catch(Exception e)
|
|
||||||
{
|
|
||||||
return LuaDLL.toluaL_exception(L, e, o, "attempt to index stitchLightmapSeams on a nil value");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,109 +1,109 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"lua_path": "/tolua_project,/base_project,/main_project",
|
"lua_path": "/tolua_project,/base_project,/main_project",
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "base_script",
|
"name": "base_script",
|
||||||
"check": true,
|
"check": true,
|
||||||
"bundle": "base/base_script",
|
"bundle": "base/base_script",
|
||||||
"version": "1.0.6"
|
"version": "1.0.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "common",
|
"name": "common",
|
||||||
"check": true,
|
"check": true,
|
||||||
"bundle": "base/common",
|
"bundle": "base/common",
|
||||||
"version": "1.0.6"
|
"version": "1.0.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "login",
|
"name": "login",
|
||||||
"check": true,
|
"check": true,
|
||||||
"bundle": "base/login",
|
"bundle": "base/login",
|
||||||
"version": "1.0.6"
|
"version": "1.0.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "lobby",
|
"name": "lobby",
|
||||||
"check": true,
|
"check": true,
|
||||||
"bundle": "base/lobby",
|
"bundle": "base/lobby",
|
||||||
"version": "1.0.6"
|
"version": "1.0.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "Family",
|
"name": "Family",
|
||||||
"check": true,
|
"check": true,
|
||||||
"bundle": "base/Family",
|
"bundle": "base/Family",
|
||||||
"version": "1.0.6"
|
"version": "1.0.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "chat",
|
"name": "chat",
|
||||||
"check": true,
|
"check": true,
|
||||||
"bundle": "base/chat",
|
"bundle": "base/chat",
|
||||||
"version": "1.0.6"
|
"version": "1.0.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "newgroup",
|
"name": "newgroup",
|
||||||
"check": true,
|
"check": true,
|
||||||
"bundle": "base/newgroup",
|
"bundle": "base/newgroup",
|
||||||
"version": "1.0.6"
|
"version": "1.0.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "rank",
|
"name": "rank",
|
||||||
"check": true,
|
"check": true,
|
||||||
"version": "1.0.6",
|
"version": "1.0.8",
|
||||||
"bundle": "base/rank"
|
"bundle": "base/rank"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "main_majiang",
|
"name": "main_majiang",
|
||||||
"check": true,
|
"check": true,
|
||||||
"version": "1.0.6",
|
"version": "1.0.8",
|
||||||
"bundle": "base/main_majiang"
|
"bundle": "base/main_majiang"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "main_poker",
|
"name": "main_poker",
|
||||||
"check": true,
|
"check": true,
|
||||||
"version": "1.0.6",
|
"version": "1.0.8",
|
||||||
"bundle": "base/main_poker"
|
"bundle": "base/main_poker"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "main_zipai",
|
"name": "main_zipai",
|
||||||
"check": true,
|
"check": true,
|
||||||
"version": "1.0.6",
|
"version": "1.0.8",
|
||||||
"bundle": "base/main_zipai"
|
"bundle": "base/main_zipai"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "static",
|
"name": "static",
|
||||||
"check": true,
|
"check": true,
|
||||||
"bundle": "base/static",
|
"bundle": "base/static",
|
||||||
"version": "1.0.6"
|
"version": "1.0.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"is_res": true,
|
"is_res": true,
|
||||||
"name": "embed",
|
"name": "embed",
|
||||||
"check": true,
|
"check": true,
|
||||||
"bundle": "base/embed",
|
"bundle": "base/embed",
|
||||||
"version": "1.0.6"
|
"version": "1.0.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "main_pokemajiang",
|
"name": "main_pokemajiang",
|
||||||
"check": true,
|
"check": true,
|
||||||
"version": "1.0.6",
|
"version": "1.0.8",
|
||||||
"bundle": "base/main_pokemajiang"
|
"bundle": "base/main_pokemajiang"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ver": "1.0.6",
|
"ver": "1.0.8",
|
||||||
"name": "main_zipaimajiang",
|
"name": "main_zipaimajiang",
|
||||||
"check": true,
|
"check": true,
|
||||||
"version": "1.0.6",
|
"version": "1.0.8",
|
||||||
"bundle": "base/main_zipaimajiang"
|
"bundle": "base/main_zipaimajiang"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||