Skip to main content

ItemContainer.DataLoad

Declaration#

public virtual void DataLoad(Inventory host, Stream stream)

Parameters#

NameDescription
hostInventory hosting this object
streamStream to use

Description#

Load data from a stream

Usage#

using NullSave.GDTK.Inventory;using System.IO;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(ItemContainer target, Inventory other, FileStream stream)    {        target.DataLoad(other, stream);    }
}