Sc2ApiSerializable<SC2APIProtocol.Sc2Api.ActionChat.Channel>
, java.io.Serializable
, java.lang.Comparable<ActionChat.Channel>
public static enum ActionChat.Channel extends java.lang.Enum<ActionChat.Channel> implements Sc2ApiSerializable<SC2APIProtocol.Sc2Api.ActionChat.Channel>
Modifier and Type | Method | Description |
---|---|---|
static ActionChat.Channel |
from(SC2APIProtocol.Sc2Api.ActionChat.Channel sc2ApiActionChatChannel) |
|
SC2APIProtocol.Sc2Api.ActionChat.Channel |
toSc2Api() |
|
static ActionChat.Channel |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ActionChat.Channel[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionChat.Channel BROADCAST
public static final ActionChat.Channel TEAM
public static ActionChat.Channel[] values()
for (ActionChat.Channel c : ActionChat.Channel.values()) System.out.println(c);
public static ActionChat.Channel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ActionChat.Channel from(SC2APIProtocol.Sc2Api.ActionChat.Channel sc2ApiActionChatChannel)
public SC2APIProtocol.Sc2Api.ActionChat.Channel toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<SC2APIProtocol.Sc2Api.ActionChat.Channel>
Copyright © 2017–2018 Ocraft Project. All rights reserved.