Cleanup: Removed unused variable
This commit is contained in:
parent
ed4a865011
commit
e2300d9a8b
1 changed files with 0 additions and 24 deletions
|
@ -12,29 +12,5 @@ namespace Mesen.GUI.Config
|
|||
public class PlayerProfile
|
||||
{
|
||||
public string PlayerName = "NewPlayer";
|
||||
|
||||
[NonSerialized]
|
||||
public byte[] PlayerAvatar;
|
||||
|
||||
public PlayerProfile()
|
||||
{
|
||||
//SetAvatar(Properties.Resources.MesenLogo);
|
||||
}
|
||||
/*
|
||||
|
||||
public void SetAvatar(Image image)
|
||||
{
|
||||
PlayerAvatar = image.ResizeImage(64, 64).ToByteArray(ImageFormat.Bmp);
|
||||
}
|
||||
|
||||
public void SetAvatar(string filename)
|
||||
{
|
||||
PlayerAvatar = File.ReadAllBytes(filename);
|
||||
}
|
||||
|
||||
public Image GetAvatarImage()
|
||||
{
|
||||
return Image.FromStream(new MemoryStream(PlayerAvatar));
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue