public static int GetBornChannelIdFromUserId_s(IntPtr l) { int result; try { string userId; LuaObject.checkType(l, 1, out userId); int bornChannelIdFromUserId = RoleGenerator.GetBornChannelIdFromUserId(userId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, bornChannelIdFromUserId); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }