plugin

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelChangeEventWrapper

type ChannelChangeEventWrapper struct {
	Client  *gumble.Client
	Type    int
	Channel *gumble.Channel

	IsCreated           bool
	IsRemoved           bool
	IsMoved             bool
	IsChangeName        bool
	IsChangeDescription bool
	IsChangePosition    bool
}

type ChannelsWrapper

type ChannelsWrapper map[string]*gumble.Channel

func NewChannelsWrapper

func NewChannelsWrapper(channels gumble.Channels) ChannelsWrapper

func (ChannelsWrapper) Add

func (cw ChannelsWrapper) Add(channel *gumble.Channel)

func (ChannelsWrapper) Remove

func (cw ChannelsWrapper) Remove(channel *gumble.Channel)

type DisconnectEventWrapper

type DisconnectEventWrapper struct {
	Client *gumble.Client
	Type   int

	String string

	IsError bool
	IsUser  bool

	IsOther             bool
	IsVersion           bool
	IsUserName          bool
	IsUserCredentials   bool
	IsServerPassword    bool
	IsUsernameInUse     bool
	IsServerFull        bool
	IsNoCertificate     bool
	IsAuthenticatorFail bool
}

type PermissionDeniedEventWrapper

type PermissionDeniedEventWrapper struct {
	Client  *gumble.Client
	Type    int
	Channel *gumble.Channel
	User    *gumble.User

	Permission int
	String     string

	IsOther              bool
	IsPermission         bool
	IsSuperUser          bool
	IsInvalidChannelName bool
	IsTextTooLong        bool
	IsTemporaryChannel   bool
	IsMissingCertificate bool
	IsInvalidUserName    bool
	IsChannelFull        bool
	IsNestingLimit       bool
}

type TextMessageEventWrapper

type TextMessageEventWrapper struct {
	*gumble.TextMessageEvent
}

func (*TextMessageEventWrapper) PlainText

func (t *TextMessageEventWrapper) PlainText() string

type UserChangeEventWrapper

type UserChangeEventWrapper struct {
	Client *gumble.Client
	Type   int
	User   *gumble.User
	Actor  *gumble.User

	String string

	IsConnected             bool
	IsDisconnected          bool
	IsKicked                bool
	IsBanned                bool
	IsRegistered            bool
	IsUnregistered          bool
	IsChangeName            bool
	IsChangeChannel         bool
	IsChangeComment         bool
	IsChangeAudio           bool
	IsChangeTexture         bool
	IsChangePrioritySpeaker bool
	IsChangeRecording       bool
}

type UsersWrapper

type UsersWrapper map[string]*gumble.User

func NewUsersWrapper

func NewUsersWrapper(users gumble.Users) UsersWrapper

func (UsersWrapper) Add

func (uw UsersWrapper) Add(user *gumble.User)

func (UsersWrapper) Remove

func (uw UsersWrapper) Remove(user *gumble.User)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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