Release 0.20
							parent
							
								
									a0edda1fdd
								
							
						
					
					
						commit
						41b3bd77d9
					
				| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
#ifndef ABSTRACTBYTEBUFFER_HPP_INCLUDED
 | 
			
		||||
#define ABSTRACTBYTEBUFFER_HPP_INCLUDED
 | 
			
		||||
 | 
			
		||||
#include "../JavaClass/Object.hpp"
 | 
			
		||||
#include "../JavaClass/Class.hpp"
 | 
			
		||||
 | 
			
		||||
namespace Internal
 | 
			
		||||
{
 | 
			
		||||
    class AbstractByteBuffer : public Object
 | 
			
		||||
    {
 | 
			
		||||
        public:
 | 
			
		||||
            AbstractByteBuffer();
 | 
			
		||||
            AbstractByteBuffer(const void* Obj);
 | 
			
		||||
            AbstractByteBuffer(const AbstractByteBuffer& A);
 | 
			
		||||
            static Class GetClass();
 | 
			
		||||
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // ABSTRACTBYTEBUFFER_HPP_INCLUDED
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,23 @@
 | 
			
		|||
#ifndef DIRECTBYTEBUFFER_HPP_INCLUDED
 | 
			
		||||
#define DIRECTBYTEBUFFER_HPP_INCLUDED
 | 
			
		||||
 | 
			
		||||
#include "AbstractByteBuffer.hpp"
 | 
			
		||||
#include "../JavaClass/Class.hpp"
 | 
			
		||||
#include "../JavaClass/ByteBuffer.hpp"
 | 
			
		||||
 | 
			
		||||
namespace Internal
 | 
			
		||||
{
 | 
			
		||||
    class DirectByteBuffer : public AbstractByteBuffer
 | 
			
		||||
    {
 | 
			
		||||
        public:
 | 
			
		||||
            DirectByteBuffer();
 | 
			
		||||
            DirectByteBuffer(const void* Obj);
 | 
			
		||||
            DirectByteBuffer(const DirectByteBuffer& D);
 | 
			
		||||
            static Class GetClass();
 | 
			
		||||
 | 
			
		||||
            ByteBuffer GetBuffer() const;
 | 
			
		||||
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // DIRECTBYTEBUFFER_HPP_INCLUDED
 | 
			
		||||
| 
						 | 
				
			
			@ -18,6 +18,7 @@
 | 
			
		|||
#include "Types/Area.hpp"
 | 
			
		||||
#include "Types/Logger.hpp"
 | 
			
		||||
 | 
			
		||||
#include "JavaClass/ByteBuffer.hpp"
 | 
			
		||||
#include "JavaClass/Canvas.hpp"
 | 
			
		||||
#include "JavaClass/FocusEvent.hpp"
 | 
			
		||||
#include "JavaClass/Integer.hpp"
 | 
			
		||||
| 
						 | 
				
			
			@ -28,6 +29,7 @@
 | 
			
		|||
#include "JavaClass/MouseWheelEvent.hpp"
 | 
			
		||||
#include "JavaClass/Object.hpp"
 | 
			
		||||
 | 
			
		||||
#include "Classes/AbstractByteBuffer.hpp"
 | 
			
		||||
#include "Classes/Animation.hpp"
 | 
			
		||||
#include "Classes/AttackOption.hpp"
 | 
			
		||||
#include "Classes/Cache.hpp"
 | 
			
		||||
| 
						 | 
				
			
			@ -38,6 +40,7 @@
 | 
			
		|||
#include "Classes/ClanMemberList.hpp"
 | 
			
		||||
#include "Classes/DecorativeObject.hpp"
 | 
			
		||||
#include "Classes/Deque.hpp"
 | 
			
		||||
#include "Classes/DirectByteBuffer.hpp"
 | 
			
		||||
#include "Classes/DynamicObject.hpp"
 | 
			
		||||
#include "Classes/ExchangeOffer.hpp"
 | 
			
		||||
#include "Classes/Frame.hpp"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
#ifndef BYTEBUFFER_HPP_INCLUDED
 | 
			
		||||
#define BYTEBUFFER_HPP_INCLUDED
 | 
			
		||||
 | 
			
		||||
#include "Object.hpp"
 | 
			
		||||
#include <cstdint>
 | 
			
		||||
 | 
			
		||||
class ByteBuffer : public Object
 | 
			
		||||
{
 | 
			
		||||
    public:
 | 
			
		||||
        ByteBuffer();
 | 
			
		||||
        ByteBuffer(void* Obj);
 | 
			
		||||
        ByteBuffer(const ByteBuffer& B);
 | 
			
		||||
 | 
			
		||||
        std::int32_t GetCapacity() const;
 | 
			
		||||
        std::int8_t Get(std::int32_t Index) const; // still need to implement.
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#endif // BYTEBUFFER_HPP_INCLUDED
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in New Issue