static int OnGameBegin(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); GameMatch_Practice1V1 obj = (GameMatch_Practice1V1)LuaScriptMgr.GetNetObjectSelf(L, 1, "GameMatch_Practice1V1"); fogs.proto.msg.GameBeginResp arg0 = (fogs.proto.msg.GameBeginResp)LuaScriptMgr.GetNetObject(L, 2, typeof(fogs.proto.msg.GameBeginResp)); obj.OnGameBegin(arg0); return(0); }