日期:2014-05-17 浏览次数:21055 次
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Pack = 1)]
public struct FSYDItems
{
[MarshalAs(UnmanagedType.I4)]
private int _seltime;
[MarshalAs(UnmanagedType.I2)]
private UInt16 _itemtype;
[MarshalAs(UnmanagedType.I4)]
private int _amount;
[MarshalAs(UnmanagedType.R4)]
private float _price;
[MarshalAs(UnmanagedType.R4)]
private float _preprice;
[MarshalAs(UnmanagedType.R4)]
private float _afterprice;
public int SelTime
{
get { return this._seltime; }
set { this._seltime = value; }
}
public UInt16 ItemType
{
get { return this._itemtype; }
set { this._itemtype = value; }
}
public int Amount
{
get { return this._amount; }
set { this._amount = value; }
}
public float Price
{
get { return this._price; }