コード例 #1
0
 public void Read(byte[] bytes)
 {
     using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)){
         OldAmountOwner = (VMTransferFundsOldOwner)io.ReadByte();
         AmountOwner    = (VMVariableScope)io.ReadByte();
         AmountData     = io.ReadUInt16();
         Flags          = (VMTransferFundsFlags)io.ReadByte();
         io.ReadByte();
         ExpenseType  = (VMTransferFundsExpenseType)io.ReadByte();
         TransferType = (VMTransferFundsType)io.ReadByte();
     }
 }
コード例 #2
0
        public void Read(byte[] bytes)
        {
            using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)){
                OldAmmountOwner = (VMTransferFundsOldOwner)io.ReadByte();
                AmmountOwner    = (VMVariableScope)io.ReadByte();

                //TODO: Not certain of the boundaries for the next 2 fields
                Flags        = (VMTransferFundsFlags)io.ReadUInt32();
                ExpenseType  = (VMTransferFundsExpenseType)io.ReadByte();
                TransferType = (VMTransferFundsType)io.ReadByte();
            }
        }
コード例 #3
0
        public void Read(byte[] bytes)
        {
            using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)){
                OldAmmountOwner = (VMTransferFundsOldOwner)io.ReadByte();
                AmmountOwner = (VMVariableScope)io.ReadByte();

                //TODO: Not certain of the boundaries for the next 2 fields
                Flags = (VMTransferFundsFlags)io.ReadUInt32();
                ExpenseType = (VMTransferFundsExpenseType)io.ReadByte();
                TransferType = (VMTransferFundsType)io.ReadByte();
            }
        }
コード例 #4
0
ファイル: VMTransferFunds.cs プロジェクト: RHY3756547/FreeSO
 public void Read(byte[] bytes)
 {
     using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)){
         OldAmountOwner = (VMTransferFundsOldOwner)io.ReadByte();
         AmountOwner = (VMVariableScope)io.ReadByte();
         AmountData = io.ReadUInt16();
         Flags = (VMTransferFundsFlags)io.ReadByte();
         io.ReadByte();
         ExpenseType = (VMTransferFundsExpenseType)io.ReadByte();
         TransferType = (VMTransferFundsType)io.ReadByte();
     }
 }