static void CSheet(Assistant a, string handle) { var c = a.GetCharacter(handle); if (c != null) { WriteLine(c); } else { WriteLine("Character not found."); } }
static void SaveCharacter(Assistant a, string handle) { var c = a.GetCharacter(handle); if (c != null) { a.SaveCharacter((Character)c); } else { WriteLine("Character not found."); } }
static void CSheet(Assistant a) { string handle = Utilities.GetString("Enter the character's handle: "); var c = a.GetCharacter(handle); if (c != null) { WriteLine(c); } else { WriteLine("Character not found."); } }