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

◆ Actions_DoInternalCommand()

void Actions_DoInternalCommand ( int pCommandId)
protected

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

783 {
785 DayZPlayer player = DayZPlayer.Cast( GetGame().GetPlayer() );
786 if (!player)
787 {
788 return;
789 }
790
791 HumanCommandActionCallback clbk = player.GetCommand_Action();
792 if (!clbk)
793 {
794 clbk = player.GetCommandModifier_Action();
795 if (!clbk)
796 {
797 return;
798 }
799 }
800
801 clbk.InternalCommand(pCommandId);
802 }
PlayerBase GetPlayer()
Определения ModifierBase.c:51
proto native CGame GetGame()

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

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