IOnEntitySaved
WARNING
This is an internal hook and will not be called in plugins. See Internal Hooks for more information.
Usage
- No return behavior
Example Autogenerated
csharp
private void IOnEntitySaved( BaseNetworkable instance, SaveInfo saveInfo )
{
Puts( "IOnEntitySaved works!" );
}
Location
- BaseNetworkable::ToStream(System.IO.Stream stream, BaseNetworkable/SaveInfo saveInfo)
csharp
//---
}
if (saveInfo.msg.baseNetworkable == null)
{
Debug.LogError(((this != null) ? this.ToString() : null) + ": ToStream - no baseNetworkable!?");
}
Interface.CallHook("IOnEntitySaved", this, saveInfo);
saveInfo.msg.ToProto(stream);
this.PostSave(saveInfo);
}
}