public LVariable(Game _game, BinaryReader _reader) { this.Name = _game.GetString(_reader.ReadInt32()); this.Scope = (LVariableScope)_reader.ReadInt32(); this.String = _reader.ReadInt32(); this.Count = _reader.ReadInt32(); this.Offset = _reader.ReadInt32(); this.Base = _reader.BaseStream.Position; }
public LVariable(string _name, LVariableScope _type) { this.Name = _name; this.Scope = _type; }