struct Apps::CallBack
- Apps::CallBack
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/CATS_CallBack.pb.crConstant Summary
-
FIELDS =
{1 => {name: :message_type, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :callbacks, pb_type: CallBackInfo, crystal_type: CallBackInfo, cast_type: Array(CallBackInfo)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :get_callbacks, pb_type: GetCallBacks, crystal_type: GetCallBacks, cast_type: GetCallBacks?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :update_callback, pb_type: UpdateCallBack, crystal_type: UpdateCallBack, cast_type: Array(UpdateCallBack)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :get_agent_list, pb_type: GetAgentList, crystal_type: GetAgentList, cast_type: GetAgentList?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :agent_list, pb_type: AgentInfo, crystal_type: AgentInfo, cast_type: Array(AgentInfo)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :create_callback, pb_type: CreateCallBack, crystal_type: CreateCallBack, cast_type: CreateCallBack?, native: false, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :start_callback, pb_type: StartCallBack, crystal_type: StartCallBack, cast_type: StartCallBack?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :success_question, pb_type: ShowCallBackSuccessQuestion, crystal_type: ShowCallBackSuccessQuestion, cast_type: ShowCallBackSuccessQuestion?, native: false, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :create_script, pb_type: DataScript, crystal_type: DataScript, cast_type: DataScript?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(message_type : Int32, callbacks : Array(CallBackInfo) | Nil = nil, get_callbacks : GetCallBacks | Nil = nil, update_callback : Array(UpdateCallBack) | Nil = nil, get_agent_list : GetAgentList | Nil = nil, agent_list : Array(AgentInfo) | Nil = nil, create_callback : CreateCallBack | Nil = nil, start_callback : StartCallBack | Nil = nil, success_question : ShowCallBackSuccessQuestion | Nil = nil, create_script : DataScript | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #agent_list : Array(AgentInfo) | Nil
- #agent_list=(agent_list : Array(AgentInfo) | Nil)
- #callbacks : Array(CallBackInfo) | Nil
- #callbacks=(callbacks : Array(CallBackInfo) | Nil)
- #create_callback : CreateCallBack | Nil
- #create_callback=(create_callback : CreateCallBack | Nil)
- #create_script : DataScript | Nil
- #create_script=(create_script : DataScript | Nil)
- #get_agent_list : GetAgentList | Nil
- #get_agent_list=(get_agent_list : GetAgentList | Nil)
- #get_callbacks : GetCallBacks | Nil
- #get_callbacks=(get_callbacks : GetCallBacks | Nil)
- #message_type : Int32
- #message_type=(message_type : Int32)
- #start_callback : StartCallBack | Nil
- #start_callback=(start_callback : StartCallBack | Nil)
- #success_question : ShowCallBackSuccessQuestion | Nil
- #success_question=(success_question : ShowCallBackSuccessQuestion | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #update_callback : Array(UpdateCallBack) | Nil
- #update_callback=(update_callback : Array(UpdateCallBack) | Nil)
Constructor Detail
def self.new(message_type : Int32, callbacks : Array(CallBackInfo) | Nil = nil, get_callbacks : GetCallBacks | Nil = nil, update_callback : Array(UpdateCallBack) | Nil = nil, get_agent_list : GetAgentList | Nil = nil, agent_list : Array(AgentInfo) | Nil = nil, create_callback : CreateCallBack | Nil = nil, start_callback : StartCallBack | Nil = nil, success_question : ShowCallBackSuccessQuestion | Nil = nil, create_script : DataScript | Nil = nil)
#