示例#1
0
        public Scaleform(string id, bool instanced = false, ScaleformType type = ScaleformType.Generic)
        {
            if (!this.Load(id, instanced))
            {
                throw new ArgumentException($"No Scaleform movie with ID {id} was found.");
            }

            this._type = type;
        }
示例#2
0
 public Scaleform(int handle, ScaleformType type = ScaleformType.Generic)
 {
     this._handle = handle;
     this._type   = type;
 }