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)
	{
		ClearFogList(ref State.fogImagesDeepSea);
	}
	Interface.CallHook("OnFogOfWarCleared", this, mainland, deepSea);
	DirtyPlayerState();
	SendFogImagesToClient();
	void ClearFogList(ref List<uint> fog)
	{
		if (fog == null || fog.Count != 16)
//---

Released under the MIT License.