28 lines
392 B
Go
28 lines
392 B
Go
package npc
|
|
|
|
func NewDataModel(name string) *DataModel {
|
|
return &DataModel{
|
|
Name: name,
|
|
}
|
|
}
|
|
|
|
func (dm *DataModel) AddProtocol(name string) {
|
|
|
|
}
|
|
|
|
func (dm *DataModel) RemoveProtocolByName(name string) {
|
|
|
|
}
|
|
|
|
func (dm *DataModel) RemoveProtocolElement(id uint) {
|
|
|
|
}
|
|
|
|
func (dm *DataModel) NewProtocol(name string) {
|
|
|
|
}
|
|
|
|
func (dm *DataModel) SaveNewProtocol(editorContent ProtocolEditor) {
|
|
|
|
}
|