コード例 #1
0
ファイル: ItemData.cs プロジェクト: broxen/UOStudio
 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;
 }
コード例 #2
0
ファイル: LandData.cs プロジェクト: broxen/UOStudio
 public unsafe LandData(NewLandTileDataMul mulStruct)
 {
     TextureID = mulStruct.TexID;
     Flags     = (TileFlag)mulStruct.Flags;
     Name      = TileDataProvider.ReadNameString(mulStruct.Name);
 }