Ejemplo n.º 1
0
 public unsafe ItemData(NewItemTileDataMul mulStruct)
 {
     Name           = TileDataProvider.ReadNameString(mulStruct.Name);
     Flags          = (TileFlag)mulStruct.Flags;
     Weight         = mulStruct.Weight;
     Quality        = mulStruct.Quality;
     Quantity       = mulStruct.Quantity;
     Value          = mulStruct.Value;
     Height         = mulStruct.Height;
     Animation      = mulStruct.Anim;
     Hue            = mulStruct.Hue;
     StackingOffset = mulStruct.StackingOffset;
     MiscData       = mulStruct.MiscData;
     Unknown2       = mulStruct.Unknown2;
     Unknown3       = mulStruct.Unknown3;
 }
Ejemplo n.º 2
0
 public unsafe LandData(NewLandTileDataMul mulStruct)
 {
     TextureID = mulStruct.TexID;
     Flags     = (TileFlag)mulStruct.Flags;
     Name      = TileDataProvider.ReadNameString(mulStruct.Name);
 }