mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 08:22:00 +00:00
- fix CSharp comments generation - fix Python comments generation - fix Lua comments generation - fix PHP comments generation - fix Dart comments generation - add brief description of Color enum - add multi-line comments to the Monster:Color
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
bc7ede8fb3
commit
95004218f7
@@ -25,20 +25,42 @@ MyGame.Example2 = MyGame.Example2 || {};
|
||||
MyGame.OtherNameSpace = MyGame.OtherNameSpace || {};
|
||||
|
||||
/**
|
||||
* Composite components of Monster color.
|
||||
*
|
||||
* @enum {number}
|
||||
*/
|
||||
MyGame.Example.Color = {
|
||||
Red: 1,
|
||||
|
||||
/**
|
||||
* \brief color Green
|
||||
* Green is bit_flag with value (1u << 1)
|
||||
*/
|
||||
Green: 2,
|
||||
|
||||
/**
|
||||
* \brief color Blue (1u << 3)
|
||||
*/
|
||||
Blue: 8
|
||||
};
|
||||
|
||||
/**
|
||||
* Composite components of Monster color.
|
||||
*
|
||||
* @enum {string}
|
||||
*/
|
||||
MyGame.Example.ColorName = {
|
||||
1: 'Red',
|
||||
|
||||
/**
|
||||
* \brief color Green
|
||||
* Green is bit_flag with value (1u << 1)
|
||||
*/
|
||||
2: 'Green',
|
||||
|
||||
/**
|
||||
* \brief color Blue (1u << 3)
|
||||
*/
|
||||
8: 'Blue'
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user