(RealStatePtr L)
| 1032 | } |
| 1033 | |
| 1034 | [MonoPInvokeCallback(typeof(LuaCSFunction))] |
| 1035 | public static int XLuaPrivateAccessible(RealStatePtr L) |
| 1036 | { |
| 1037 | try |
| 1038 | { |
| 1039 | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| 1040 | Type type = getType(L, translator, 1); ; |
| 1041 | if (type == null) |
| 1042 | { |
| 1043 | return LuaAPI.luaL_error(L, "xlua.private_accessible, can not find c# type"); |
| 1044 | } |
| 1045 | |
| 1046 | while(type != null) |
| 1047 | { |
| 1048 | translator.PrivateAccessible(L, type); |
| 1049 | type = type.BaseType(); |
| 1050 | } |
| 1051 | return 0; |
| 1052 | } |
| 1053 | catch (Exception e) |
| 1054 | { |
| 1055 | return LuaAPI.luaL_error(L, "c# exception in xlua.private_accessible: " + e); |
| 1056 | } |
| 1057 | } |
| 1058 | |
| 1059 | [MonoPInvokeCallback(typeof(LuaCSFunction))] |
| 1060 | public static int XLuaMetatableOperation(RealStatePtr L) |
nothing calls this directly
no test coverage detected