mission_and_dialog_editor

package
v0.0.0-...-54eea7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNewUser

func AddNewUser(ws *websocket.Conn, login string, id int)

func Reader

func Reader(ws *websocket.Conn)

Types

type Message

type Message struct {
	Event    string                `json:"event"`
	ID       int                   `json:"id"`
	Dialogs  map[int]dialog.Dialog `json:"dialogs"`
	Dialog   *dialog.Dialog        `json:"dialog"`
	IdPage   int                   `json:"id_page"`
	Fraction string                `json:"fraction"`
	File     string                `json:"file"`
	Name     string                `json:"name"`

	Missions     map[int]*mission.Mission `json:"missions"`
	Mission      *mission.Mission         `json:"mission"`
	Slot         int                      `json:"slot"`
	ItemType     string                   `json:"item_type"`
	ItemID       int                      `json:"item_id"`
	ItemQuantity int                      `json:"item_quantity"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL