DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnHandleStoredInputUserData()

void OnHandleStoredInputUserData ( ParamsReadContext ctx)
protected

Juncture is only ever Server Req->Client Ack and Perform->Server Perform, never remote

См. определение в файле DayZPlayerInventory.c строка 722

723 {
724 int tmp = -1;
725 ctx.Read(tmp);
726
727#ifdef ENABLE_LOGGING
729 {
730 syncDebugPrint("[syncinv] " + Object.GetDebugName(GetDayZPlayerOwner()) + " handle InputUserData packet STS = " + GetDayZPlayerOwner().GetSimulationTimeStamp());
731 }
732#endif
734#ifdef DIAG_DEVELOPER
735 if (PluginInventoryDebug.Cast(GetPlugin(PluginInventoryDebug)).IsOldProcessInputDataEnable())
736 {
737 ProcessInputData(ctx, false, false);
738 }
739 else
740 {
741#endif
742 if(g_Game.IsServer())
743 {
745 }
746 else
747 {
748 Error("OnHandleStoredInputUserData - Client");
749 }
750#ifdef DIAG_DEVELOPER
751 }
752#endif
753 }
void syncDebugPrint(string s)
DayZGame g_Game
Определения DayZGame.c:4074
bool ProcessInputData(ParamsReadContext ctx, bool isJuncture, bool isRemote)
Определения DayZPlayerInventory.c:3319
bool ValidateInventoryCommandServer(ParamsReadContext ctx)
Определения DayZPlayerInventory.c:3410
DayZPlayer GetDayZPlayerOwner()
Определения DayZPlayerInventory.c:170
PluginBase GetPlugin(typename plugin_type)
Определения PluginManager.c:326
static bool IsSyncLogEnable()
Определения 3_Game/DayZ/tools/Debug.c:789
Определения ObjectTyped.c:2
proto bool Read(void value_in)
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

Перекрестные ссылки Error(), g_Game, GetDayZPlayerOwner(), GetPlugin(), LogManager::IsSyncLogEnable(), ProcessInputData(), Serializer::Read(), syncDebugPrint() и ValidateInventoryCommandServer().