User Tools

Site Tools


arma3:config:iteminfo-error

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma3:config:iteminfo-error [2016-11-29 00:14] (current)
snakeman created iteminfo-error initial page.
Line 1: Line 1:
 +====== ArmA 3 Class ItemInfo Error ======
  
 +kju posted: in the past the engine did not check for these type of error. as they need it more strict for Eden, etc, they are enforcing the correct policy
 +
 +inheritance definitions need to be defined in the scope the class has originally been defined.
 +<code cpp>
 +class ItemInfo; // wrong
 +
 +class cfgWeapons
 +{
 + class ItemInfo; // wrong
 +
 + class Default
 + {
 + class ItemInfo; // wrong
 + };
 +
 + class ItemCore;
 + class ItemWatch: ItemCore
 + {
 + class ItemInfo; // correct
 + };
 +};
 +</​code>​
arma3/config/iteminfo-error.txt ยท Last modified: 2016-11-29 00:14 by snakeman