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

◆ OptionalLocationReadFromContext()

bool OptionalLocationReadFromContext ( out InventoryLocation loc,
notnull ParamsReadContext ctx )

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

733{
734 bool present = false;
735 if (!ctx.Read(present))
736 {
737 Error("OptionalLocationReadFromContext - cannot read bool from context!");
738 return false;
739 }
740
741 if (!present)
742 return true;
743
744 loc = new InventoryLocation();
745 if (!loc.ReadFromContext(ctx))
746 {
747 Error("OptionalLocationReadFromContext - cannot read (present) inventorylocation from context!");
748 return false;
749 }
750 return true;
751}
InventoryLocation.
Определения InventoryLocation.c:30
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

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

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