128 {
129 int count;
130 if (version >= 137)
131 {
133 }
134 else
135 {
136 if (!ctx.
Read(count))
137 return false;
138 }
139
140
141 for (int i = 0; i < count; ++i)
142 {
143 int agentId;
144 if (!ctx.
Read(agentId))
145 return false;
146
147 int agentCount;
148 if (!ctx.
Read(agentCount))
149 return false;
150
151 if (version >= 137)
152 {
153 float agentTemporaryResistanceTime;
154 if (!ctx.
Read(agentTemporaryResistanceTime))
155 return false;
156
158 }
159
161 }
162
163 return true;
164 }
void SetTemporaryResistance(int agentId, float time)
PluginTransmissionAgents m_PluginTransmissionAgents
void SetAgentCount(int agent_id, float count)
proto bool Read(void value_in)