175 {
176 PluginDeveloperSync developerSync = PluginDeveloperSync.Cast(
GetPlugin(PluginDeveloperSync));
177
178
180
181
182 int agentsCount = developerSync.m_PlayerAgentsSynced.Count();
183 if (agentsCount > 0)
184 {
186 {
187 AddAgent(agent.GetName(), agent.GetValue(), agent.GetID(), agent.GetTemporaryResistanceTime());
188 }
189 }
190 }
void AddAgent(string title, string value, int id, float temporaryResistance)
PluginBase GetPlugin(typename plugin_type)
void SyncedValueAgent(string name, string value, int id, float temporaryResistance)