Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] ReadSocketBytes(int iSocketID, int NumBytesToRead) #1107

Open
PartTimeCode opened this issue Jun 30, 2023 · 0 comments
Open

[Request] ReadSocketBytes(int iSocketID, int NumBytesToRead) #1107

PartTimeCode opened this issue Jun 30, 2023 · 0 comments
Assignees
Labels
AGK-Core Issue is in the AGK core Feature request New feature or request

Comments

@PartTimeCode
Copy link

As the title says this function would be super useful for custom socket setups

unsigned char* cBytes = agk::ReadSocketBytes(int iSocketID, int NumBytesToRead)
it would also need accompanying memory accessor functions

int agk::ReadInt(unsigned char* cBytes )
float agk::ReadFloat(unsigned char* cBytes )
const char* agk::ReadString(unsigned char* cBytes )

How that would translate to Tier1 I dont know but I do know this small function set would have been fantastic for the code I have just written!

@VirtualNomad19 VirtualNomad19 added Feature request New feature or request AGK-Core Issue is in the AGK core labels Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AGK-Core Issue is in the AGK core Feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants