Skip to content

OnFogOfWarCleared

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnFogOfWarCleared( BasePlayer instance, bool mainland, bool deepSea )
{
    Puts( "OnFogOfWarCleared works!" );
}

Location

  • BasePlayer::ServerClearFog(bool mainland, bool deepSea)
csharp
//---
	}
	if (deepSea)
	{
		this.<ServerClearFog>g__ClearFogList|126_0(ref this.State.fogImagesDeepSea);
	}
	Interface.CallHook("OnFogOfWarCleared", this, mainland, deepSea);
	this.DirtyPlayerState();
	this.SendFogImagesToClient();
}

Released under the MIT License.