| 44 | } |
| 45 | |
| 46 | int CountNestedClasses(const ParamEntry& entry) |
| 47 | { |
| 48 | const ParamClass* cls = entry.GetClassInterface(); |
| 49 | if (!cls) |
| 50 | { |
| 51 | return 0; |
| 52 | } |
| 53 | |
| 54 | int count = 0; |
| 55 | for (int i = 0; i < cls->GetEntryCount(); ++i) |
| 56 | { |
| 57 | const ParamEntry& child = cls->GetEntry(i); |
| 58 | if (!child.IsClass()) |
| 59 | { |
| 60 | continue; |
| 61 | } |
| 62 | |
| 63 | ++count; |
| 64 | count += CountNestedClasses(child); |
| 65 | } |
| 66 | |
| 67 | return count; |
| 68 | } |
| 69 | |
| 70 | bool HasPlayerAssignment(const ParamEntry& entry) |
| 71 | { |
no test coverage detected