rott/kf_sources/COREAPI/Classes/TWord.uc
2026-07-14 20:27:09 +07:00

10 lines
222 B
Ucode

class TWord extends Object abstract;
static final function int GetValue(byte A, byte B) {
return B << 8 | A;
}
static final function SetValue(int Value, out byte A, out byte B) {
A = Value & 0xFF;
B = Value >> 8;
}