OnFogOfWarImageUpdate
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private object OnFogOfWarImageUpdate( BasePlayer instance, byte b, byte b2, uint num, uint num2, byte[] byte[] )
{
Puts( "OnFogOfWarImageUpdate works!" );
return null;
}Location
- BasePlayer::FogImageUpdate(BaseEntity.RPCMessage msg)
csharp
//---
}
}
if (b != 0 || fogImageList[b2] != num)
{
byte[] array = msg.read.BytesWithSize();
if (array != null && Interface.CallHook("OnFogOfWarImageUpdate", this, b, b2, num, num2, array) == null)
{
FileStorage.server.RemoveEntityNum(net.ID, num2);
uint value = FileStorage.server.Store(array, FileStorage.Type.png, net.ID, num2);
fogImageList[b2] = value;
DirtyPlayerState();
//---