static int OnFriendOperationResp(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); FriendData obj = (FriendData)LuaScriptMgr.GetNetObjectSelf(L, 1, "FriendData"); fogs.proto.msg.FriendOperationResp arg0 = (fogs.proto.msg.FriendOperationResp)LuaScriptMgr.GetNetObject(L, 2, typeof(fogs.proto.msg.FriendOperationResp)); obj.OnFriendOperationResp(arg0); return(0); }