示例#1
0
 public void LoadSlaveMaker(string path)
 {
     try
     {
         FileStream    stream        = new FileStream(Path.Combine(path, "SlaveMaker.xml"), FileMode.Open);
         XmlSerializer xmlSerializer = new XmlSerializer(typeof(SM4SlaveMaker));
         slaveMaker = xmlSerializer.Deserialize(stream) as SM4SlaveMaker;
         stream.Close();
     }
     catch
     {
         ErrorLogger.LogErrorInFile("Error in SlaveContainer Load with " + path.ToString() + "/SlaveMaker.xml");
     }
     finally
     {
     }
 }
示例#2
0
 private void Start()
 {
     sm = SM4SlaveMakerControler.instance.slaveMaker;
     smAvatarUpdate();
 }
示例#3
0
 public void SaveToAutosave(SM4SlaveMaker slaveMaker)
 {
 }