См. определение в файле ItemBase.c строка 2903
2904 {
2905
2906 super.DeSerializeNumericalVars(floats);
2907
2908
2909 int index = 0;
2910 int mask =
Math.
Round(floats.Get(index));
2911
2912 index++;
2913
2915 {
2917 {
2919 }
2920 else
2921 {
2922 float quantity = floats.Get(index);
2924 }
2925 index++;
2926 }
2927
2929 {
2930 float wet = floats.Get(index);
2932 index++;
2933 }
2934
2936 {
2937 int liquidtype =
Math.
Round(floats.Get(index));
2939 index++;
2940 }
2941
2943 {
2945 index++;
2947 index++;
2949 index++;
2951 index++;
2952 }
2953
2955 {
2956 int cleanness =
Math.
Round(floats.Get(index));
2958 index++;
2959 }
2960 }
override void SetQuantity()
override void SetStoreLoadedQuantity(float value)
override void SetCleanness(int value, bool allow_client=false)
override void SetWet(float value, bool allow_client=false)
override void SetLiquidType(int value, bool allow_client=false)
const int VARIABLE_LIQUIDTYPE
const int VARIABLE_CLEANNESS
const int VARIABLE_QUANTITY
static proto float Round(float f)
Returns mathematical round of value.
Перекрестные ссылки m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, m_ColorComponentR, m_IsStoreLoad, Math::Round(), SetCleanness(), SetLiquidType(), SetQuantity(), SetStoreLoadedQuantity(), SetWet(), VARIABLE_CLEANNESS, VARIABLE_COLOR, VARIABLE_LIQUIDTYPE, VARIABLE_QUANTITY и VARIABLE_WET.
Используется в Entity::TransferVariablesFloat().