diff options
author | syeyoung <cyong06@naver.com> | 2021-08-09 12:33:09 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-08-09 12:33:09 +0900 |
commit | 022c88fb253fc2bb66204742aa1603ec613c54c5 (patch) | |
tree | b0a426caeece62a367adb29751ff178dd318bae7 /src/main/java/kr/syeyoung/dungeonsguide/gamesdk | |
parent | e2fb6d14de683c06325b1667df3370839cb3815d (diff) | |
download | Skyblock-Dungeons-Guide-022c88fb253fc2bb66204742aa1603ec613c54c5.tar.gz Skyblock-Dungeons-Guide-022c88fb253fc2bb66204742aa1603ec613c54c5.tar.bz2 Skyblock-Dungeons-Guide-022c88fb253fc2bb66204742aa1603ec613c54c5.zip |
Byte Buffers
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/gamesdk')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/gamesdk/jna/interfacestruct/IDiscordImageManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/gamesdk/jna/interfacestruct/IDiscordImageManager.java b/src/main/java/kr/syeyoung/dungeonsguide/gamesdk/jna/interfacestruct/IDiscordImageManager.java index 5601f41b..7c42ea33 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/gamesdk/jna/interfacestruct/IDiscordImageManager.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/gamesdk/jna/interfacestruct/IDiscordImageManager.java @@ -28,6 +28,7 @@ import kr.syeyoung.dungeonsguide.gamesdk.jna.datastruct.DiscordImageDimensions; import kr.syeyoung.dungeonsguide.gamesdk.jna.typedef.UInt32; import kr.syeyoung.dungeonsguide.gamesdk.jna.datastruct.DiscordImageHandle; +import java.nio.ByteBuffer; import java.util.Arrays; import java.util.List; @@ -41,7 +42,7 @@ public class IDiscordImageManager extends DiscordStruct { public IDiscordImageMa public interface GetDimensionsCallback extends GameSDKCallback { EDiscordResult getDimensions(IDiscordImageManager manager, DiscordImageHandle.ByValue handle, DiscordImageDimensions dimensions); } public GetDimensionsCallback GetDimensions; - public interface GetDataCallback extends GameSDKCallback { EDiscordResult getData(IDiscordImageManager manager, DiscordImageHandle.ByValue handle, ByteByReference data, UInt32 dataLength); } + public interface GetDataCallback extends GameSDKCallback { EDiscordResult getData(IDiscordImageManager manager, DiscordImageHandle.ByValue handle, ByteBuffer data, UInt32 dataLength); } public GetDataCallback GetData; |