FIELD CHARACTER: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(adding a bit more)
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:FIELD_CHARACTER}}
{{stub}}
{{stub}}
:''Not to be confused with [[:char]]<!--
A <code>FIELD_CHARACTER</code> is a networked data type that can store values from 0 to 255 (the same as a '''char''' in C++). It is often treated like an unsigned [[integer]] would, but a ''character'' is only one [[byte]]. As the name implies, it can also be used to store ASCII characters.
-->{{#if: |<!--then:
 
    -->{{#if: |<!--then:-->, [[:{{{2}}}]]<!--
[[Category:Variables]]
                    -->|<!--else:-->&nbsp;or [[:{{{2}}}]].}}<!--
              -->|<!--else:-->.<!--
-->}}<!--
-->{{#if: |<!--then:
    -->{{#if: |<!--then:-->, [[:{{{3}}}]]<!--
                    -->|<!--else:-->, or [[:{{{3}}}]].}}<!--
-->}}<!--
-->{{#if: |<!--then:-->, or [[:{{{4}}}]].}}<!--
-->''
A <code>FIELD_CHARACTER</code> is a data type that can use up to 26 different values. Usually it is treated like an [[integer]] would, but a ''character'' can only be one [[byte]].

Latest revision as of 01:05, 9 April 2023

Stub

This article or section is a stub. You can help by expanding it.

A FIELD_CHARACTER is a networked data type that can store values from 0 to 255 (the same as a char in C++). It is often treated like an unsigned integer would, but a character is only one byte. As the name implies, it can also be used to store ASCII characters.