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

◆ OptionalLocationReadFromContext()

bool OptionalLocationReadFromContext ( out InventoryLocation loc,
notnull ParamsReadContext ctx )

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

663{
664 bool present = false;
665 if (!ctx.Read(present))
666 {
667 Error("OptionalLocationReadFromContext - cannot read bool from context!");
668 return false;
669 }
670
671 if (!present)
672 return true;
673
674 loc = new InventoryLocation();
675 if (!loc.ReadFromContext(ctx))
676 {
677 Error("OptionalLocationReadFromContext - cannot read (present) inventorylocation from context!");
678 return false;
679 }
680 return true;
681}
InventoryLocation.
Определения InventoryLocation.c:29
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

Перекрестные ссылки Error().

Используется в CreateHandEventFromContext(), LoadCurrentFSMState(), WeaponStateBase::LoadCurrentFSMState() и HandEventRemove::ReadFromContext().