예제 #1
0
파일: LVariable.cs 프로젝트: nommiin/Luna
 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;
 }
예제 #2
0
파일: LVariable.cs 프로젝트: nommiin/Luna
 public LVariable(string _name, LVariableScope _type)
 {
     this.Name  = _name;
     this.Scope = _type;
 }