예제 #1
0
 public void read(ref BinaryReader br)
 {
     this.path               = RoseFile.ReadZString(ref br);
     this.is_skin            = br.ReadInt16();
     this.alpha_enabled      = br.ReadInt16();
     this.two_sided          = br.ReadInt16();
     this.alpha_test_enabled = br.ReadInt16();
     this.alpha_ref_enabled  = br.ReadInt16();
     this.z_write_enabled    = br.ReadInt16();
     this.z_test_enabled     = br.ReadInt16();
     this.blending_mode      = br.ReadInt16();
     this.specular_enabled   = br.ReadInt16();
     this.alpha              = br.ReadSingle();
     this.glow_type          = br.ReadInt16();
     this.red   = br.ReadSingle();
     this.green = br.ReadSingle();
     this.blue  = br.ReadSingle();
 }
예제 #2
0
 public void read(ref BinaryReader br)
 {
     this.path = RoseFile.ReadZString(ref br);
 }