Beispiel #1
0
 private GameAttributeValue GetAttributeValue(GameAttribute attribute, int?key)
 {
     if (attribute.ScriptFunc != null)
     {
         return(attribute.ScriptFunc(this, key));
     }
     else
     {
         return(RawGetAttributeValue(attribute, key));
     }
 }