Exemplo n.º 1
0
 static public BotEngine.EveOnline.Interface.MemoryStruct.Sprite AsOld(
     this ISprite sprite) =>
 sprite == null ? null : new BotEngine.EveOnline.Interface.MemoryStruct.Sprite(sprite.AsOldUIElement())
 {
     Color       = sprite.Color,
     HintText    = sprite.HintText,
     Texture0Id  = sprite.Texture0Id?.AsOld(),
     TexturePath = sprite.TexturePath,
     Name        = sprite.Name,
 };