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

◆ SetDeveloperItemClientEx()

static void PluginBase::SetDeveloperItemClientEx ( notnull Object entity,
bool getFocus = false )
inlinestaticprivate

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

903 {
904 PlayerBase player = PlayerBase.Cast(GetGame().GetPlayer());
905
906 if (getFocus)
907 {
910 }
911
912 if (GetGame().IsMultiplayer())
913 {
914 GetGame().RPCSingleParam(GetGame().GetPlayer(), ERPCs.DEV_SET_DEV_ITEM, new Param1<Object>(entity), true, GetGame().GetPlayer().GetIdentity());
915 }
916 else
917 {
919 mid2.RegisterDebugItem(entity, player);
920 }
921 #ifdef DEVELOPER
922 SetDebugDeveloper_item(entity);
923 #endif
924 }
ERPCs
Определения ERPCs.c:2
PlayerBase GetPlayer()
Определения ModifierBase.c:51
void PluginItemDiagnostic()
Определения PluginItemDiagnostic.c:74
PluginBase GetPlugin(typename plugin_type)
Определения PluginManager.c:316
proto native UIManager GetUIManager()
proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
proto native Input GetInput()
proto native void ChangeGameFocus(int add, int input_device=-1)
Change game focus number.
void ShowUICursor(bool visible)
Определения UIManager.c:244
proto native CGame GetGame()

Перекрестные ссылки Input::ChangeGameFocus(), GetGame(), CGame::GetInput(), GetPlayer(), GetPlugin(), CGame::GetUIManager(), PluginItemDiagnostic(), CGame::RPCSingleParam() и UIManager::ShowUICursor().

Используется в SetDeveloperItemClient().