DR-docs/docs/main/howto/game/命名.md
2023-12-16 23:40:38 +08:00

50 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 关于命名的设计文档
## 命名规则
## 命名空间
- DR: Difficult Rocket
- DR单独的部件、格式、结构的命名空间
- 例子
- `DR:pod-1`
- `DR:solar.expand`
- `DR:wheel.big`
- `DR:planet.smearth`
- `DR:planet.smars`
- SR: SimpleRockets
- SR的原生组件、格式、结构的命名空间(大概不会用多少)
- 例子
- `SR:pod-1`
- `SR:wheel.small`
- 其他:
- 命名规则:
- 可以包含
- `ABC`
- `abc`
- `-` `_`
- `123`
- `从前有座山`
- `Unicode表情`
- 各种中文标点符号
- 中文的啊!
- `` `。` `、` `·`
- `` ``
- `` ``
- `` ``
- `【` `】`
- `《` `》`
- `“` `”`
- `` ``
- 不能以数字开头
- 不能包含
- `.` `/` `:`
- `<` `>`
- `|` `*` `?`
- `"` `'`
- 例子:
- `Simple_Mod`
- `真·简单mod`
- `啊啊啊啊↑↓Jundroo`
- mod添加的部件、格式、结构的命名空间