internal SQSMessageListener(string id, string queueName, string sqsUrl, ActionInputCallback callbackObj) { this.IdentityPoolId = id; this.queueName = queueName; this.queueUrl = sqsUrl; this.callback = callbackObj; }
// Bind a delegate to a named input action. // Action names are defined in the Editor, in the Input section of Edit->Project Settings... public void BindAction(string actionName, InputEventType inputEventType, ActionInputCallback callback) { if (IsDestroyedOrPendingKill) { throw new UnrealObjectDestroyedException("Trying to bind input action on destroyed input component"); } if (null == callback) { throw new ArgumentNullException("callback"); } UnrealObject targetObj = callback.Target as UnrealObject; RegisterActionInputCallback(NativeObject, targetObj != null ? targetObj.NativeObject : IntPtr.Zero, actionName, inputEventType, callback); }
private extern static void RegisterActionInputCallback(IntPtr nativeComponentPointer, IntPtr nativeTargetObjectPointer, string actionName, InputEventType inputEventType, ActionInputCallback callback);