15 | /* Check for orange and red AI slots
| 15 | /* Check for orange and red AI slots */
|
---|
16 | IsValidAiID = false // AI slot is orange, and thus, "Configure"
| 16 | Company::IsValidAiID(selected_slot) = false // AI slot is orange, and thus, "Configure"
|
---|
17 | IsValidAiID = true // AI slot is either red or green, check IsDead
| 17 | Company::IsValidAiID(selected_slot) = true // AI slot is either red or green, check IsDead
|
---|
18 |
| 18 |
|
---|
19 | Company::Get(selected_slot)->ai_instance->IsDead() = true // AI slot is red, and thus, display the "Configure" button
| 19 | Company::Get(selected_slot)->ai_instance->IsDead() = true // AI slot is red, and thus, display the "Configure" button
|
---|
20 | Company::Get(selected_slot)->ai_instance->IsDead() = false // AI slot is green, and thus, display the "Settings" button | 20 | Company::Get(selected_slot)->ai_instance->IsDead() = false // AI slot is green, and thus, display the "Settings" button |
---|