| 95 | return _CallID; |
| 96 | } |
| 97 | void CreateNewRequest(void* data, int size, int type, uint64_t call) |
| 98 | { |
| 99 | Thread.lock(); |
| 100 | // Create a new Callresult request with its callback stored. |
| 101 | CSteamAPIResult_t cres; |
| 102 | cres.Call = call; |
| 103 | cres.Type = type; |
| 104 | cres.Size = size; |
| 105 | cres.Data = data; |
| 106 | |
| 107 | // Save our filled "buffer" in our public vector |
| 108 | ResultsBuffer.push_back(cres); |
| 109 | Thread.unlock(); |
| 110 | } |
| 111 | const char* GetCallbackName(int32_t ID) |
| 112 | { |
| 113 | // You can add the names of the callbacks for debugging, but I believe is a bit redundant. |
no outgoing calls