Пример #1
0
        internal static DataTask _create(Config.Stream os)
        {
            var self = new DataTask();

            self.Taskid            = os.ReadInt32();
            self.Name              = os.ReadString();
            self.Desc              = os.ReadString();
            self.Nexttask          = os.ReadInt32();
            self.Completecondition = Config.Task.DataCompletecondition._create(os);
            self.Exp = os.ReadInt32();
            return(self);
        }
Пример #2
0
 internal static DataTask _create(Config.Stream os)
 {
     var self = new DataTask();
     self.Taskid = os.ReadInt32();
     self.Name = os.ReadString();
     self.Desc = os.ReadString();
     self.Nexttask = os.ReadInt32();
     self.Completecondition = Config.Task.DataCompletecondition._create(os);
     self.Exp = os.ReadInt32();
     return self;
 }