C# Class GameBase.Core.BaseFunc

Datei anzeigen Open project: dream-young-soul/soul

Public Methods

Method Description
ExchangeLongBits ( ulong nData, int nBits ) : uint
ExchangeShortBits ( uint nData, int nBits ) : uint
HiWord ( int v ) : short
LoWord ( int v ) : short
MakeLong ( int lo, int hi ) : int

Method Details

ExchangeLongBits() public static method

public static ExchangeLongBits ( ulong nData, int nBits ) : uint
nData ulong
nBits int
return uint

ExchangeShortBits() public static method

public static ExchangeShortBits ( uint nData, int nBits ) : uint
nData uint
nBits int
return uint

HiWord() public static method

public static HiWord ( int v ) : short
v int
return short

LoWord() public static method

public static LoWord ( int v ) : short
v int
return short

MakeLong() public static method

public static MakeLong ( int lo, int hi ) : int
lo int
hi int
return int