Skip to content

OnPowergridStageChanged

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnPowergridStageChanged( PowergridManager instance, int num2 )
{
    Puts( "OnPowergridStageChanged works!" );
}

Location

  • PowergridManager::ServerTick()
csharp
//---
				bool b = num2 > 0;
				using (FlagsUpdateScope flagsUpdateScope = StartSetFlags(FlagsUpdateMode.SendNetworkUpdate_Flags))
				{
					flagsUpdateScope.Set(Flags.On, b);
				}
				Interface.CallHook("OnPowergridStageChanged", this, num2);
				stageChangeWorkQueue.RestartWorkQueue();
				int i = 0;
				for (int count = fuseBoxes.Count; i < count; i++)
				{
					fuseBoxes[i].Server_OnPowergridStageChanged();
//---

Released under the MIT License.