コード例 #1
0
ファイル: test.pb.go プロジェクト: Huangyan9188/gogoprotobuf
func init() {
	proto.RegisterEnum("my.test.HatType", HatType_name, HatType_value)
	proto.RegisterEnum("my.test.Days", Days_name, Days_value)
	proto.RegisterEnum("my.test.Request_Color", Request_Color_name, Request_Color_value)
	proto.RegisterEnum("my.test.Reply_Entry_Game", Reply_Entry_Game_name, Reply_Entry_Game_value)
	proto.RegisterExtension(E_ReplyExtensions_Time)
	proto.RegisterExtension(E_Tag)
}
コード例 #2
0
ファイル: job.pb.go プロジェクト: ryansb/godu
func init() {
	proto.RegisterEnum("backend.FrequencyMsg_DAYS", FrequencyMsg_DAYS_name, FrequencyMsg_DAYS_value)
}
コード例 #3
0
ファイル: game_state.pb.go プロジェクト: mukta3396/abalone
func init() {
	proto.RegisterEnum("game.state.pb.Player", Player_name, Player_value)
}
コード例 #4
0
func init() {
	proto.RegisterEnum("dota.EDotaClientMessages", EDotaClientMessages_name, EDotaClientMessages_value)
}
コード例 #5
0
ファイル: message.pb.go プロジェクト: vito/warden-docker
func init() {
	proto.RegisterEnum("warden.Message_Type", Message_Type_name, Message_Type_value)
}
コード例 #6
0
ファイル: http.pb.go プロジェクト: johannespetzold/gorouter
func init() {
	proto.RegisterEnum("events.PeerType", PeerType_name, PeerType_value)
	proto.RegisterEnum("events.Method", Method_name, Method_value)
}
コード例 #7
0
ファイル: descriptor.pb.go プロジェクト: raceli/gogoprotobuf
func init() {
	proto.RegisterEnum("google.protobuf.FieldDescriptorProto_Type", FieldDescriptorProto_Type_name, FieldDescriptorProto_Type_value)
	proto.RegisterEnum("google.protobuf.FieldDescriptorProto_Label", FieldDescriptorProto_Label_name, FieldDescriptorProto_Label_value)
	proto.RegisterEnum("google.protobuf.FileOptions_OptimizeMode", FileOptions_OptimizeMode_name, FileOptions_OptimizeMode_value)
	proto.RegisterEnum("google.protobuf.FieldOptions_CType", FieldOptions_CType_name, FieldOptions_CType_value)
}
コード例 #8
0
func init() {
	proto.RegisterEnum("dota.EDOTAChatWheelMessage", EDOTAChatWheelMessage_name, EDOTAChatWheelMessage_value)
	proto.RegisterEnum("dota.EDOTAStatPopupTypes", EDOTAStatPopupTypes_name, EDOTAStatPopupTypes_value)
}
コード例 #9
0
ファイル: gcsystemmsgs.pb.go プロジェクト: NicoAriel/yasha
func init() {
	proto.RegisterEnum("dota.EGCSystemMsg", EGCSystemMsg_name, EGCSystemMsg_value)
	proto.RegisterEnum("dota.ESOMsg", ESOMsg_name, ESOMsg_value)
	proto.RegisterEnum("dota.EGCBaseClientMsg", EGCBaseClientMsg_name, EGCBaseClientMsg_value)
	proto.RegisterEnum("dota.EGCToGCMsg", EGCToGCMsg_name, EGCToGCMsg_value)
}
コード例 #10
0
ファイル: player_action.pb.go プロジェクト: frustra/fracture
func init() {
	proto.RegisterEnum("protobuf.PlayerAction_Action", PlayerAction_Action_name, PlayerAction_Action_value)
}
コード例 #11
0
func init() {
	proto.RegisterEnum("dota.EDotaBroadcastMessages", EDotaBroadcastMessages_name, EDotaBroadcastMessages_value)
}
コード例 #12
0
func init() {
	proto.RegisterEnum("warden.ProcessPayload_Source", ProcessPayload_Source_name, ProcessPayload_Source_value)
}
コード例 #13
0
func init() {
	proto.RegisterEnum("events.PeerType", PeerType_name, PeerType_value)
	proto.RegisterEnum("events.HttpStart_Method", HttpStart_Method_name, HttpStart_Method_value)
}
コード例 #14
0
func init() {
	proto.RegisterEnum("dota.ENetworkDisconnectionReason", ENetworkDisconnectionReason_name, ENetworkDisconnectionReason_value)
	proto.RegisterExtension(E_NetworkConnectionToken)
}
コード例 #15
0
func init() {
	proto.RegisterEnum("enumstringer.TheTestEnum", TheTestEnum_name, TheTestEnum_value)
}
コード例 #16
0
func init() {
	proto.RegisterEnum("dota.PartnerAccountType", PartnerAccountType_name, PartnerAccountType_value)
	proto.RegisterEnum("dota.GCConnectionStatus", GCConnectionStatus_name, GCConnectionStatus_value)
}
コード例 #17
0
func init() {
	proto.RegisterEnum("warden.CreateRequest_BindMount_Mode", CreateRequest_BindMount_Mode_name, CreateRequest_BindMount_Mode_value)
}
コード例 #18
0
ファイル: message.pb.go プロジェクト: ruiaylin/sqltrack
func init() {
	proto.RegisterEnum("message.Header_HmacHashFunction", Header_HmacHashFunction_name, Header_HmacHashFunction_value)
	proto.RegisterEnum("message.Field_ValueType", Field_ValueType_name, Field_ValueType_value)
}
コード例 #19
0
func init() {
	proto.RegisterEnum("events.Envelope_EventType", Envelope_EventType_name, Envelope_EventType_value)
}
コード例 #20
0
func init() {
	proto.RegisterEnum("dota.SIGNONSTATE", SIGNONSTATE_name, SIGNONSTATE_value)
}
コード例 #21
0
ファイル: raft.pb.go プロジェクト: jhadvig/origin
func init() {
	proto.RegisterEnum("raftpb.EntryType", EntryType_name, EntryType_value)
	proto.RegisterEnum("raftpb.MessageType", MessageType_name, MessageType_value)
	proto.RegisterEnum("raftpb.ConfChangeType", ConfChangeType_name, ConfChangeType_value)
}
コード例 #22
0
ファイル: log_message.pb.go プロジェクト: GABONIA/cli
func init() {
	proto.RegisterEnum("logmessage.LogMessage_MessageType", LogMessage_MessageType_name, LogMessage_MessageType_value)
}
コード例 #23
0
ファイル: demo.pb.go プロジェクト: NicoAriel/yasha
func init() {
	proto.RegisterEnum("dota.EDemoCommands", EDemoCommands_name, EDemoCommands_value)
}
コード例 #24
0
ファイル: dota_modifiers.pb.go プロジェクト: NicoAriel/yasha
func init() {
	proto.RegisterEnum("dota.DOTA_MODIFIER_ENTRY_TYPE", DOTA_MODIFIER_ENTRY_TYPE_name, DOTA_MODIFIER_ENTRY_TYPE_value)
}
コード例 #25
0
ファイル: cast_channel.pb.go プロジェクト: Lafriks/go-castv2
func init() {
	proto.RegisterEnum("api.CastMessage_ProtocolVersion", CastMessage_ProtocolVersion_name, CastMessage_ProtocolVersion_value)
	proto.RegisterEnum("api.CastMessage_PayloadType", CastMessage_PayloadType_name, CastMessage_PayloadType_value)
	proto.RegisterEnum("api.AuthError_ErrorType", AuthError_ErrorType_name, AuthError_ErrorType_value)
}
コード例 #26
0
ファイル: log.pb.go プロジェクト: johannespetzold/gorouter
func init() {
	proto.RegisterEnum("events.LogMessage_MessageType", LogMessage_MessageType_name, LogMessage_MessageType_value)
}
コード例 #27
0
ファイル: usermessages.pb.go プロジェクト: NicoAriel/yasha
func init() {
	proto.RegisterEnum("dota.EBaseUserMessages", EBaseUserMessages_name, EBaseUserMessages_value)
}