MCPcopy Create free account
hub / github.com/Norbyte/ositools / SendSyncStory

Method SendSyncStory

OsiInterface/DebugMessages.cpp:252–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250 }
251
252 void DebugMessageHandler::SendSyncStory(Goal * goal)
253 {
254 BackendToDebugger msg;
255 auto sync = msg.mutable_syncstorydata();
256 auto goalInfo = sync->add_goal();
257 goalInfo->set_id(goal->Id);
258 goalInfo->set_name(goal->Name);
259 AddActionInfo(goal->InitCalls, [goalInfo]() -> MsgActionInfo * { return goalInfo->add_initactions(); });
260 AddActionInfo(goal->ExitCalls, [goalInfo]() -> MsgActionInfo * { return goalInfo->add_exitactions(); });
261 Send(msg);
262 Debug(" <-- BkSyncStoryData(Goal #%d)", goal->Id);
263 }
264
265 void DebugMessageHandler::SendSyncStory(Database ** databases, uint32_t count)
266 {

Callers 1

SyncStoryMethod · 0.80

Calls 5

AddActionInfoFunction · 0.85
DebugFunction · 0.85
DatabaseIdMethod · 0.80
NumParamsMethod · 0.80
GetTypeMethod · 0.45

Tested by

no test coverage detected