257 {
259
260 TSelectableActionInfoArrayEx customActions = new TSelectableActionInfoArrayEx();
261 entity.GetDebugActions(customActions);
262
263 int actionsCount = customActions.Count();
264 for (int i = 0; i < customActions.Count(); i++)
265 {
267 if (actionInfo)
268 {
269 int actionId = actionInfo.param2;
270 int textColor = actionInfo.param4;
271 string actionText = actionInfo.param3;
272
274 AddEx(actionText, textColor, null,
"", null);
275 else
276 AddEx(actionText, textColor, target,
"OnSelectAction",
new Param3<EntityAI, int, int>(entity, actionId, textColor));
277 }
278 }
279 }
Param4< int, int, string, int > TSelectableActionInfoWithColor