MCPcopy Create free account
hub / github.com/Norbyte/bg3se / Register

Method Register

BG3Extender/Extender/Shared/ExtenderNet.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void MessageFactory::Register(uint32_t messageId, Message* tmpl)
32{
33 Grow(messageId);
34
35 auto pool = GameAlloc<MessagePool>();
36 pool->Template = tmpl;
37 MessagePools[messageId] = pool;
38}
39
40Message* MessagePool::GetFreeMessage()
41{

Callers 2

ExtendNetworkingMethod · 0.45
ExtendNetworkingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected