Inheritance: BioVersionedNativeObject
Exemplo n.º 1
0
            public void Write(BioQuestPlotItem questPlotItem)
            {
                if (questPlotItem == null)
                {
                    throw new ArgumentNullException(nameof(questPlotItem));
                }

                Write(questPlotItem.InstanceVersion);
                Write(questPlotItem.Name);
                Write(questPlotItem.IconIndex);
                Write(questPlotItem.Conditional);
                Write(questPlotItem.State);
                Write(questPlotItem.TargetItems);
            }
Exemplo n.º 2
0
            public BioQuestPlotItem ReadQuestPlotItem()
            {
                var plotItem = new BioQuestPlotItem
                {
                    InstanceVersion = ReadInt32(),
                    Name            = ReadInt32(),
                    IconIndex       = ReadInt32(),
                    Conditional     = ReadInt32(),
                    State           = ReadInt32(),
                    TargetItems     = ReadInt32()
                };

                return(plotItem);
            }
Exemplo n.º 3
0
			public void Write(BioQuestPlotItem questPlotItem)
			{
				if (questPlotItem == null)
				{
					throw new ArgumentNullException(nameof(questPlotItem));
				}

				Write(questPlotItem.InstanceVersion);
				Write(questPlotItem.Name);
				Write(questPlotItem.IconIndex);
				Write(questPlotItem.Conditional);
				Write(questPlotItem.State);
				Write(questPlotItem.TargetItems);
			}
Exemplo n.º 4
0
			public BioQuestPlotItem ReadQuestPlotItem()
			{
				var plotItem = new BioQuestPlotItem
				{
					InstanceVersion = ReadInt32(),
					Name = ReadInt32(),
					IconIndex = ReadInt32(),
					Conditional = ReadInt32(),
					State = ReadInt32(),
					TargetItems = ReadInt32()
				};

				return plotItem;
			}