1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| #pragma once
|
| namespace il2cpp
| {
| namespace vm
| {
| class LIBIL2CPP_CODEGEN_API Random
| {
| public:
| static bool Open();
| static void* Create();
| static void Free(void* handle);
|
| static bool TryGetBytes(void** handle, unsigned char *buffer, int buffer_size);
| static bool TryGetUnsignedInt32(void** handle, uint32_t *val, uint32_t min, uint32_t max);
| static uint32_t Next(void** handle, uint32_t min, uint32_t max);
| };
| } /* namespace vm */
| } /* namespace il2cpp */
|
|