Explained GetRoot<Monster> vs GetMonster.

Change-Id: Ic302096c07551b5c1aff0b261a329c46964cf337
parent 69776b9e
...@@ -1384,6 +1384,8 @@ won't work** ...@@ -1384,6 +1384,8 @@ won't work**
// `monster` is of type `Monster *`. // `monster` is of type `Monster *`.
// Note: root object pointers are NOT the same as `buffer_pointer`. // Note: root object pointers are NOT the same as `buffer_pointer`.
// `GetMonster` is a convenience function that calls `GetRoot<Monster>`,
// the latter is also available for non-root types.
~~~ ~~~
</div> </div>
<div class="language-java"> <div class="language-java">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment